我尝试在Mac OSX上使用HHVM MacPort安装https://github.com/facebook/hhvm/wiki/Building-and-installing-HHVM-on-OSX-10.10方法(方法:Macport:手工安装)。
sudo端口-v安装autoconf自动机binutils野牛升压clang-3.6 cmake elfool chain gawk google-glog jemalloc libelf libjpeg-turbo libmcrypt libmemcache libpng md5sha1sum ocaml oniguruma5 readline tbb
给出以下结果:
---> Computing dependencies for autoconf.
---> Cleaning autoconf
---> Removing work directory for autoconf
---> Cleaning automake
---> Removing work directory for automake
---> Computing dependencies for binutils.
---> Cleaning binutils
---> Removing work directory for binutils
---> Computing dependencies for bison.
---> Cleaning bison
---> Removing work directory for bison
---> Computing dependencies for boost.
---> Cleaning boost
---> Removing work directory for boost
---> Computing dependencies for clang-3.6.
---> Cleaning clang-3.6
---> Removing work directory for clang-3.6
---> Computing dependencies for cmake.
---> Cleaning cmake
---> Removing work directory for cmake
---> Computing dependencies for elftoolchain.
---> Cleaning elftoolchain
---> Removing work directory for elftoolchain
---> Computing dependencies for gawk.
---> Cleaning gawk
---> Removing work directory for gawk
---> Computing dependencies for google-glog.
---> Cleaning google-glog
---> Removing work directory for google-glog
---> Activating jemalloc @3.6.0_1
x ./
x ./+COMMENT
x ./+CONTENTS
x ./+DESC
x ./+PORTFILE
x ./+STATE
x ./opt/
x ./opt/local/
x ./opt/local/bin/
x ./opt/local/include/
x ./opt/local/lib/
x ./opt/local/share/
x ./opt/local/share/doc/
x ./opt/local/share/man/
x ./opt/local/share/man/man3/
x ./opt/local/share/man/man3/jemalloc.3.gz
x ./opt/local/share/doc/jemalloc/
x ./opt/local/share/doc/jemalloc/jemalloc.html
x ./opt/local/lib/libjemalloc.1.dylib
x ./opt/local/lib/libjemalloc.a
x ./opt/local/lib/libjemalloc.dylib
x ./opt/local/lib/libjemalloc_pic.a
x ./opt/local/include/jemalloc/
x ./opt/local/include/jemalloc/jemalloc.h
x ./opt/local/bin/jemalloc-prof
x ./opt/local/bin/jemalloc.sh
Error: org.macports.activate for port jemalloc returned: Image error: /opt/local/bin/jemalloc.sh already exists and does not belong to a registered port. Unable to activate port jemalloc. Use 'port -f activate jemalloc' to force the activation.
Please see the log file for port jemalloc for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_jemalloc/jemalloc/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port jemalloc failed
jemalloc:
sudo端口-f激活jemalloc---
激活jemloalloc
sudo端口-f激活jemalloc@3.6.0_1 ---
之后,我运行以下命令:
git克隆https://github.com/facebook/hhvm.git
cd hhvm
git子模块更新--init--递归
没事的。
在cmake
之后:
cmake \-DCMAKE \-U C \-U编译器=clang-mp-3.6-DCMAKE \-U CXX \-U编译器=clang-mp-3.6-DCMAKE \-U ASM \-U编译器=clang-mp-3.6 \-DCMAKE \-U编译器=clang-mp-3.6 \-DCMAKE \-U C \-U标志=“-ISSYSTEM/opt/local/include”-DCMAKE \-U CXX \-U标志=“-ISSYSTEM/opt/local/include”\-MCRUUTER=0-可修改的可修改的可修改的可修改的可修改的可修改的扩展插件\-IMAGICRUUTER=Off-DMYSU UNIX \-U-USU-SOCK \-U=Off \-AD=“/opt/local/lib/elftoolchain/libdwarf.3.dylib”\-DLIBDWARF\u INCLUDE\u DIRS=“/opt/local/INCLUDE/elftoolchain/”
结果:
-- The ASM compiler identification is unknown
-- Found assembler: /opt/local/bin/clang-mp-3.6
-- Warning: Did not find file Compiler/-ASM
-- Build type not specified: cmake build type Release.
-- Boost version: 1.59.0
-- Found the following Boost libraries:
-- system
-- program_options
-- filesystem
-- context
-- Could NOT find LIBINOTIFY (missing: LIBINOTIFY_LIBRARY LIBINOTIFY_INCLUDE_DIR)
-- System PCRE does not have JIT enabled - will use hhvm-third-party/pcre
-- Found libevent: /opt/local/lib/libevent.dylib
-- Found libsqlite3: /opt/local/lib/libsqlite3.dylib
-- Could NOT find DOUBLE_CONVERSION (missing: DOUBLE_CONVERSION_LIBRARY DOUBLE_CONVERSION_INCLUDE_DIR)
-- Using third-party bundled double-conversion
-- Found LZ4: /usr/local/lib/liblz4.dylib
-- Could NOT find FastLZ (missing: FASTLZ_LIBRARY FASTLZ_INCLUDE_DIR)
-- Using third-party bundled fastlz
-- Found libzip: /opt/local/lib/libzip.dylib 0.11.1
-- Found ICU header files in /opt/local/include
-- Found ICU libraries: /opt/local/lib/libicuuc.dylib
-- Found jemalloc: /opt/local/lib/libjemalloc.dylib
-- Found Intel TBB
-- Looking for dwarf_producer_init
-- Looking for dwarf_producer_init - found
-- Performing Test DW_CONST
-- Performing Test DW_CONST - Success
-- Looking for dwarf_producer_init_c
-- Looking for dwarf_producer_init_c - not found
-- libdwarf uses const char* type
-- libdwarf does not have dwarf_producer_init_c, using dwarf_producer_init
Generating Release build
-- Did not find system RE2
-- Building RE2 from third-party
-- Boost version: 1.59.0
-- Found the following Boost libraries:
-- system
-- program_options
-- filesystem
-- regex
-- context
-- Boost version: 1.59.0
-- Found the following Boost libraries:
-- system
-- thread
-- Boost version: 1.59.0
-- Found the following Boost libraries:
-- thread
-- system
CMake Warning (dev) at CMake/HPHPFunctions.cmake:21 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "lib" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
third-party/thrift/CMakeLists.txt:5 (auto_sources)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Boost version: 1.59.0
-- Found the following Boost libraries:
-- thread
-- system
-- Found libevent: /opt/local/lib/libevent.dylib
-- Found libevent 2.0.9+
-- Found Readline: /opt/local/include
CMake Warning (dev) at third-party/pcre/CMakeLists.txt:770 (GET_TARGET_PROPERTY):
Policy CMP0026 is not set: Disallow use of the LOCATION target property.
Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The LOCATION property should not be read from target "pcregrep". Use the
target name directly with add_custom_command, or use the generator
expression $<TARGET_FILE>, as appropriate.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at third-party/pcre/CMakeLists.txt:773 (GET_TARGET_PROPERTY):
Policy CMP0026 is not set: Disallow use of the LOCATION target property.
Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The LOCATION property should not be read from target "pcretest". Use the
target name directly with add_custom_command, or use the generator
expression $<TARGET_FILE>, as appropriate.
This warning is for project developers. Use -Wno-dev to suppress it.
--
--
-- PCRE configuration summary:
--
-- C compiler ...................... : /opt/local/bin/clang-mp-3.6
-- C++ compiler .................... : /opt/local/bin/clang++-mp-3.6
-- C compiler flags ................ : -isystem/opt/local/include -msse4.2 -w -O3 -DNDEBUG
-- C++ compiler flags .............. : -isystem/opt/local/include -Wall -std=gnu++11 -stdlib=libc++ -fno-omit-frame-pointer -Woverloaded-virtual -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -fno-operator-names -Wno-error=array-bounds -Wno-error=switch -Werror=format-security -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-mismatched-tags -Wno-unknown-warning-option -Wno-return-type-c-linkage -Qunused-arguments -msse4.2 -O3 -DNDEBUG
--
-- Build 8 bit PCRE library ........ : ON
-- Build 16 bit PCRE library ....... : OFF
-- Build 32 bit PCRE library ....... : OFF
-- Build C++ library ............... : ON
-- Enable JIT compiling support .... : ON
-- Enable UTF support .............. : ON
-- Unicode properties .............. : ON
-- Newline char/sequence ........... : LF
-- \R matches only ANYCRLF ......... : OFF
-- EBCDIC coding ................... : OFF
-- EBCDIC coding with NL=0x25 ...... : OFF
-- Rebuild char tables ............. : OFF
-- No stack recursion .............. : OFF
-- POSIX mem threshold ............. : 10
-- Internal link size .............. : 2
-- Parentheses nest limit .......... : 250
-- Match limit ..................... : 10000000
-- Match limit recursion ........... : MATCH_LIMIT
-- Build shared libs ............... : OFF
-- Build static libs ............... : ON
-- Build pcregrep .................. : ON
-- Enable JIT in pcregrep .......... : ON
-- Buffer size for pcregrep ........ : 20480
-- Build tests (implies pcretest .. : ON
-- and pcregrep)
-- Link pcregrep with libz ......... : ON
-- Link pcregrep with libbz2 ....... : ON
-- Link pcretest with libeditline .. : OFF
-- Link pcretest with libreadline .. : ON
-- Support Valgrind .................: OFF
-- Support coverage .................:
--
-- Build type not specified: cmake build type Release.
-- Boost version: 1.59.0
-- Found the following Boost libraries:
-- system
-- program_options
-- filesystem
-- context
-- Could NOT find LIBINOTIFY (missing: LIBINOTIFY_LIBRARY LIBINOTIFY_INCLUDE_DIR)
-- System PCRE does not have JIT enabled - will use hhvm-third-party/pcre
-- Found libevent: /opt/local/lib/libevent.dylib
-- Found libsqlite3: /opt/local/lib/libsqlite3.dylib
-- Could NOT find DOUBLE_CONVERSION (missing: DOUBLE_CONVERSION_LIBRARY DOUBLE_CONVERSION_INCLUDE_DIR)
-- Using third-party bundled double-conversion
-- Found LZ4: /usr/local/lib/liblz4.dylib
-- Could NOT find FastLZ (missing: FASTLZ_LIBRARY FASTLZ_INCLUDE_DIR)
-- Using third-party bundled fastlz
-- Found libzip: /opt/local/lib/libzip.dylib 0.11.1
-- Found ICU header files in /opt/local/include
-- Found ICU libraries: /opt/local/lib/libicuuc.dylib
-- Found jemalloc: /opt/local/lib/libjemalloc.dylib
-- Found Intel TBB
-- Looking for dwarf_producer_init
-- Looking for dwarf_producer_init - found
-- Performing Test DW_CONST
-- Performing Test DW_CONST - Success
-- Looking for dwarf_producer_init_c
-- Looking for dwarf_producer_init_c - not found
-- libdwarf uses const char* type
-- libdwarf does not have dwarf_producer_init_c, using dwarf_producer_init
Generating Release build
-- Warning: Did not find file Compiler/-ASM
-- Found ocamlc: /opt/local/bin/ocamlc
-- Found ocamlc.opt: /opt/local/bin/ocamlc.opt
-- Using built-in JSON parser
-- Building the apache extension.
-- Building the apc extension.
-- Building the array extension.
-- Building the asio extension.
-- Building the Async MySQL extension.
-- Building the bcmath extension.
-- Building the bz2 extension.
-- Building the closure extension.
-- Building the collections extension.
-- Building the ctype extension.
-- Building the curl extension.
-- Building the datetime extension.
-- Building the debugger extension.
-- Building the DOMDocument extension.
-- Building the enum extension.
-- Found ICU header files in /opt/local/include
-- Found ICU libraries: /opt/local/lib/libicuuc.dylib
-- Building the fb extension.
-- Found ICU header files in /opt/local/include
-- Found ICU libraries: /opt/local/lib/libicuuc.dylib
-- Building the fileinfo extension.
-- Building the filter extension.
-- Found GNU FriBidi: /opt/local/lib/libfribidi.dylib
-- Building the fribidi extension.
-- Found GNU FriBidi: /opt/local/lib/libfribidi.dylib
-- Building the gd extension.
-- Building the generator extension.
-- Building the gmp extension.
-- Building the hash extension.
-- Building the hh extension.
-- Building the hh_client extension.
-- Building the Hot Profiler extension.
-- Building the iconv extension.
-- Found ICU header files in /opt/local/include
-- Found ICU libraries: /opt/local/lib/libicuuc.dylib
-- Building the icu extension.
-- Found ICU header files in /opt/local/include
-- Found ICU libraries: /opt/local/lib/libicuuc.dylib
Not building the imagick extension.
-- Building the imap extension.
-- Building the intervaltimer extension.
-- Building the ipc extension.
-- Building the json extension.
-- Building the ldap extension.
-- Building the libxml extension.
-- Building the mail extension.
-- Building the mailparse extension.
-- Building the mbstring extension.
Not building the mcrouter extension.
-- Found mcrypt: /opt/local/lib/libmcrypt.dylib
-- Building the mcrypt extension.
-- Found mcrypt: /opt/local/lib/libmcrypt.dylib
-- Building the memcache extension.
-- Building the memcached extension.
-- Building the MySQL extension.
-- Building the MySQLi extension.
-- Building the objprof extension.
-- Building the odbc extension.
-- Building the openssl extension.
-- Building the pcre extension.
-- Building the pdo extension.
-- Building the pdo_mysql extension.
-- Building the pdo_sqlite extension.
-- Building the phar extension.
-- Building the posix extension.
-- Building the process extension.
-- Building the readline extension.
-- Building the reflection extension.
-- Building the server extension.
-- Building the session extension.
-- Building the simplexml extension.
-- Building the soap extension.
-- Building the sockets extension.
-- Building the spl extension.
-- Building the sqlite3 extension.
-- Building the std extension.
-- Building the stream extension.
-- Building the string extension.
-- Building the thread extension.
-- Building the thrift extension.
-- Building the url extension.
-- Building the wddx extension.
-- Building the xdebug extension.
-- Building the xenon extension.
-- Building the xhprof extension.
-- Building the xml extension.
-- Building the xmlreader extension.
-- Building the xmlwriter extension.
-- Building the xsl extension.
-- Building the zip extension.
-- Building the zlib extension.
CMake Warning (dev) at CMake/HPHPFunctions.cmake:177 (get_target_property):
Policy CMP0026 is not set: Disallow use of the LOCATION target property.
Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The LOCATION property should not be read from target "hhvm". Use the
target name directly with add_custom_command, or use the generator
expression $<TARGET_FILE>, as appropriate.
Call Stack (most recent call first):
hphp/hhvm/CMakeLists.txt:62 (HHVM_INSTALL)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/local/apache2/htdocs/hhvm/hhvm
运行hhvm
,结果:
dyld:未加载库:/opt/local/lib/libicudata。53.dylib引用自:/opt/local/bin/hhvm原因:未找到映像跟踪/BPT陷阱:5
利比库达。53.dylib库确实不存在/opt/local/lib/
。
我不知道如何解决这个问题。
使用此命令哪个hhvm
,结果:
本地/bin/hhvm
使用此/opt/local/bin/hhvm
,结果:
dyld: Library not loaded: /opt/local/lib/libicudata.53.dylib
Referenced from: /opt/local/bin/hhvm
Reason: image not found
Trace/BPT trap: 5
使用此命令otool-L$(hhvm)
,结果:
/opt/local/bin/hhvm:
/opt/local/lib/libjpeg.9.dylib (compatibility version 11.0.0, current version 11.0.0)
/opt/local/lib/libpng16.16.dylib (compatibility version 29.0.0, current version 29.0.0)
/opt/local/lib/libfreetype.6.dylib (compatibility version 18.0.0, current version 18.2.0)
/opt/local/lib/libMagickWand-6.Q16.2.dylib (compatibility version 3.0.0, current version 3.0.0)
/opt/local/lib/libMagickCore-6.Q16.2.dylib (compatibility version 3.0.0, current version 3.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
/opt/local/lib/mysql55/mysql/libmysqlclient.18.dylib (compatibility version 18.0.0, current version 18.0.0)
/opt/local/lib/libpcre.1.dylib (compatibility version 4.0.0, current version 4.3.0)
/opt/local/lib/libicudata.53.dylib (compatibility version 53.0.0, current version 53.1.0)
/opt/local/lib/libicui18n.53.dylib (compatibility version 53.0.0, current version 53.1.0)
/opt/local/lib/libicuuc.53.dylib (compatibility version 53.0.0, current version 53.1.0)
/opt/local/lib/libcurl.4.dylib (compatibility version 8.0.0, current version 8.0.0)
/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.1.0)
/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0)
/opt/local/lib/libjemalloc.1.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libevent-2.0.5.dylib (compatibility version 7.0.0, current version 7.9.0)
/opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.2.0)
/opt/local/lib/libgssapi_krb5.2.2.dylib (compatibility version 2.0.0, current version 2.2.0)
/opt/local/lib/libbfd-2.24.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libtbb.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/opt/local/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8)
/opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.6)
/opt/local/lib/libxml2.2.dylib (compatibility version 12.0.0, current version 12.1.0)
/opt/local/lib/libxslt.1.dylib (compatibility version 3.0.0, current version 3.28.0)
/opt/local/lib/libexslt.0.dylib (compatibility version 9.0.0, current version 9.17.0)
/opt/local/lib/libexpat.1.dylib (compatibility version 8.0.0, current version 8.0.0)
/opt/local/lib/libonig.2.dylib (compatibility version 3.0.0, current version 3.0.0)
/opt/local/lib/libmcrypt.4.dylib (compatibility version 9.0.0, current version 9.8.0)
/opt/local/lib/libldap-2.4.2.dylib (compatibility version 11.0.0, current version 11.3.0)
/opt/local/lib/liblber-2.4.2.dylib (compatibility version 11.0.0, current version 11.3.0)
/opt/local/lib/libmemcached.11.dylib (compatibility version 12.0.0, current version 12.0.0)
/opt/local/lib/libsqlite3.0.dylib (compatibility version 9.0.0, current version 9.6.0)
/opt/local/lib/libzip.2.dylib (compatibility version 4.0.0, current version 4.0.0)
/opt/local/lib/libedit.0.dylib (compatibility version 1.0.0, current version 1.42.0)
/usr/lib/libpam.2.dylib (compatibility version 3.0.0, current version 3.0.0)
/opt/local/lib/elftoolchain/libdwarf.3.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libglog.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/opt/local/lib/libgcc/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.20.0)
/opt/local/lib/libgcc/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
问题内容: 我正在尝试在Windows 7工作站上安装GDAL和Python。 Python版本:2.6.6 盖达尔1.8 (Visual Visual C ++ Studio 2010 Express) 我按照http://ucsb.pbworks.com/w/page/1936549/Using-GDAL-with- Python中 的说明进行操作,并将PYTHONPATH和GDAL_DATA
在得到以下错误之前,一切都被罚款: ... 信息:正在加载包:@local_config_cc//-- 我正在开发Ubuntu 14.04和bazel 0.2.2。对此有什么想法吗? 提前谢谢。。。
试图安装卡玛 就会产生警告 最后,似乎没有因果报应 然而,这似乎是一种因果报应 还有builerror.log档案 我需要安装python才能与业力工作还是有其他问题?提前感谢任何帮助!
在设备中运行android,并报告以下错误 正在安装APK的应用程序调试。应用程序:调试10:53:48 E/1765594925:上传应用程序调试时出错。apk:未知故障([CDS]关闭[0])无法安装/Users/xiaotian/Desktop/wanme\u rn/android/app/build/outputs/apk/app debug。apk公司 失败:生成失败,出现异常。 > 通
你好,而试图在真正的Android设备上运行我的Flutter应用程序im得到以下错误 我尝试:更新Android Studioflutter升级flutter酒吧获取...... 但还没有找到解决方案,希望任何人都能帮忙
我在用CircledImageView库。它在Lollipop+Android版本上工作得很好。但在kitkat它崩溃了。所以在谷歌上搜索之后。我发现我必须在我的应用程序中实现multidex。 这是我的应用程序类。 但是当我运行应用程序时,我得到以下错误。