Created
November 15, 2011 13:50
-
-
Save rafeca/1367109 to your computer and use it in GitHub Desktop.
libevent for PHP installation error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rafeca->roa ~/Documents/Curro/TID/10fridays/connfurence git:(telephony) ✗ sudo pecl install libevent | |
Password: | |
downloading libevent-0.0.4.tgz ... | |
Starting to download libevent-0.0.4.tgz (9,003 bytes) | |
.....done: 9,003 bytes | |
3 source files, building | |
running: phpize | |
Configuring for: | |
PHP Api Version: 20090626 | |
Zend Module Api No: 20090626 | |
Zend Extension Api No: 220090626 | |
Please provide the prefix of libevent installation [autodetect] : | |
building in /private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/pear-build-rootBRM0Ym/libevent-0.0.4 | |
running: /private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/configure --with-libevent | |
checking for grep that handles long lines and -e... /usr/bin/grep | |
checking for egrep... /usr/bin/grep -E | |
checking for a sed that does not truncate output... /usr/bin/sed | |
checking for cc... cc | |
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 cc accepts -g... yes | |
checking for cc option to accept ISO C89... none needed | |
checking how to run the C preprocessor... cc -E | |
checking for icc... no | |
checking for suncc... no | |
checking whether cc understands -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... i386-apple-darwin10.8.0 | |
checking host system type... i386-apple-darwin10.8.0 | |
checking target system type... i386-apple-darwin10.8.0 | |
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/lib/php/extensions/no-debug-non-zts-20090626 | |
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... no | |
checking for nawk... no | |
checking for awk... awk | |
checking if awk is broken... no | |
checking for libevent support... yes, shared | |
checking for libevent headers in default path... found in /usr/local | |
checking for event_base_new in -levent... yes | |
checking for ld used by cc... /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld | |
checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no | |
checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r | |
checking for BSD-compatible nm... /usr/bin/nm | |
checking whether ln -s works... yes | |
checking how to recognize dependent libraries... pass_all | |
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 dlfcn.h usability... yes | |
checking dlfcn.h presence... yes | |
checking for dlfcn.h... yes | |
checking the maximum length of command line arguments... 196608 | |
checking command to parse /usr/bin/nm output from cc object... rm: conftest.dSYM: is a directory | |
ok | |
checking for objdir... .libs | |
checking for ar... ar | |
checking for ranlib... ranlib | |
checking for strip... strip | |
checking for dsymutil... dsymutil | |
checking for nmedit... nmedit | |
checking for -single_module linker flag... yes | |
checking for -exported_symbols_list linker flag... yes | |
checking if cc supports -fno-rtti -fno-exceptions... no | |
checking for cc option to produce PIC... -fno-common | |
checking if cc PIC flag -fno-common works... yes | |
checking if cc static flag -static works... no | |
checking if cc supports -c -o file.o... yes | |
checking whether the cc linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes | |
checking dynamic linker characteristics... darwin10.8.0 dyld | |
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 | |
creating libtool | |
appending configuration tag "CXX" to libtool | |
configure: creating ./config.status | |
config.status: creating config.h | |
running: make | |
/bin/sh /private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/pear-build-rootBRM0Ym/libevent-0.0.4/libtool --mode=compile cc -I. -I/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent -DPHP_ATOM_INC -I/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/pear-build-rootBRM0Ym/libevent-0.0.4/include -I/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/pear-build-rootBRM0Ym/libevent-0.0.4/main -I/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent -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 -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c -o libevent.lo | |
mkdir .libs | |
cc -I. "-I/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent" -DPHP_ATOM_INC "-I/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/pear-build-rootBRM0Ym/libevent-0.0.4/include" "-I/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/pear-build-rootBRM0Ym/libevent-0.0.4/main" "-I/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent" -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 -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c "/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c" -fno-common -DPIC -o .libs/libevent.o | |
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c:36:38: error: ext/sockets/php_sockets.h: No such file or directory | |
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c: In function ‘zif_event_set’: | |
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c:613: error: ‘php_socket’ undeclared (first use in this function) | |
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c:613: error: (Each undeclared identifier is reported only once | |
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c:613: error: for each function it appears in.) | |
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c:613: error: ‘php_sock’ undeclared (first use in this function) | |
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c:637: error: expected expression before ‘)’ token | |
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c: In function ‘zif_event_buffer_new’: | |
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c:805: error: ‘php_socket’ undeclared (first use in this function) | |
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c:805: error: ‘php_sock’ undeclared (first use in this function) | |
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c:818: error: expected expression before ‘)’ token | |
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c: In function ‘zif_event_buffer_fd_set’: | |
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c:1136: error: ‘php_socket’ undeclared (first use in this function) | |
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c:1136: error: ‘php_sock’ undeclared (first use in this function) | |
/private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/libevent/libevent.c:1150: error: expected expression before ‘)’ token | |
make: *** [libevent.lo] Error 1 | |
ERROR: `make' failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
any fixes about?