Giter VIP home page Giter VIP logo

Comments (15)

mcuadros avatar mcuadros commented on June 27, 2024

Hi stanlemon, he tries to use the lastest.

Maybe something similas as "--with-system-mysql" can be added.

Regards

from homebrew-hhvm.

denji avatar denji commented on June 27, 2024

@mcuadros mayber parse? --with-percona-server=devel (--devel) --with-percona-server=head (--HEAD)

from homebrew-hhvm.

mcuadros avatar mcuadros commented on June 27, 2024

I added " --with-system-mysql" this will keep your mysql version untouched.

from homebrew-hhvm.

stanlemon avatar stanlemon commented on June 27, 2024

Tried the new setting out, I seem to still run into issues with that flag and the mysql connector dependency, not sure if there is a better way around that?

from homebrew-hhvm.

mcuadros avatar mcuadros commented on June 27, 2024

Can you try now?

Regards

from homebrew-hhvm.

denji avatar denji commented on June 27, 2024

Maybe remove mysql-connector-c++. mysql install all mysql-header-devel ?

from homebrew-hhvm.

stanlemon avatar stanlemon commented on June 27, 2024

Hmm, different error now - that seems to get my past the conflict w/ percona but the latest is now yielding this:

bash-3.2$ brew install hhvm --with-system-mysql
==> Downloading https://github.com/facebook/hhvm/archive/HHVM-2.4.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/hhvm-2.4.2.tar.gz
==> Patching
patching file hphp/runtime/ext/gd/libgd/gdft.cpp
patching file CMake/HPHPFindLibs.cmake
Hunk #1 succeeded at 27 with fuzz 2.
==> rm -rf hphp/submodules/folly
==> ln -s /usr/local/opt/folly hphp/submodules/folly
==> cmake . -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DCMAKE_ASM_COMPILER=/usr/local/opt/gcc48/bi


-- Configuring incomplete, errors occurred!
See also "/tmp/hhvm-oJLS/hhvm-HHVM-2.4.2/CMakeFiles/CMakeOutput.log".
See also "/tmp/hhvm-oJLS/hhvm-HHVM-2.4.2/CMakeFiles/CMakeError.log".

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/mcuadros/homebrew-hhvm/issues

from homebrew-hhvm.

denji avatar denji commented on June 27, 2024

@stanlemon brew install hhvm --with-system-mysql --verbose

from homebrew-hhvm.

