Carefully followed the inscructions at: https://github.com/facebook/hhvm/wiki/Building-and-installing-HHVM-on-CentOS-6.6
Get to the very end and it fails. Rather frustrating. Any idea what the problem might be?
-- Found LIBGLOG: /usr/local/lib/libglog.so
-- Could NOT find LIBINOTIFY (missing: LIBINOTIFY_LIBRARY)
-- Could NOT find LIBICONV (missing: LIBICONV_LIBRARY)
-- Performing Test LIBICONV_CONST
-- Performing Test LIBICONV_CONST - Failed
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.23")
-- Found LIBMEMCACHED: /usr/local/lib/libmemcached.so
-- Found PCRE: /usr/lib64/libpcre.so
-- Performing Test SYSTEM_PCRE_HAS_JIT
-- Performing Test SYSTEM_PCRE_HAS_JIT - Failed
-- System PCRE does not have JIT enabled - will use hhvm-third-party/pcre
-- Found libevent: /usr/lib64/libevent.so
-- Looking for evhttp_bind_socket_with_fd
-- Looking for evhttp_bind_socket_with_fd - not found
-- Could NOT find LibUODBC (missing: LIBODBC_LIBRARIES LIBODBC_INCLUDE_DIRS)
-- Found CURL: /usr/lib64/libcurl.so (found version "7.19.7")
-- Looking for curl_multi_select
-- Looking for curl_multi_select - not found
-- Looking for curl_multi_wait
-- Looking for curl_multi_wait - not found
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.7.6")
-- Found LibXslt: /usr/lib64/libxslt.so (found version "1.1.26")
-- Found EXPAT: /usr/lib64/libexpat.so (found version "2.0.1")
-- Using third-party bundled libsqlite3
-- Could NOT find DOUBLE_CONVERSION (missing: DOUBLE_CONVERSION_LIBRARY DOUBLE_CONVERSION_INCLUDE_DIR)
-- Using third-party bundled double-conversion
-- Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR)
-- Using third-party bundled LZ4
-- Could NOT find FastLZ (missing: FASTLZ_LIBRARY FASTLZ_INCLUDE_DIR)
-- Using third-party bundled fastlz
-- Could NOT find LIBZIP (missing: LIBZIP_LIBRARY LIBZIP_INCLUDE_DIR_ZIP LIBZIP_INCLUDE_DIR_ZIPCONF)
-- Using third-party bundled libzip
-- Found ICU header files in /usr/include
-- Found ICU libraries: /usr/lib64/libicuuc.so
-- Performing Test JEMALLOC_VERSION_MINIMUM
-- Performing Test JEMALLOC_VERSION_MINIMUM - Success
-- Found jemalloc: /usr/local/lib/libjemalloc.so
-- Found Intel TBB
CMake Error at CMake/FindMcrypt.cmake:31 (message):
Could NOT find mcrypt library.
Call Stack (most recent call first):
CMake/HPHPFindLibs.cmake:306 (find_package)
CMake/HPHPSetup.cmake:125 (include)
third-party/CMakeLists.txt:18 (include)
-- Configuring incomplete, errors occurred!
See also "/usr/local/hhvm/CMakeFiles/CMakeOutput.log".
See also "/usr/local/hhvm/CMakeFiles/CMakeError.log".
gahoachma#remote [/usr/local/hhvm]# sudo sed -i -e 's/$/..\/..\/..\/lib\/libmemcached.so/g' hphp/hhvm/CMakeFiles/hhvm.dir/link.txt
sed: can't read hphp/hhvm/CMakeFiles/hhvm.dir/link.txt: No such file or directory
gahoachma#remote [/usr/local/hhvm]# sudo sed -i -e 's/$/..\/..\/..\/lib\/libmemcached.so/g' hphp/hhvm/CMakeFiles/hhvm.dir/link.txt
sed: can't read hphp/hhvm/CMakeFiles/hhvm.dir/link.txt: No such file or directory
gahoachma#remote [/usr/local/hhvm]# sudo make
make: *** No targets specified and no makefile found. Stop.
gahoachma#remote [/usr/local/hhvm]# make
make: *** No targets specified and no makefile found. Stop.
gahoachma#remote [/usr/local/hhvm]# hhvm --version
-bash: hhvm: command not found
gahoachma#remote [/usr/local/hhvm]#
Related
i've compiled the azerothcore from source on my aarch64 machine. I am running HestiaCP on it with MariaDB 10.6.8. When starting the authserver i get the message
MySQL client library: 8.0.29
MySQL server ver: 5.5.5-10.6.8-MariaDB-1:10.6.8+maria~focal
Connected to MySQL database at 127.0.0.1
AzerothCore does not support MySQL versions below 5.7 or MariaDB versions below 10.5
DatabasePool Login NOT opened. There were errors opening the MySQL connections. Check your log file for specific errors
I think there is a problem with checking the right DB version. I dont know why it starts with 5.5.5. Is it a linking problem? But i dont see any installed packages older than what is required by the server. Any guess?
CMake Output:
-- CMake version: 3.16.3
-- The CXX compiler identification is Clang 10.0.0
-- The C compiler identification is Clang 10.0.0
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Running cmake hook: AFTER_LOAD_CONF
-- No hooks registered for AFTER_LOAD_CONF
-- Enabled С++20 standard
-- Detected 64-bit platform
-- UNIX: Using jemalloc
-- UNIX: Using default configuration directory
-- UNIX: Using default library directory
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- UNIX: Detected compiler: /usr/bin/clang
-- Clang: Minimum version required is 10.0.0, found 10.0.0 - ok!
-- Performing Test CLANG_HAVE_PROPER_CHARCONV
-- Performing Test CLANG_HAVE_PROPER_CHARCONV - Success
-- Clang: All warnings enabled
-- Running cmake hook: AFTER_LOAD_CMAKE_MODULES
-- No hooks registered for AFTER_LOAD_CMAKE_MODULES
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL library: /usr/lib/aarch64-linux-gnu/libmariadb.so
-- Found MySQL headers: /usr/include/mariadb
-- Found MySQL executable: /usr/bin/mysql
-- Found git binary : /usr/bin/git
* AzerothCore revision : 9673da19470d 2022-07-03 19:50:39 +0000 (master branch)
* AzerothCore buildtype : RelWithDebInfo
* Install core to : /home/ubuntu/azeroth-server
* Install libraries to : /home/ubuntu/azeroth-server/lib
* Install configs to : /home/ubuntu/azeroth-server/etc
* Build applications : Yes (all)
* Build tools : No
* Build with scripts : Yes (static)
* Build with modules : Yes (static)
* Build unit tests : No (default)
* Build core w/PCH : Yes (default)
* Build scripts w/PCH : Yes (default)
* Show all warnings : Yes
* Use coreside debug : No (default)
* Use unix gperftools : No (default)
* Use GIT revision hash : Yes (default)
* Enable vmap DisableMgr checks : Yes (default)
* Show source tree : No (For UNIX default)
-- Performing Test HAVE_NEON
-- Performing Test HAVE_NEON - Success
-- Found Boost: /usr/lib/aarch64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.67") found components: system filesystem program_options iostreams regex
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Success
-- Looking for strtod_l
-- Looking for strtod_l - not found
-- Looking for MADV_FREE
-- Looking for MADV_FREE - found
-- Found OpenSSL: /usr/lib/aarch64-linux-gnu/libssl.so;/usr/lib/aarch64-linux-gnu/libcrypto.so
-- Looking for C++ include filesystem
-- Looking for C++ include filesystem - found
-- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED
-- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib/aarch64-linux-gnu/libz.so (found version "1.2.11")
-- Found Readline library: /usr/lib/aarch64-linux-gnu/libreadline.so
-- Include dir is: /usr/include
-- Running cmake hook: BEFORE_SRC_LOAD
-- No hooks registered for BEFORE_SRC_LOAD
* Apps build list (all):
|
+- apps
| +- authserver
| +- worldserver
|
-- Running cmake hook: BEFORE_GAME_LIBRARY
-- No hooks registered for BEFORE_GAME_LIBRARY
-- Running cmake hook: AFTER_GAME_LIBRARY
-- No hooks registered for AFTER_GAME_LIBRARY
-- Running cmake hook: BEFORE_SCRIPTS_LIBRARY
-- No hooks registered for BEFORE_SCRIPTS_LIBRARY
* Script configuration (static):
|
+- worldserver
| +- Commands
| +- Custom
| +- EasternKingdoms
| +- Events
| +- Kalimdor
| +- Northrend
| +- OutdoorPvP
| +- Outland
| +- Pet
| +- Spells
| +- World
|
* Modules configuration (static):
|
-- * Modules config list:
|
-- Running cmake hook: AFTER_SRC_LOAD
-- No hooks registered for AFTER_SRC_LOAD
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TOOLS
-- Build files have been written to: /home/ubuntu/src/azerothcore/build
mysql -V / mariadb -V output:
mysql Ver 15.1 Distrib 10.6.8-MariaDB, for debian-linux-gnu (aarch64) using readline 5.2
installed packages with mysql tag:
libmysqlclient21/focal-updates,focal-security,now 8.0.29-0ubuntu0.20.04.3 arm64 [installed,automatic]
mysql-common/unknown,now 1:10.6.8+maria~focal all [installed,automatic]
php8.0-mysql/focal,now 1:8.0.20-2+ubuntu20.04.1+deb.sury.org+1 arm64 [installed]
installed packages with mariadb tag:
libdbd-mariadb-perl/focal,now 1.11-3ubuntu2 arm64 [installed,automatic]
libmariadb-dev-compat/unknown,now 1:10.6.8+maria~focal arm64 [installed]
libmariadb-dev/unknown,now 1:10.6.8+maria~focal arm64 [installed]
libmariadb3/unknown,now 1:10.6.8+maria~focal arm64 [installed,automatic]
mariadb-client-10.6/unknown,now 1:10.6.8+maria~focal arm64 [installed,automatic]
mariadb-client-core-10.6/unknown,now 1:10.6.8+maria~focal arm64 [installed,automatic]
mariadb-client/unknown,now 1:10.6.8+maria~focal all [installed]
mariadb-common/unknown,now 1:10.6.8+maria~focal all [installed]
mariadb-server-10.6/unknown,now 1:10.6.8+maria~focal arm64 [installed,automatic]
mariadb-server-core-10.6/unknown,now 1:10.6.8+maria~focal arm64 [installed,automatic]
mariadb-server/unknown,now 1:10.6.8+maria~focal all [installed]
I pulled down the qtpdf repository to check out and play with from here:
http://code.qt.io/cgit/qt-labs/qtpdf.git
As soon as I open the qtpdf.pro file, I get the following general messages:
Cannot read C:/.../build-qpdf-Desktop_Qt_5_10_0_MinGW_32bit-Debug/src/lib/pdfium.pri: No such file or directory
Cannot read C:/.../build-qpdf-Desktop_Qt_5_10_0_MinGW_32bit-Debug/src/lib/freetype.pri: No such file or directory
Project MESSAGE: perl -w C:\Qt\5.10.0\mingw53_32\bin\syncqt.pl -module QtPdf -version 5.9.0 -outdir "C:/.../build-qpdf-Desktop_Qt_5_10_0_MinGW_32bit-Debug" C:/.../qtpdf
Project MESSAGE: perl -w C:\Qt\5.10.0\mingw53_32\bin\syncqt.pl -module QtPdfWidgets -version 5.9.0 -outdir "C:/.../build-qpdf-Desktop_Qt_5_10_0_MinGW_32bit-Debug" C:/.../qtpdf
Project ERROR: Unknown module(s) in QT: pdfwidgets
Project ERROR: Unknown module(s) in QT: pdf
Also when running "rebuild all" I get the following error message:
16:15:33: Starting: "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" qmake_all
"Some of the required modules (!qnx:!uikit:!winphone:!winrt:!win32-g++:!integrity) are not available."
"Skipped."
I've narrowed this down to !win32-g++ - If I remove that, it won't throw that error, but I don't understand what exactly this error means - I have googled around a lot but couldn't find anything that seemed reminiscent of this particular problem.
I managed to build qtpdf with mingw provided with Qt5.11.2.
Comment out "requires(!qnx:!uikit:!winphone:!winrt:!win32-g++:!integrity)" from pdf.pro
Apply the patch found here : https://github.com/Alexpux/MINGW-packages/blob/master/mingw-w64-pdfium-git/pdfium-2729.patch (link dead in 2021, no backup sorry)
Add -luuid after "win32: LIBS_PRIVATE += -ladvapi32 -lgdi32 -luser32" in lib.pro
I don't know why, probably because I am not an expert, but mingw doesn't generate correctly the folder "include". As a workaround I use the one generated under linux. For some reason, mingw generate only QPdfDepends and QPdfWidgetsDepends, none of the needed headers are generated. I didn't dig because I am lazy.
Hope it helps !
# Upstream PDFium has not been ported to various platforms yet.
requires(!qnx:!uikit:!winphone:!winrt:!win32-g++:!integrity)
The module is not working on win32-g++ (mingw32).
Just did a chef-solo run. I have my cookbook defined in ~/chef-repo/cookbooks/my-cookbook, and all the dependencies were installed by berkshelf in ~/.berkshelf/cookbooks
chef-solo -c solo.rb -j params.json
I keep running into an error from ohai. I gather that ohai is a library that provides environment configurations, and my nginx-2.7.6 cookbook relies on ohai (2.0.1).
[2015-06-25T15:19:08-04:00] DEBUG: RuntimeError: remote_directory[/etc/chef/ohai_plugins for cookbook ohai] (ohai::default line 33) had an error: RuntimeError: cookbook_file[/etc/chef/ohai_plugins/README] (dynamically defined) had an error: RuntimeError: File files/default/plugins/README does not exist for cookbook ohai
I've looked into /etc/chef/ohai and it's right that there's no README there (that folder is empty, in fact). Not sure what it's looking for or how to solve this error.
Thanks!
According to ohai's supermarket readme it must be the first item on your runlist
https://supermarket.chef.io/cookbooks/ohai#readme
Give that a shot and see if it works.
set -e pipefail; sbt -Dsbt.log.noformat=true -DchiselVersion="latest.release" "run Parity --genHarness --compile --test --backend c --vcd " | tee Parity.out
Getting org.scala-sbt sbt 0.13.8 ...
problems summary ::
WARNINGS
module not found: org.scala-sbt#sbt;0.13.8
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-sbt#sbt;0.13.8: not found
::::::::::::::::::::::::::::::::::::::::::::::
ERRORS
Server access Error: Connection refused url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.8/ivys/ivy.xml
Server access Error: Connection refused url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.8/sbt-0.13.8.pom
Server access Error: Connection refused url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.8/sbt-0.13.8.jar
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-sbt#sbt;0.13.8: not found
Error during sbt execution: Error retrieving required libraries
Error: Could not retrieve sbt 0.13.8
this might be proxy issue.
Edit $SBT_HOME/conf directory/sbtconfig.txt file and add following entries:
-Dhttp.proxyHost=<proxy server>
-Dhttp.proxyPort=<proxy port>
-Dhttp.proxyUser=<username>
-Dhttp.proxyPassword=<password>
-Dhttps.proxyHost=<proxy server>
-Dhttps.proxyPort=<proxy port>
-Dhttps.proxyUser=<username>
-Dhttps.proxyPassword=<password>
-Dftp.proxyHost=<proxy server>
-Dftp.proxyPort=<proxy port>
-Dftp.proxyUser=<username>
-Dftp.proxyPassword=<password>
Notes:
https settings are necessary as many urls referred by the SBT are https based.
Don't include "http://" in the value
I faced a similar issue. Seems like the issue is with the java that is used. By mistake my environment was pointing to jre rather than jdk. After pointing to right JAVA_HOME as below, the sbt clean package compile worked fine.
[root#spark-sql-perf]# update-alternatives --config java
There are 2 programs which provide 'java'.
Selection Command
*+ 1 java-1.8.0-openjdk.ppc64le (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.ppc64le/jre/bin/java)
2 java-1.7.0-openjdk.ppc64le (/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121-2.6.8.0.el7_3.ppc64le/jre/bin/java)
Enter to keep the current selection[+], or type selection number: q
There are 2 programs which provide 'java'.
Selection Command
*+ 1 java-1.8.0-openjdk.ppc64le (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.ppc64le/jre/bin/java)
2 java-1.7.0-openjdk.ppc64le (/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121-2.6.8.0.el7_3.ppc64le/jre/bin/java)
Enter to keep the current selection[+], or type selection number: ^C
[root#spark-sql-perf]# export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.ppc64le/
[root#spark-sql-perf]# export PATH=$JAVA_HOME/bin:$PATH
I'm not really sure how to proceed. The make step failed:
error: ‘strnlen’ was not declared in this scope
make[2]: *** [storage/connect/CMakeFiles/connect.dir/xobject.cpp.o] Error 1
make[1]: *** [storage/connect/CMakeFiles/connect.dir/all] Error 2
make: *** [all] Error 2
Here is some more of the output:
~/Downloads$ tar xvfz mariadb-10.0.15.tar.gz
…
…
=====BUILD======
~/Downloads/mariadb-10.0.15$ cmake . -DBUILD_CONFIG=mysql_release
-- Running cmake version 3.1.0
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
...
...
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Looking for strnlen
-- Looking for strnlen - not found
-- Looking for strlcat
-- Looking for strlcat - found
-- Looking for strsignal
-- Looking for strsignal - found
-- Looking for fgetln
-- Looking for fgetln - found
-- Looking for strpbrk
-- Looking for strpbrk - found
-- Looking for strstr
-- Looking for strstr - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoul
-- Looking for strtoul - found
-- Looking for strtoull
-- Looking for strtoull - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strdup
-- Looking for strdup - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for shmctl
-- Looking for shmctl - found
-- Looking for shmdt
-- Looking for shmdt - found
-- Looking for shmget
-- Looking for shmget - found
-- Looking for tell
-- Looking for tell - not found
-- Looking for tempnam
-- Looking for tempnam - found
-- Looking for thr_setconcurrency
-- Looking for thr_setconcurrency - not found
-- Looking for thr_yield
-- Looking for thr_yield - not found
...
...
-- Looking for vasprintf
-- Performing Test HAVE_XUCRED - Success
-- Looking for event.h
-- Looking for event.h - found
-- Configuring done
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
libmysql
libmysqld
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /Users/7stud/Downloads/mariadb-10.0.15
========MAKE==========
~/Downloads/mariadb-10.0.15$ make
….
…
...
[ 50%] Building CXX object storage/connect/CMakeFiles/connect.dir/value.cpp.o
cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/ObjC but not for C++
[ 50%] Building CXX object storage/connect/CMakeFiles/connect.dir/xindex.cpp.o
cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/ObjC but not for C++
[ 50%] Building CXX object storage/connect/CMakeFiles/connect.dir/xobject.cpp.o
cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/ObjC but not for C++
/Users/7stud/Downloads/mariadb-10.0.15/storage/connect/xobject.cpp: In member function ‘bool STRING::Set(char*, uint)’:
/Users/7stud/Downloads/mariadb-10.0.15/storage/connect/xobject.cpp:275: error: ‘strnlen’ was not declared in this scope
make[2]: *** [storage/connect/CMakeFiles/connect.dir/xobject.cpp.o] Error 1
make[1]: *** [storage/connect/CMakeFiles/connect.dir/all] Error 2
make: *** [all] Error 2
~/Downloads/mariadb-10.0.15$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Next, with homebrew:
Last login: Fri Jan 16 03:28:09 on ttys001 ~$ brew install mariadb
==> Installing mariadb dependency: pidof
==> Downloading http://www.nightproductions.net/downloads/pidof_source.tar.gz
################################################################## 100.0%
==> Patching
==> make all CC=gcc-4.2 CFLAGS= /Users/7stud/.homebrew/Cellar/pidof/0.1.4: 3 files, 24K, built in 3
seconds
==> Installing mariadb
==> Downloading http://ftp.osuosl.org/pub/mariadb/mariadb-10.0.15/source/mariadb-10.0.15.tar.gz
################################################################## 100.0%
==> Patching
==> cmake . -DCMAKE_INSTALL_PREFIX=/Users/7stud/.homebrew/Cellar/mariadb/10.0.15 -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE
==> make cd /tmp/mariadb-0ocIfC/mariadb-10.0.15/storage/innobase && /Users/7stud/.homebrew/Cellar/cmake/3.1.0/bin/cmake -E
cmake_link_script CMakeFiles/innobase.dir/link.txt --verbose=1
/Users/7stud/.homebrew/Library/ENV/3.2.6/g++-4.2 -Wall -Wall
-Wno-unused-parameter -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -DDBUG_OFF -bundle -Wl,-headerpad_max_install_names -o ha_innodb.so CMakeFiles/innobase.dir/api/api0api.cc.o
CMakeFiles/innobase.dir/api/api0misc.cc.o
CMakeFiles/innobase.dir/btr/btr0btr.cc.o
CMakeFiles/innobase.dir/btr/btr0cur.cc.o
CMakeFiles/innobase.dir/btr/btr0pcur.cc.o
CMakeFiles/innobase.dir/btr/btr0sea.cc.o
CMakeFiles/innobase.dir/buf/buf0buddy.cc.o
CMakeFiles/innobase.dir/buf/buf0buf.cc.o
CMakeFiles/innobase.dir/buf/buf0dblwr.cc.o
CMakeFiles/innobase.dir/buf/buf0checksum.cc.o
CMakeFiles/innobase.dir/buf/buf0dump.cc.o
CMakeFiles/innobase.dir/buf/buf0flu.cc.o
CMakeFiles/innobase.dir/buf/buf0lru.cc.o
CMakeFiles/innobase.dir/buf/buf0rea.cc.o
CMakeFiles/innobase.dir/data/data0data.cc.o
CMakeFiles/innobase.dir/data/data0type.cc.o
CMakeFiles/innobase.dir/dict/dict0boot.cc.o
CMakeFiles/innobase.dir/dict/dict0crea.cc.o
CMakeFiles/innobase.dir/dict/dict0dict.cc.o
CMakeFiles/innobase.dir/dict/dict0load.cc.o
CMakeFiles/innobase.dir/dict/dict0mem.cc.o
CMakeFiles/innobase.dir/dict/dict0stats.cc.o
CMakeFiles/innobase.dir/dict/dict0stats_bg.cc.o
CMakeFiles/innobase.dir/dyn/dyn0dyn.cc.o
CMakeFiles/innobase.dir/eval/eval0eval.cc.o
CMakeFiles/innobase.dir/eval/eval0proc.cc.o
CMakeFiles/innobase.dir/fil/fil0fil.cc.o
CMakeFiles/innobase.dir/fsp/fsp0fsp.cc.o
CMakeFiles/innobase.dir/fut/fut0fut.cc.o
CMakeFiles/innobase.dir/fut/fut0lst.cc.o
CMakeFiles/innobase.dir/ha/ha0ha.cc.o
CMakeFiles/innobase.dir/ha/ha0storage.cc.o
CMakeFiles/innobase.dir/ha/hash0hash.cc.o
CMakeFiles/innobase.dir/fts/fts0fts.cc.o
CMakeFiles/innobase.dir/fts/fts0ast.cc.o
CMakeFiles/innobase.dir/fts/fts0blex.cc.o
CMakeFiles/innobase.dir/fts/fts0config.cc.o
CMakeFiles/innobase.dir/fts/fts0opt.cc.o
CMakeFiles/innobase.dir/fts/fts0pars.cc.o
CMakeFiles/innobase.dir/fts/fts0que.cc.o
CMakeFiles/innobase.dir/fts/fts0sql.cc.o
CMakeFiles/innobase.dir/fts/fts0tlex.cc.o
CMakeFiles/innobase.dir/handler/ha_innodb.cc.o
CMakeFiles/innobase.dir/handler/handler0alter.cc.o
CMakeFiles/innobase.dir/handler/i_s.cc.o
CMakeFiles/innobase.dir/ibuf/ibuf0ibuf.cc.o
CMakeFiles/innobase.dir/lock/lock0iter.cc.o
CMakeFiles/innobase.dir/lock/lock0lock.cc.o
CMakeFiles/innobase.dir/lock/lock0wait.cc.o
CMakeFiles/innobase.dir/log/log0log.cc.o
CMakeFiles/innobase.dir/log/log0recv.cc.o
CMakeFiles/innobase.dir/mach/mach0data.cc.o
CMakeFiles/innobase.dir/mem/mem0mem.cc.o
CMakeFiles/innobase.dir/mem/mem0pool.cc.o
CMakeFiles/innobase.dir/mtr/mtr0log.cc.o
CMakeFiles/innobase.dir/mtr/mtr0mtr.cc.o
CMakeFiles/innobase.dir/os/os0file.cc.o
CMakeFiles/innobase.dir/os/os0proc.cc.o
CMakeFiles/innobase.dir/os/os0sync.cc.o
CMakeFiles/innobase.dir/os/os0thread.cc.o
CMakeFiles/innobase.dir/page/page0cur.cc.o
CMakeFiles/innobase.dir/page/page0page.cc.o
CMakeFiles/innobase.dir/page/page0zip.cc.o
CMakeFiles/innobase.dir/pars/lexyy.cc.o
CMakeFiles/innobase.dir/pars/pars0grm.cc.o
CMakeFiles/innobase.dir/pars/pars0opt.cc.o
CMakeFiles/innobase.dir/pars/pars0pars.cc.o
CMakeFiles/innobase.dir/pars/pars0sym.cc.o
CMakeFiles/innobase.dir/que/que0que.cc.o
CMakeFiles/innobase.dir/read/read0read.cc.o
CMakeFiles/innobase.dir/rem/rem0cmp.cc.o
CMakeFiles/innobase.dir/rem/rem0rec.cc.o
CMakeFiles/innobase.dir/row/row0ext.cc.o
CMakeFiles/innobase.dir/row/row0ftsort.cc.o
CMakeFiles/innobase.dir/row/row0import.cc.o
CMakeFiles/innobase.dir/row/row0ins.cc.o
CMakeFiles/innobase.dir/row/row0merge.cc.o
CMakeFiles/innobase.dir/row/row0mysql.cc.o
CMakeFiles/innobase.dir/row/row0log.cc.o
CMakeFiles/innobase.dir/row/row0purge.cc.o
CMakeFiles/innobase.dir/row/row0row.cc.o
CMakeFiles/innobase.dir/row/row0sel.cc.o
CMakeFiles/innobase.dir/row/row0uins.cc.o
CMakeFiles/innobase.dir/row/row0umod.cc.o
CMakeFiles/innobase.dir/row/row0undo.cc.o
CMakeFiles/innobase.dir/row/row0upd.cc.o
CMakeFiles/innobase.dir/row/row0quiesce.cc.o
CMakeFiles/innobase.dir/row/row0vers.cc.o
CMakeFiles/innobase.dir/srv/srv0conc.cc.o
CMakeFiles/innobase.dir/srv/srv0mon.cc.o
CMakeFiles/innobase.dir/srv/srv0srv.cc.o
CMakeFiles/innobase.dir/srv/srv0start.cc.o
CMakeFiles/innobase.dir/sync/sync0arr.cc.o
CMakeFiles/innobase.dir/sync/sync0rw.cc.o
CMakeFiles/innobase.dir/sync/sync0sync.cc.o
CMakeFiles/innobase.dir/trx/trx0i_s.cc.o
CMakeFiles/innobase.dir/trx/trx0purge.cc.o
CMakeFiles/innobase.dir/trx/trx0rec.cc.o
CMakeFiles/innobase.dir/trx/trx0roll.cc.o
CMakeFiles/innobase.dir/trx/trx0rseg.cc.o
CMakeFiles/innobase.dir/trx/trx0sys.cc.o
CMakeFiles/innobase.dir/trx/trx0trx.cc.o
CMakeFiles/innobase.dir/trx/trx0undo.cc.o
CMakeFiles/innobase.dir/usr/usr0sess.cc.o
CMakeFiles/innobase.dir/ut/ut0bh.cc.o
CMakeFiles/innobase.dir/ut/ut0byte.cc.o
CMakeFiles/innobase.dir/ut/ut0crc32.cc.o
CMakeFiles/innobase.dir/ut/ut0dbg.cc.o
CMakeFiles/innobase.dir/ut/ut0list.cc.o
CMakeFiles/innobase.dir/ut/ut0mem.cc.o
CMakeFiles/innobase.dir/ut/ut0rbt.cc.o
CMakeFiles/innobase.dir/ut/ut0rnd.cc.o
CMakeFiles/innobase.dir/ut/ut0ut.cc.o
CMakeFiles/innobase.dir/ut/ut0vec.cc.o
CMakeFiles/innobase.dir/ut/ut0wqueue.cc.o
../../libservices/libmysqlservices.a
-Wl,-bundle_loader,/tmp/mariadb-0ocIfC/mariadb-10.0.15/sql/mysqld /usr/local/lib/libz.dylib /usr/local/lib/libz.dylib
/Users/7stud/.homebrew/Cellar/cmake/3.1.0/bin/cmake -E
cmake_progress_report /tmp/mariadb-0ocIfC/mariadb-10.0.15/CMakeFiles
19 20 21 22 23 24 25 26 27 28 [ 95%] Built target innobase make: ***
[all] Error 2
READ THIS: http://git.io/brew-troubleshooting
These open issues may also help: mysql-connector-c++ cannot build with
mariadb (https://github.com/Homebrew/homebrew/issues/34578) Packages
with --with-mysql option not satisfied by mariadb
(https://github.com/Homebrew/homebrew/issues/32973) mariadb: missing
/usr/local/etc/my.cnf.d, removed by brew prune
(https://github.com/Homebrew/homebrew/issues/31760) ~$
Can you please try this:
brew update
brew doctor
brew install mariadb
Reference https://mariadb.com/kb/en/mariadb/building-mariadb-on-mac-os-x-using-homebrew/