Closed approached closed 9 years ago
You need to install hhvm-dev
.
Okay it works. Next error:
git submodule update --init
Submodule 'vendor/mongofill/mongofill' () registered for path 'vendor/mongofill/mongofill'
hhvm tools/merge.php
hphpize
** hphpize complete, now run `cmake . && make` to build, `make test` to test
cmake .
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- broken
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "/usr/bin/gcc" is not able to compile a simple test program.
It fails with the following output:
Change Dir: /root/mongofill-hhvm/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec2532646446/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2532646446.dir/build.make
CMakeFiles/cmTryCompileExec2532646446.dir/build
make[1]: Entering directory `/root/mongofill-hhvm/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/root/mongofill-hhvm/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object
CMakeFiles/cmTryCompileExec2532646446.dir/testCCompiler.c.o
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec2532646446.dir/testCCompiler.c.o
-c /root/mongofill-hhvm/CMakeFiles/CMakeTmp/testCCompiler.c
as: error while loading shared libraries: /usr/lib/libbfd-2.22-system.so:
invalid ELF header
make[1]: Leaving directory `/root/mongofill-hhvm/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec2532646446.dir/testCCompiler.c.o]
Fehler 1
make: *** [cmTryCompileExec2532646446/fast] Fehler 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (PROJECT)
-- Configuring incomplete, errors occurred!
as: error while loading shared libraries: /usr/lib/libbfd-2.22-system.so:
invalid ELF header
That seems to be the reason for the failure. Not sure what it means, but probably not related to mongofill.
closing due to inativity
Hi@all
i become every time a error from build script. Which package is it hphpize?