stanlemon avatar stanlemon commented on June 27, 2024
bash-3.2$ brew install hhvm --with-system-mysql --verbose
==> Downloading https://github.com/facebook/hhvm/archive/HHVM-2.4.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/hhvm-2.4.2.tar.gz
==> Verifying hhvm-2.4.2.tar.gz checksum
tar xf /Library/Caches/Homebrew/hhvm-2.4.2.tar.gz
==> Patching
/usr/bin/patch -g 0 -f -p1 -i 000-homebrew.diff
patching file hphp/runtime/ext/gd/libgd/gdft.cpp
patching file CMake/HPHPFindLibs.cmake
Hunk #1 succeeded at 27 with fuzz 2.
==> rm -rf hphp/submodules/folly
==> ln -s /usr/local/opt/folly hphp/submodules/folly
==> cmake . -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DCMAKE_ASM_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DLIBIBERTY_LIB=/usr/local/opt/gcc48/lib/x86_64/libiberty-4.8.a -DCMAKE_INCLUDE_PATH="/usr/local/include:/usr/include" -DCMAKE_LIBRARY_PATH="/usr/local/lib:/usr/lib" -DLIBEVENT_LIB=/usr/local/opt/libeventfb/lib/libevent.dylib -DLIBEVENT_INCLUDE_DIR=/usr/local/opt/libeventfb/include -DICU_INCLUDE_DIR=/usr/local/opt/icu4c/include -DICU_LIBRARY=/usr/local/opt/icu4c/lib/libicuuc.dylib -DICU_I18N_LIBRARY=/usr/local/opt/icu4c/lib/libicui18n.dylib -DICU_DATA_LIBRARY=/usr/local/opt/icu4c/lib/libicudata.dylib -DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include -DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib -DNCURSES_LIBRARY=/usr/local/opt/ncurses/lib/libncurses.dylib -DCURL_INCLUDE_DIR=/usr/local/opt/curl/include -DCURL_LIBRARY=/usr/local/opt/curl/lib/libcurl.dylib -DBOOST_INCLUDEDIR=/usr/local/opt/boostfb/include -DBOOST_LIBRARYDIR=/usr/local/opt/boostfb/lib -DBoost_USE_STATIC_LIBS=ON -DJEMALLOC_INCLUDE_DIR=/usr/local/opt/jemallocfb/include -DJEMALLOC_LIB=/usr/local/opt/jemallocfb/lib/libjemalloc.dylib -DLIBINTL_LIBRARIES=/usr/local/opt/gettext/lib/libintl.dylib -DLIBINTL_INCLUDE_DIR=/usr/local/opt/gettext/include -DLIBDWARF_LIBRARIES=/usr/local/opt/libdwarf/lib/libdwarf.3.dylib -DDWARF_INCLUDE_DIR=/usr/local/opt/libdwarf/include -DLIBELF_INCLUDE_DIRS=/usr/local/opt/libelf/include/libelf -DCMAKE_INCLUDE_PATH=/usr/local/opt/binutils/include -DCCLIENT_INCLUDE_PATH=/usr/local/opt/imap-uw/include/imap -DLIBGLOG_INCLUDE_DIR=/usr/local/opt/glog/include -DLIBJPEG_INCLUDE_DIRS=/usr/local/opt/jpeg/include -DLIBMEMCACHED_INCLUDE_DIR=/usr/local/opt/libmemcached/include -DLIBODBC_INCLUDE_DIRS=/usr/local/opt/unixodbc/include -DLIBPNG_INCLUDE_DIRS=/usr/local/opt/libpng/include -DMcrypt_INCLUDE_DIR=/usr/local/opt/mcrypt/include -DONIGURUMA_INCLUDE_DIR=/usr/local/opt/oniguruma/include -DPCRE_INCLUDE_DIR=/usr/local/opt/pcre/include -DTBB_INCLUDE_DIRS=/usr/local/opt/tbb/include -DTEST_TBB_INCLUDE_DIR=/usr/local/opt/tbb/include -DMYSQL_INCLUDE_DIR=/usr/local/opt/mysql/include/mysql -DFREETYPE_INCLUDE_DIRS=/usr/local/opt/freetype/include/freetype2 -DLIBMAGICKWAND_INCLUDE_DIRS=/usr/local/opt/imagemagick/include/ImageMagick-6 -DLIBMAGICKWAND_LIBRARIES=/usr/local/opt/imagemagick/lib/libMagickWand-6.Q16.dylib -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/2.4.2
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- The ASM compiler identification is GNU
-- Found assembler: /usr/local/opt/gcc48/bin/gcc-4.8
-- 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/local/opt/gcc48/bin/gcc-4.8
-- Check for working C compiler: /usr/local/opt/gcc48/bin/gcc-4.8 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - 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
-- Check for working CXX compiler: /usr/local/opt/gcc48/bin/g++-4.8
-- Check for working CXX compiler: /usr/local/opt/gcc48/bin/g++-4.8 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Using HPHP_HOME == /private/tmp/hhvm-Zacq/hhvm-HHVM-2.4.2
-- Performing Test IS_AARCH64
-- Performing Test IS_AARCH64 - Failed
-- CMAKE_PREFIX_PATH was missing, proceeding anyway
CMake Warning at CMake/HPHPSetup.cmake:47 (message):
  chrpath not found, rpath will not be stripped from installed binaries
Call Stack (most recent call first):
  hphp/CMakeLists.txt:18 (include)


