Php Centos6上的Phalcon安装错误:make:**[Phalcon.lo]错误1

Php Centos6上的Phalcon安装错误:make:**[Phalcon.lo]错误1,php,phalcon,centos6,Php,Phalcon,Centos6,我的PHP版本是5.5,我安装了phalcon的所有依赖项/要求。 但是当我运行/install,我会得到以下信息: Configuring for: PHP Api Version: 20121113 Zend Module Api No: 20121212 Zend Extension Api No: 220121212 checking for grep that handles long lines and -e... /bin/grep checking

我的PHP版本是5.5,我安装了phalcon的所有依赖项/要求。 但是当我运行
/install
,我会得到以下信息:

Configuring for:
PHP Api Version:         20121113
Zend Module Api No:      20121212
Zend Extension Api No:   220121212
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for icc... no
checking for suncc... no
checking whether gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib64/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable phalcon... yes, shared
checking whether HAVE_BUNDLED_PCRE is declared... yes
checking for ext/pcre/php_pcre.h... yes
checking whether HAVE_JSON is declared... no
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
/bin/sh /root/cphalcon/build/64bits/libtool --mode=compile gcc  -I. -I/root/cphalcon/build/64bits -DPHP_ATOM_INC -I/root/cphalcon/build/64bits/include -I/root/cphalcon/build/64bits/main -I/root/cphalcon/build/64bits -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DPHALCON_RELEASE -DHAVE_CONFIG_H  -march=native -mtune=native -O2 -fomit-frame-pointer -fvisibility=hidden   -c /root/cphalcon/build/64bits/phalcon.zep.c -o phalcon.lo 
libtool: compile:  gcc -I. -I/root/cphalcon/build/64bits -DPHP_ATOM_INC -I/root/cphalcon/build/64bits/include -I/root/cphalcon/build/64bits/main -I/root/cphalcon/build/64bits -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DPHALCON_RELEASE -DHAVE_CONFIG_H -march=native -mtune=native -O2 -fomit-frame-pointer -fvisibility=hidden -c /root/cphalcon/build/64bits/phalcon.zep.c  -fPIC -DPIC -o .libs/phalcon.o
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [phalcon.lo] Error 1
配置:
PHP Api版本:20121113
Zend模块Api编号:20121212
Zend扩展Api编号:220121212
正在检查处理长线和-e的grep/bin/grep
正在检查白鹭/bin/grep-E
正在检查不截断输出的sed/bin/sed
正在检查C编译器的默认输出文件名。。。a、 出去
正在检查C编译器是否工作。。。对
正在检查我们是否正在交叉编译。。。不
正在检查可执行文件的后缀。。。
正在检查对象文件的后缀。。。o
正在检查我们是否正在使用GNU C编译器。。。对
正在检查gcc是否接受-g。。。对
正在检查gcc选项以接受ISO C89。。。不需要
正在检查如何运行C预处理器。。。gcc-E
正在检查icc。。。不
正在检查suncc。。。不
正在检查gcc和cc是否一起理解-c和-o。。。对
正在检查系统库目录。。。解放党
正在检查编译器是否支持-R。。。不
正在检查编译器是否支持-Wl,-rpath,。。。对
正在检查生成系统类型。。。x86_64-unknown-linux-gnu
正在检查主机系统类型。。。x86_64-unknown-linux-gnu
正在检查目标系统类型。。。x86_64-unknown-linux-gnu
正在检查PHP前缀/usr
检查PHP包括-I/usr/include/php-I/usr/include/php/main-I/usr/include/php/TSRM-I/usr/include/php/Zend-I/usr/include/php/ext-I/usr/include/php/ext/date/lib
正在检查PHP扩展目录/usr/lib64/php/modules
正在检查PHP安装的标头前缀/usr/include/php
正在检查是否已启用调试。。。不
正在检查zts是否已启用。。。不
正在检查re2c。。。不
配置:警告:如果要重新生成PHP解析器,需要re2c 0.13.4或更高版本。
正在检查是否有呆滞。。。目瞪口呆
正在检查是否启用phalcon。。。是的,共享
正在检查是否已声明HAVE_bundle_PCRE。。。对
正在检查ext/pcre/php\u pcre.h。。。对
正在检查是否已声明HAVE_JSON。。。不
正在检查不截断输出的sed。。。(缓存)/bin/sed
正在检查fgrep/bin/grep-F
正在检查gcc使用的ld/usr/bin/ld
正在检查链接器(/usr/bin/ld)是否为GNU ld。。。对
正在检查BSD或MS兼容的名称列表器(nm)/usr/bin/nm-B
正在检查名称列表器(/usr/bin/nm-B)接口。。。BSD纳米
正在检查ln-s是否工作。。。对
正在检查命令行参数的最大长度。。。1966080
正在检查shell是否理解某些XSI构造。。。对
正在检查shell是否理解“+=”。。。对
正在检查/usr/bin/ld选项以重新加载对象文件-R
正在检查objdump。。。反汇编
正在检查如何识别依赖库。。。通关
正在检查ar。。。应收账
正在检查带。。。带
正在检查ranlib。。。兰利布
正在检查从gcc对象解析/usr/bin/nm-B输出的命令。。。好啊
正在检查ANSI C头文件。。。对
正在检查sys/types.h。。。对
正在检查sys/stat.h。。。对
正在检查stdlib.h。。。对
正在检查字符串。h。。。对
正在检查内存。h。。。对
正在检查字符串。h。。。对
正在检查IntType.h。。。对
正在检查stdint.h。。。对
正在检查unistd.h。。。对
正在检查dlfcn.h。。。对
正在检查objdir。自由基
正在检查gcc是否支持-fno rtti-fno异常。。。不
正在检查gcc选项以生成图片-fPIC-DPIC
正在检查gcc PIC标志-fPIC-DPIC是否工作。。。对
正在检查gcc静态标志-静态工作。。。不
正在检查gcc是否支持-c-o file.o。。。对
正在检查gcc是否支持-c-o file.o。。。(缓存)是的
正在检查gcc链接器(/usr/bin/ld-m elf_x86_64)是否支持共享库。。。对
正在检查是否应在中显式链接-lc。。。不
正在检查动态链接器特性。。。GNU/Linux-ld.so
正在检查如何将库路径硬编码到程序中。。。立即的
正在检查是否可以剥离库。。。对
正在检查libtool是否支持共享库。。。对
正在检查是否生成共享库。。。对
正在检查是否生成静态库。。。不
配置:创建./config.status
config.status:正在创建config.h
config.status:执行libtool命令
/bin/sh/root/cphalcon/build/64bits/libtool--mode=compile gcc-I.-I/root/cphalcon/build/64bits-DPHP_ATOM_INC-I/root/cphalcon/build/64bits/include-I/root/cphalcon/build/64bits-I/usr/include/php/include/php/TSRM-I/usr/include/php/Zend-I/usr/include/php/ext-I/usr/include/php/ext/date/lib-DPHALCON_RELEASE-DHAVE_CONFIG_H-march=native-mtune=native-O2-fomit帧指针-fvisibility=hidden-c/root/cphalcon/build/64bits/phalcon.zep.c-o phalcon.lo
libtool:compile:gcc-I.-I/root/cphalcon/build/64bits-DPHP_ATOM_INC-I/root/cphalcon/build/64bits/include-I/root/cphalcon/build/main-I/root/cphalcon/build/64bits-I/usr/include/php/main-I/usr/include/php/Zend-I/usr/include/php/ext-I/usr/include/date/DPHALCON发布-DHAVE_CONFIG_H-march=native-mtune=native-O2-fomit帧指针-fvisibility=hidden-c/root/cphalcon/build/64bits/phalcon.zep.c-fPIC-DPIC-o.libs/phalcon.o
gcc:内部错误:已终止(程序cc1)
请提交完整的错误报告。
有关说明,请参阅。
make:**[phalcon.lo]错误1

我该怎么办?

尝试手动安装Phalcon,如中的本节所示:

如果无法使用此命令进行构建,请尝试我关于安装Phalcon的说明


祝你好运

不幸的是,它不起作用:(。由于某些原因,我无法打开你留下的链接。你无法打开哪一个链接?“此处”链接。最后,我成功了。编译过程需要1G内存,我最初只有512Mb。
cd cphalcon/build/64bits
export CFLAGS="-O2 --fvisibility=hidden"
./configure --enable-phalcon
make && sudo make install