-- Performing Test HAVE_GCC_47
-- Performing Test HAVE_GCC_47 - Success
-- Performing Test HAVE_GCC_48
-- Performing Test HAVE_GCC_48 - Success
-- Found LibDL: /usr/lib/libdl.dylib
-- Performing Test LIBDL_NEEDS_UNDERSCORE
-- Performing Test LIBDL_NEEDS_UNDERSCORE - Failed
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   system
--   program_options
--   filesystem
--   regex
-- Could NOT find LIBINOTIFY (missing:  LIBINOTIFY_LIBRARY LIBINOTIFY_INCLUDE_DIR)
-- Found LIBICONV: /usr/lib/libiconv.dylib
-- Performing Test LIBICONV_CONST
-- Performing Test LIBICONV_CONST - Failed
-- MySQL Include dir: /usr/local/opt/mysql/include/mysql  library dir: /usr/local/lib
-- MySQL client libraries: mysqlclient_r
-- Found PCRE: /usr/local/lib/libpcre.dylib
-- Found libevent: /usr/local/opt/libeventfb/lib/libevent.dylib
-- Looking for evhttp_bind_socket_with_fd
-- Looking for evhttp_bind_socket_with_fd - found
Using custom LIBEVENT
-- Found LibUODBC: /usr/local/lib/libodbc.dylib
-- Could NOT find LibVpx (missing:  LIBVPX_LIBRARIES LIBVPX_INCLUDE_DIRS)
-- Found LibJpeg: /usr/local/lib/libjpeg.dylib
-- Found LibPng: /usr/local/lib/libpng.dylib
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28")
-- Found Freetype: /usr/local/lib/libfreetype.dylib
-- Found CURL: /usr/local/opt/curl/lib/libcurl.dylib (found version "7.35.0")
-- Looking for curl_multi_select
-- Looking for curl_multi_select - not found
-- Looking for curl_multi_wait
-- Looking for curl_multi_wait - found
-- Found LibXml2: /usr/lib/libxml2.dylib (found version "2.7.3")
-- Found EXPAT: /usr/lib/libexpat.dylib (found version "2.0.1")
-- Found ICU header files in /usr/local/opt/icu4c/include
-- Found ICU libraries: /usr/local/opt/icu4c/lib/libicuuc.dylib
-- Performing Test JEMALLOC_VERSION_3
-- Performing Test JEMALLOC_VERSION_3 - Success
-- Found jemalloc: /usr/local/opt/jemallocfb/lib/libjemalloc.dylib
-- Found Intel TBB
-- Found mcrypt: /usr/local/lib/libmcrypt.dylib
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib (found version "0.9.8y")
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
-- Found BZip2: /usr/lib/libbz2.dylib (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.dylib
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.dylib - found
-- Found ONIGURUMA: /usr/local/lib/libonig.dylib
-- Found ldap: /System/Library/Frameworks/ldap.framework;/usr/lib/liblber.dylib
-- Found LIBPTHREAD: /usr/lib/libpthread.dylib
-- Found Editline: /usr/lib/libedit.dylib
-- Found LibElf: /usr/local/lib/libelf.a
-- Performing Test ELF_GETSHDRSTRNDX
-- Performing Test ELF_GETSHDRSTRNDX - Failed
-- Found LibDwarf: /usr/local/opt/libdwarf/lib/libdwarf.3.dylib
-- Looking for dwarf_encode_leb128
-- Looking for dwarf_encode_leb128 - not found
CMake Error at CMake/HPHPFindLibs.cmake:394 (message):
  You need to install binutils
Call Stack (most recent call first):
  CMake/HPHPSetup.cmake:63 (include)
  hphp/CMakeLists.txt:18 (include)


-- Configuring incomplete, errors occurred!
See also "/tmp/hhvm-Zacq/hhvm-HHVM-2.4.2/CMakeFiles/CMakeOutput.log".
See also "/tmp/hhvm-Zacq/hhvm-HHVM-2.4.2/CMakeFiles/CMakeError.log".
==> Formula
Tap: mcuadros/hhvm
Path: /usr/local/Library/Taps/mcuadros-hhvm/Formula/hhvm.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 221125f0e8d662afb90936f912b41d0da76d352b
CPU: 8-core 64-bit ivybridge
OS X: 10.9.2-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1382131676
X11: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/gettext:/usr/local/opt/readline:/usr/local/opt/icu4c:/usr/local/opt/ncurses:/usr/local/opt/curl:/usr/local/opt/gmp4:/usr/local/opt/mpfr2:/usr/local/opt/libmpc08:/usr/local/opt/isl011:/usr/local/opt/cloog018:/usr/local/opt/jemallocfb:/usr/local/opt/libarchive:/usr/local/opt/libeventfb:/usr/local/opt/boostfb:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/gflags/lib/pkgconfig:/usr/local/opt/glog/lib/pkgconfig:/usr/local/opt/oniguruma/lib/pkgconfig:/usr/local/opt/libelf/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/gd/lib/pkgconfig:/usr/local/opt/imagemagick/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/libevent/lib/pkgconfig:/usr/local/opt/libmemcached/lib/pkgconfig:/usr/local/opt/libssh2/lib/pkgconfig:/usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/isl011/lib/pkgconfig:/usr/local/opt/cloog018/lib/pkgconfig:/usr/local/opt/libarchive/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/opt/curl/share/aclocal:/usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/local/opt/libtool/bin:/usr/local/opt/autoconf/bin:/usr/local/opt/automake/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/gettext/bin:/usr/local/opt/mcrypt/bin:/usr/local/opt/gflags/bin:/usr/local/opt/oniguruma/bin:/usr/local/opt/re2c/bin:/usr/local/opt/pcre/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/gd/bin:/usr/local/opt/imagemagick/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/libevent/bin:/usr/local/opt/memcached/bin:/usr/local/opt/libmemcached/bin:/usr/local/opt/binutils/bin:/usr/local/opt/ncurses/bin:/usr/local/opt/curl/bin:/usr/local/opt/imap-uw/bin:/usr/local/opt/cloog018/bin:/usr/local/opt/gcc48/bin:/usr/local/opt/unixodbc/bin:/usr/local/opt/jemallocfb/bin:/usr/local/opt/libarchive/bin:/usr/local/opt/libeventfb/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: hhvm did not build
Logs:
     /Users/stan/Library/Logs/Homebrew/hhvm/01.folly
     /Users/stan/Library/Logs/Homebrew/hhvm/02.folly
     /Users/stan/Library/Logs/Homebrew/hhvm/03.cmake
     /Users/stan/Library/Logs/Homebrew/hhvm/03.cmake.cc
     /Users/stan/Library/Logs/Homebrew/hhvm/CMakeCache.txt

from homebrew-hhvm.

denji avatar denji commented on June 27, 2024
  • chrpath not found, rpath will not be stripped from installed binaries
  • You need to install binutils

from homebrew-hhvm.

stanlemon avatar stanlemon commented on June 27, 2024

I see that, but I already have binutils installed. :/

bash-3.2$ brew install binutils
Warning: binutils-2.24 already installed
bash-3.2$ brew info binutils
binutils: stable 2.24
http://www.gnu.org/software/binutils/binutils.html
/usr/local/Cellar/binutils/2.24 (103 files, 131M) *
  Built from source
From: https://github.com/Homebrew/homebrew/commits/master/Library/Formula/binutils.rb

from homebrew-hhvm.

denji avatar denji commented on June 27, 2024

CMake args check path

$ brew irb
==> Interactive Homebrew Shell
Example commands available with: brew irb --help
>> print Formula['binutils'].opt_prefix
/usr/local/opt/binutils=> nil

from homebrew-hhvm.

stanlemon avatar stanlemon commented on June 27, 2024

My output matches that.

from homebrew-hhvm.

mcuadros avatar mcuadros commented on June 27, 2024

Looks like BFD_LIB is required

from homebrew-hhvm.

denji avatar denji commented on June 27, 2024

Looks like BFD_LIB is required

CMake/HPHPFindLibs.cmake bug, master branch fixed

@mcuadros facebook/hhvm@8f08eab

from homebrew-hhvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.