|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2008-03-17 22:06 UTC] graham+php at nexopia dot com
Description: ------------ If you try to compile php with the embed sapi on OSX, you get an error about duplicate symbols for yytext. Reproduce code: --------------- ./configure --enable-embed make Expected result: ---------------- Finish compiling Actual result: -------------- make: *** [sapi/cli/php] Error 1 make: *** Waiting for unfinished jobs.... ld: warning, duplicate dylib /usr/lib/libm.dylib ld: duplicate symbol _yytext in Zend/.libs/zend_ini_scanner.o and Zend/.libs/zend_language_scanner.o collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 27 05:00:01 2025 UTC |
I just sent the following to the php-install mailing list for feedback. Modify php-5.2.5/Zend/zend_ini_scanner.c: --- /Users/cthompson/php-5.2.5.clean/Zend/zend_ini_scanner.c 2007-11-08 09:36:37.000000000 -0600 +++ ./zend_ini_scanner.c 2008-04-25 10:16:27.000000000 -0600 @@ -478,7 +478,7 @@ #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET -char *yytext; +//char *yytext; #define INITIAL 0 /* +----------------------------------------------------------------------+ Modify php-5.2.5/Zend/zend_language_scanner.c: --- /Users/cthompson/php-5.2.5.clean/Zend/zend_language_scanner.c 2007-11-08 09:36:37.000000000 -0600 +++ ./zend_language_scanner.c 2008-04-25 10:17:15.000000000 -0600 @@ -3009,7 +3009,7 @@ #define yymore() (yy_more_flag = 1) #define YY_MORE_ADJ yy_more_len #define YY_RESTORE_YY_MORE_OFFSET -char *yytext; +//char *yytext; #define INITIAL 0 /* This REMOVES the definition of yytext. I think this is okay because the various defines in those files actually end up using the yy_text in zend_global.h, at least as far as I can see. Certainly, this allows PHP to compile but I am not at all sure if this is going to cause other problems. Could someone please give me some feedback? Additionally, I believe php-5.2.5/sapi/cli/config.m4 should be modified to compile using libtool on OS X: --- /Users/cthompson/php-5.2.5.clean/sapi/cli/config.m4 2007-07-11 17:20:36.000000000 -0600 +++ ./config.m4 2008-04-25 11:51:57.000000000 -0600 @@ -17,7 +17,7 @@ BUILD_CLI="echo '\#! .' > php.sym && echo >>php.sym && nm -BCpg \`echo \$(PHP_GLOBAL_OBJS) \$(PHP_CLI_OBJS) | sed 's/\([A-Za-z0-9_]*\)\.lo/\1.o/g'\` | \$(AWK) '{ if (((\$\$2 == \"T\") || (\$\$2 == \"D\") || (\$\$2 == \"B\")) && (substr(\$\$3,1,1) != \".\")) { print \$\$3 } }' | sort -u >> php.sym && \$(LIBTOOL) --mode=link \$(CC) -export-dynamic \$(CFLAGS_CLEAN) \$(EXTRA_CFLAGS) \$(EXTRA_LDFLAGS_PROGRAM) \$(LDFLAGS) -Wl,-brtl -Wl,-bE:php.sym \$(PHP_RPATHS) \$(PHP_GLOBAL_OBJS) \$(PHP_CLI_OBJS) \$(EXTRA_LIBS) \$(ZEND_EXTRA_LIBS) -o \$(SAPI_CLI_PATH)" ;; *darwin*) - BUILD_CLI="\$(CC) \$(CFLAGS_CLEAN) \$(EXTRA_CFLAGS) \$(EXTRA_LDFLAGS_PROGRAM) \$(LDFLAGS) \$(NATIVE_RPATHS) \$(PHP_GLOBAL_OBJS:.lo=.o) \$(PHP_CLI_OBJS:.lo=.o) \$(PHP_FRAMEWORKS) \$(EXTRA_LIBS) \$(ZEND_EXTRA_LIBS) -o \$(SAPI_CLI_PATH)" + BUILD_CLI="\$(LIBTOOL) --mode=link \$(CC) \$(CFLAGS_CLEAN) \$(EXTRA_CFLAGS) \$(EXTRA_LDFLAGS_PROGRAM) \$(LDFLAGS) \$(NATIVE_RPATHS) \$(PHP_GLOBAL_OBJS) \$(PHP_CLI_OBJS) \$(PHP_FRAMEWORKS) \$(EXTRA_LIBS) \$(ZEND_EXTRA_LIBS) -o \$(SAPI_CLI_PATH)" ;; *netware*) BUILD_CLI="\$(LIBTOOL) --mode=link \$(CC) -export-dynamic \$(CFLAGS_CLEAN) \$(EXTRA_CFLAGS) \$(EXTRA_LDFLAGS_PROGRAM) \$(LDFLAGS) \$(PHP_RPATHS) \$(PHP_CLI_OBJS) \$(EXTRA_LIBS) \$(ZEND_EXTRA_LIBS) -Lnetware -lphp5lib -o \$(SAPI_CLI_PATH)" Of course, the shipping version of PHP 5.2.5 would then also need the php-5.2.5/configure file changing, though presumably this is autogenerated from the fragments: --- /Users/cthompson/php-5.2.5.clean/configure 2007-11-08 09:36:28.000000000 -0600 +++ ./configure 2008-04-25 11:27:46.000000000 -0600 @@ -9180,7 +9180,7 @@ BUILD_CLI="echo '\#! .' > php.sym && echo >>php.sym && nm -BCpg \`echo \$(PHP_GLOBAL_OBJS) \$(PHP_CLI_OBJS) | sed 's/\([A-Za-z0-9_]*\)\.lo/\1.o/g'\` | \$(AWK) '{ if (((\$\$2 == \"T\") || (\$\$2 == \"D\") || (\$\$2 == \"B\")) && (substr(\$\$3,1,1) != \".\")) { print \$\$3 } }' | sort -u >> php.sym && \$(LIBTOOL) --mode=link \$(CC) -export-dynamic \$(CFLAGS_CLEAN) \$(EXTRA_CFLAGS) \$(EXTRA_LDFLAGS_PROGRAM) \$(LDFLAGS) -Wl,-brtl -Wl,-bE:php.sym \$(PHP_RPATHS) \$(PHP_GLOBAL_OBJS) \$(PHP_CLI_OBJS) \$(EXTRA_LIBS) \$(ZEND_EXTRA_LIBS) -o \$(SAPI_CLI_PATH)" ;; *darwin*) - BUILD_CLI="\$(CC) \$(CFLAGS_CLEAN) \$(EXTRA_CFLAGS) \$(EXTRA_LDFLAGS_PROGRAM) \$(LDFLAGS) \$(NATIVE_RPATHS) \$(PHP_GLOBAL_OBJS:.lo=.o) \$(PHP_CLI_OBJS:.lo=.o) \$(PHP_FRAMEWORKS) \$(EXTRA_LIBS) \$(ZEND_EXTRA_LIBS) -o \$(SAPI_CLI_PATH)" + BUILD_CLI="\$(LIBTOOL) --mode=link \$(CC) \$(CFLAGS_CLEAN) \$(EXTRA_CFLAGS) \$(EXTRA_LDFLAGS_PROGRAM) \$(LDFLAGS) \$(NATIVE_RPATHS) \$(PHP_GLOBAL_OBJS) \$(PHP_CLI_OBJS) \$(PHP_FRAMEWORKS) \$(EXTRA_LIBS) \$(ZEND_EXTRA_LIBS) -o \$(SAPI_CLI_PATH)" ;; *netware*) BUILD_CLI="\$(LIBTOOL) --mode=link \$(CC) -export-dynamic \$(CFLAGS_CLEAN) \$(EXTRA_CFLAGS) \$(EXTRA_LDFLAGS_PROGRAM) \$(LDFLAGS) \$(PHP_RPATHS) \$(PHP_CLI_OBJS) \$(EXTRA_LIBS) \$(ZEND_EXTRA_LIBS) -Lnetware -lphp5lib -o \$(SAPI_CLI_PATH)" Again, I really welcome feedback on this.Hallo, please help. I cannot install phc-0.3.0.1 on my ubuntu device. I have the following installed: ubuntu 12.04.3 LTS php 5.5.7 You are the entered commands. cd /opt/phc-0.3.0.1 ./configure and the output (please look at the config.log on the bottom of the page) ... checking for boostlib >= 1.35.0... yes checking whether the Boost::Regex library is available... yes checking for exit in -lboost_regex-mt... no checking for exit in -lboost_regex-mt... (cached) no checking for exit in -lboost_regex... no checking for exit in -lboost_regex... (cached) no checking for exit in -lboost_regex... (cached) no configure: error: Could not link against boost_regex Here is my log file This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by phc configure 0.3.0, which was generated by GNU Autoconf 2.67. Invocation command line was $ ./configure --with-sysroot=/ ## --------- ## ## Platform. ## ## --------- ## hostname = mock uname -m = i686 uname -r = 3.8.0-34-generic uname -s = Linux uname -v = #49~precise1-Ubuntu SMP Wed Nov 13 18:08:04 UTC 2013 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2563: checking for a BSD-compatible install configure:2631: result: /usr/bin/install -c configure:2642: checking whether build environment is sane configure:2692: result: yes configure:2833: checking for a thread-safe mkdir -p configure:2872: result: /bin/mkdir -p configure:2885: checking for gawk configure:2915: result: no configure:2885: checking for mawk configure:2901: found /usr/bin/mawk configure:2912: result: mawk configure:2923: checking whether make sets $(MAKE) configure:2945: result: yes configure:3026: checking whether to enable maintainer-specific portions of Makefiles configure:3035: result: no configure:3098: checking for gcc configure:3114: found /usr/bin/gcc configure:3125: result: gcc configure:3354: checking for C compiler version configure:3363: gcc --version >&5 gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3374: $? = 0 configure:3363: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6/lto-wrapper Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) configure:3374: $? = 0 configure:3363: gcc -V >&5 gcc: error: unrecognized option '-V' gcc: fatal error: no input files compilation terminated. configure:3374: $? = 4 configure:3363: gcc -qversion >&5 gcc: error: unrecognized option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3374: $? = 4 configure:3394: checking whether the C compiler works configure:3416: gcc conftest.c >&5 configure:3420: $? = 0 configure:3468: result: yes configure:3471: checking for C compiler default output file name configure:3473: result: a.out configure:3479: checking for suffix of executables configure:3486: gcc -o conftest conftest.c >&5 configure:3490: $? = 0 configure:3512: result: configure:3534: checking whether we are cross compiling configure:3542: gcc -o conftest conftest.c >&5 configure:3546: $? = 0 configure:3553: ./conftest configure:3557: $? = 0 configure:3572: result: no configure:3577: checking for suffix of object files configure:3599: gcc -c conftest.c >&5 configure:3603: $? = 0 configure:3624: result: o configure:3628: checking whether we are using the GNU C compiler configure:3647: gcc -c conftest.c >&5 configure:3647: $? = 0 configure:3656: result: yes configure:3665: checking whether gcc accepts -g configure:3685: gcc -c -g conftest.c >&5 configure:3685: $? = 0 configure:3726: result: yes configure:3743: checking for gcc option to accept ISO C89 configure:3807: gcc -c -g -O2 conftest.c >&5 configure:3807: $? = 0 configure:3820: result: none needed configure:3851: checking for style of include used by make configure:3879: result: GNU configure:3904: checking dependency style of gcc configure:4014: result: gcc3 configure:4087: checking for g++ configure:4103: found /usr/bin/g++ configure:4114: result: g++ configure:4141: checking for C++ compiler version configure:4150: g++ --version >&5 g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4161: $? = 0 configure:4150: g++ -v >&5 Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6/lto-wrapper Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) configure:4161: $? = 0 configure:4150: g++ -V >&5 g++: error: unrecognized option '-V' g++: fatal error: no input files compilation terminated. configure:4161: $? = 4 configure:4150: g++ -qversion >&5 g++: error: unrecognized option '-qversion' g++: fatal error: no input files compilation terminated. configure:4161: $? = 4 configure:4165: checking whether we are using the GNU C++ compiler configure:4184: g++ -c conftest.cpp >&5 configure:4184: $? = 0 configure:4193: result: yes configure:4202: checking whether g++ accepts -g configure:4222: g++ -c -g conftest.cpp >&5 configure:4222: $? = 0 configure:4263: result: yes configure:4288: checking dependency style of g++ configure:4398: result: gcc3 configure:4443: checking build system type configure:4457: result: i686-pc-linux-gnu configure:4477: checking host system type configure:4490: result: i686-pc-linux-gnu configure:4531: checking how to print strings configure:4558: result: printf configure:4579: checking for a sed that does not truncate output configure:4643: result: /bin/sed configure:4661: checking for grep that handles long lines and -e configure:4719: result: /bin/grep configure:4724: checking for egrep configure:4786: result: /bin/grep -E configure:4791: checking for fgrep configure:4853: result: /bin/grep -F configure:4888: checking for ld used by gcc configure:4955: result: /usr/bin/ld configure:4962: checking if the linker (/usr/bin/ld) is GNU ld configure:4977: result: yes configure:4989: checking for BSD- or MS-compatible name lister (nm) configure:5038: result: /usr/bin/nm -B configure:5168: checking the name lister (/usr/bin/nm -B) interface configure:5175: gcc -c -g -O2 conftest.c >&5 configure:5178: /usr/bin/nm -B "conftest.o" configure:5181: output 00000000 B some_variable configure:5188: result: BSD nm configure:5191: checking whether ln -s works configure:5195: result: yes configure:5203: checking the maximum length of command line arguments configure:5328: result: 1572864 configure:5345: checking whether the shell understands some XSI constructs configure:5355: result: yes configure:5359: checking whether the shell understands "+=" configure:5365: result: yes configure:5400: checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format configure:5440: result: func_convert_file_noop configure:5447: checking how to convert i686-pc-linux-gnu file names to toolchain format configure:5467: result: func_convert_file_noop configure:5474: checking for /usr/bin/ld option to reload object files configure:5481: result: -r configure:5555: checking for objdump configure:5571: found /usr/bin/objdump configure:5582: result: objdump configure:5614: checking how to recognize dependent libraries configure:5816: result: pass_all configure:5901: checking for dlltool configure:5931: result: no configure:5961: checking how to associate runtime and link libraries configure:5988: result: printf %s\n configure:6049: checking for ar configure:6065: found /usr/bin/ar configure:6076: result: ar configure:6113: checking for archiver @FILE support configure:6130: gcc -c -g -O2 conftest.c >&5 configure:6130: $? = 0 configure:6133: ar cru libconftest.a @conftest.lst >&5 configure:6136: $? = 0 configure:6141: ar cru libconftest.a @conftest.lst >&5 ar: conftest.o: No such file or directory configure:6144: $? = 1 configure:6156: result: @ configure:6214: checking for strip configure:6230: found /usr/bin/strip configure:6241: result: strip configure:6313: checking for ranlib configure:6329: found /usr/bin/ranlib configure:6340: result: ranlib configure:6442: checking command to parse /usr/bin/nm -B output from gcc object configure:6561: gcc -c -g -O2 conftest.c >&5 configure:6564: $? = 0 configure:6568: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:6571: $? = 0 configure:6637: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 configure:6640: $? = 0 configure:6678: result: ok configure:6715: checking for sysroot configure:6745: result: / configure:6988: checking for mt configure:7004: found /bin/mt configure:7015: result: mt configure:7038: checking if mt is a manifest tool configure:7044: mt '-?' configure:7052: result: no configure:7684: checking how to run the C preprocessor configure:7715: gcc -E conftest.c configure:7715: $? = 0 configure:7729: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:7729: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:7754: result: gcc -E configure:7774: gcc -E conftest.c configure:7774: $? = 0 configure:7788: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:7788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:7817: checking for ANSI C header files configure:7837: gcc -c -g -O2 conftest.c >&5 configure:7837: $? = 0 configure:7910: gcc -o conftest -g -O2 conftest.c >&5 configure:7910: $? = 0 configure:7910: ./conftest configure:7910: $? = 0 configure:7921: result: yes configure:7934: checking for sys/types.h configure:7934: gcc -c -g -O2 conftest.c >&5 configure:7934: $? = 0 configure:7934: result: yes configure:7934: checking for sys/stat.h configure:7934: gcc -c -g -O2 conftest.c >&5 configure:7934: $? = 0 configure:7934: result: yes configure:7934: checking for stdlib.h configure:7934: gcc -c -g -O2 conftest.c >&5 configure:7934: $? = 0 configure:7934: result: yes configure:7934: checking for string.h configure:7934: gcc -c -g -O2 conftest.c >&5 configure:7934: $? = 0 configure:7934: result: yes configure:7934: checking for memory.h configure:7934: gcc -c -g -O2 conftest.c >&5 configure:7934: $? = 0 configure:7934: result: yes configure:7934: checking for strings.h configure:7934: gcc -c -g -O2 conftest.c >&5 configure:7934: $? = 0 configure:7934: result: yes configure:7934: checking for inttypes.h configure:7934: gcc -c -g -O2 conftest.c >&5 configure:7934: $? = 0 configure:7934: result: yes configure:7934: checking for stdint.h configure:7934: gcc -c -g -O2 conftest.c >&5 configure:7934: $? = 0 configure:7934: result: yes configure:7934: checking for unistd.h configure:7934: gcc -c -g -O2 conftest.c >&5 configure:7934: $? = 0 configure:7934: result: yes configure:7948: checking for dlfcn.h configure:7948: gcc -c -g -O2 conftest.c >&5 configure:7948: $? = 0 configure:7948: result: yes configure:8145: checking for objdir configure:8160: result: .libs configure:8431: checking if gcc supports -fno-rtti -fno-exceptions configure:8449: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default] configure:8453: $? = 0 configure:8466: result: no configure:8776: checking for gcc option to produce PIC configure:8783: result: -fPIC -DPIC configure:8791: checking if gcc PIC flag -fPIC -DPIC works configure:8809: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:8813: $? = 0 configure:8826: result: yes configure:8855: checking if gcc static flag -static works configure:8883: result: yes configure:8898: checking if gcc supports -c -o file.o configure:8919: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:8923: $? = 0 configure:8945: result: yes configure:8953: checking if gcc supports -c -o file.o configure:9000: result: yes configure:9033: checking whether the gcc linker (/usr/bin/ld) supports shared libraries configure:10191: result: yes configure:10228: checking whether -lc should be explicitly linked in configure:10236: gcc -c -g -O2 conftest.c >&5 configure:10239: $? = 0 configure:10254: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:10257: $? = 0 configure:10271: result: no configure:10436: checking dynamic linker characteristics configure:10950: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:10950: $? = 0 configure:11172: result: GNU/Linux ld.so configure:11279: checking how to hardcode library paths into programs configure:11304: result: immediate configure:11398: checking for shl_load configure:11398: gcc -o conftest -g -O2 conftest.c >&5 /tmp/ccr5UYln.o: In function `main': /opt/phc-0.3.0.1/conftest.c:57: undefined reference to `shl_load' collect2: ld returned 1 exit status configure:11398: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define shl_load innocuous_shl_load | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char shl_load (); below. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | <limits.h> exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | | #undef shl_load | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char shl_load (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_shl_load || defined __stub___shl_load | choke me | #endif | | int | main () | { | return shl_load (); | ; | return 0; | } configure:11398: result: no configure:11402: checking for shl_load in -ldld configure:11427: gcc -o conftest -g -O2 conftest.c -ldld >&5 /usr/bin/ld: cannot find -ldld collect2: ld returned 1 exit status configure:11427: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char shl_load (); | int | main () | { | return shl_load (); | ; | return 0; | } configure:11436: result: no configure:11441: checking for dlopen configure:11441: gcc -o conftest -g -O2 conftest.c >&5 /tmp/ccUkEnts.o: In function `main': /opt/phc-0.3.0.1/conftest.c:57: undefined reference to `dlopen' collect2: ld returned 1 exit status configure:11441: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define dlopen innocuous_dlopen | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char dlopen (); below. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | <limits.h> exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | | #undef dlopen | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char dlopen (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_dlopen || defined __stub___dlopen | choke me | #endif | | int | main () | { | return dlopen (); | ; | return 0; | } configure:11441: result: no configure:11445: checking for dlopen in -ldl configure:11470: gcc -o conftest -g -O2 conftest.c -ldl >&5 configure:11470: $? = 0 configure:11479: result: yes configure:11598: checking whether a program can dlopen itself configure:11678: gcc -o conftest -g -O2 -DHAVE_DLFCN_H -Wl,--export-dynamic conftest.c -ldl >&5 configure:11681: $? = 0 configure:11699: result: yes configure:11704: checking whether a statically linked program can dlopen itself configure:11784: gcc -o conftest -g -O2 -DHAVE_DLFCN_H -Wl,--export-dynamic -static conftest.c -ldl >&5 /tmp/ccV6bAQI.o: In function `main': /opt/phc-0.3.0.1/configure:11763: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in `/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libc.a(strcmp.o)' can not be used when making an executable; recompile with -fPIE and relink with -pie collect2: ld returned 1 exit status configure:11787: $? = 1 configure:11805: result: no configure:11844: checking whether stripping libraries is possible configure:11849: result: yes configure:11884: checking if libtool supports shared libraries configure:11886: result: yes configure:11889: checking whether to build shared libraries configure:11910: result: yes configure:11913: checking whether to build static libraries configure:11917: result: yes configure:11940: checking how to run the C++ preprocessor configure:11967: g++ -E conftest.cpp configure:11967: $? = 0 configure:11981: g++ -E conftest.cpp conftest.cpp:23:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:11981: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:12006: result: g++ -E configure:12026: g++ -E conftest.cpp configure:12026: $? = 0 configure:12040: g++ -E conftest.cpp conftest.cpp:23:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:12040: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:12210: checking for ld used by g++ configure:12277: result: /usr/bin/ld configure:12284: checking if the linker (/usr/bin/ld) is GNU ld configure:12299: result: yes configure:12354: checking whether the g++ linker (/usr/bin/ld) supports shared libraries configure:13358: result: yes configure:13393: g++ -c -g -O2 conftest.cpp >&5 configure:13396: $? = 0 configure:13916: checking for g++ option to produce PIC configure:13923: result: -fPIC -DPIC configure:13931: checking if g++ PIC flag -fPIC -DPIC works configure:13949: g++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5 configure:13953: $? = 0 configure:13966: result: yes configure:13989: checking if g++ static flag -static works configure:14017: result: yes configure:14029: checking if g++ supports -c -o file.o configure:14050: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 configure:14054: $? = 0 configure:14076: result: yes configure:14081: checking if g++ supports -c -o file.o configure:14128: result: yes configure:14158: checking whether the g++ linker (/usr/bin/ld) supports shared libraries configure:14192: result: yes configure:14335: checking dynamic linker characteristics configure:15005: result: GNU/Linux ld.so configure:15058: checking how to hardcode library paths into programs configure:15083: result: immediate configure:15149: checking which extension is used for runtime loadable modules configure:15159: result: .so configure:15169: checking which variable specifies run-time module search path configure:15176: result: LD_LIBRARY_PATH configure:15186: checking for the default library search path configure:15193: result: /lib /usr/lib /usr/lib/i386-linux-gnu/mesa /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu /usr/local/lib configure:15223: checking for library containing dlopen configure:15254: gcc -o conftest -g -O2 conftest.c >&5 /tmp/ccIaEeCB.o: In function `main': /opt/phc-0.3.0.1/conftest.c:37: undefined reference to `dlopen' collect2: ld returned 1 exit status configure:15254: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define LT_MODULE_EXT ".so" | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH" | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char dlopen (); | int | main () | { | return dlopen (); | ; | return 0; | } configure:15254: gcc -o conftest -g -O2 conftest.c -ldl >&5 configure:15254: $? = 0 configure:15271: result: -ldl configure:15361: checking for dlerror configure:15361: gcc -o conftest -g -O2 conftest.c -ldl -ldl >&5 configure:15361: $? = 0 configure:15361: result: yes configure:15375: checking for shl_load configure:15375: result: no configure:15382: checking for shl_load in -ldld configure:15416: result: no configure:15462: checking for dld_link in -ldld configure:15487: gcc -o conftest -g -O2 conftest.c -ldld -ldl >&5 /usr/bin/ld: cannot find -ldld collect2: ld returned 1 exit status configure:15487: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define LT_MODULE_EXT ".so" | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH" | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib" | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char dld_link (); | int | main () | { | return dld_link (); | ; | return 0; | } configure:15496: result: no configure:15530: checking for _ prefix in compiled symbols configure:15540: gcc -c -g -O2 conftest.c >&5 configure:15543: $? = 0 configure:15547: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:15550: $? = 0 configure:15572: result: no configure:15696: checking whether deplibs are loaded by dlopen configure:15790: result: yes configure:15802: checking for argz.h configure:15802: gcc -c -g -O2 conftest.c >&5 configure:15802: $? = 0 configure:15802: result: yes configure:15814: checking for error_t configure:15814: gcc -c -g -O2 conftest.c >&5 configure:15814: $? = 0 configure:15814: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:37:22: error: expected expression before ')' token configure:15814: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define LT_MODULE_EXT ".so" | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH" | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib" | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_LIBDLLOADER 1 | #define HAVE_ARGZ_H 1 | /* end confdefs.h. */ | #if defined(HAVE_ARGZ_H) | # include <argz.h> | #endif | | int | main () | { | if (sizeof ((error_t))) | return 0; | ; | return 0; | } configure:15814: result: yes configure:15840: checking for argz_add configure:15840: gcc -o conftest -g -O2 conftest.c -ldl >&5 configure:15840: $? = 0 configure:15840: result: yes configure:15840: checking for argz_append configure:15840: gcc -o conftest -g -O2 conftest.c -ldl >&5 configure:15840: $? = 0 configure:15840: result: yes configure:15840: checking for argz_count configure:15840: gcc -o conftest -g -O2 conftest.c -ldl >&5 configure:15840: $? = 0 configure:15840: result: yes configure:15840: checking for argz_create_sep configure:15840: gcc -o conftest -g -O2 conftest.c -ldl >&5 configure:15840: $? = 0 configure:15840: result: yes configure:15840: checking for argz_insert configure:15840: gcc -o conftest -g -O2 conftest.c -ldl >&5 configure:15840: $? = 0 configure:15840: result: yes configure:15840: checking for argz_next configure:15840: gcc -o conftest -g -O2 conftest.c -ldl >&5 configure:15840: $? = 0 configure:15840: result: yes configure:15840: checking for argz_stringify configure:15840: gcc -o conftest -g -O2 conftest.c -ldl >&5 configure:15840: $? = 0 configure:15840: result: yes configure:15856: checking if argz actually works configure:15887: result: yes configure:15904: checking whether libtool supports -dlopen/-dlpreopen configure:15916: result: yes configure:15948: checking for ltdl.h configure:15948: gcc -c -g -O2 conftest.c >&5 configure:15948: $? = 0 configure:15948: result: yes configure:15952: checking whether lt_dlinterface_register is declared configure:15952: gcc -c -g -O2 conftest.c >&5 configure:15952: $? = 0 configure:15952: result: yes configure:15956: checking for lt_dladvise_preload in -lltdl configure:15981: gcc -o conftest -g -O2 conftest.c -lltdl -ldl >&5 configure:15981: $? = 0 configure:15990: result: yes configure:16085: checking where to find libltdl headers configure:16087: result: configure:16089: checking where to find libltdl library configure:16091: result: -lltdl configure:16141: checking for unistd.h configure:16141: result: yes configure:16141: checking for dl.h configure:16141: gcc -c -g -O2 conftest.c >&5 conftest.c:76:16: fatal error: dl.h: No such file or directory compilation terminated. configure:16141: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define LT_MODULE_EXT ".so" | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH" | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib" | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_LIBDLLOADER 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_ADD 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_COUNT 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_WORKING_ARGZ 1 | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LTDL 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <dl.h> configure:16141: result: no configure:16141: checking for sys/dl.h configure:16141: gcc -c -g -O2 conftest.c >&5 conftest.c:76:20: fatal error: sys/dl.h: No such file or directory compilation terminated. configure:16141: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define LT_MODULE_EXT ".so" | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH" | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib" | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_LIBDLLOADER 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_ADD 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_COUNT 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_WORKING_ARGZ 1 | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LTDL 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <sys/dl.h> configure:16141: result: no configure:16141: checking for dld.h configure:16141: gcc -c -g -O2 conftest.c >&5 conftest.c:76:17: fatal error: dld.h: No such file or directory compilation terminated. configure:16141: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define LT_MODULE_EXT ".so" | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH" | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib" | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_LIBDLLOADER 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_ADD 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_COUNT 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_WORKING_ARGZ 1 | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LTDL 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <dld.h> configure:16141: result: no configure:16141: checking for mach-o/dyld.h configure:16141: gcc -c -g -O2 conftest.c >&5 conftest.c:76:25: fatal error: mach-o/dyld.h: No such file or directory compilation terminated. configure:16141: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define LT_MODULE_EXT ".so" | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH" | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib" | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_LIBDLLOADER 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_ADD 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_COUNT 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_WORKING_ARGZ 1 | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LTDL 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <mach-o/dyld.h> configure:16141: result: no configure:16141: checking for dirent.h configure:16141: gcc -c -g -O2 conftest.c >&5 configure:16141: $? = 0 configure:16141: result: yes configure:16156: checking for closedir configure:16156: gcc -o conftest -g -O2 conftest.c -ldl >&5 configure:16156: $? = 0 configure:16156: result: yes configure:16156: checking for opendir configure:16156: gcc -o conftest -g -O2 conftest.c -ldl >&5 configure:16156: $? = 0 configure:16156: result: yes configure:16156: checking for readdir configure:16156: gcc -o conftest -g -O2 conftest.c -ldl >&5 configure:16156: $? = 0 configure:16156: result: yes configure:16173: checking for strlcat configure:16173: gcc -o conftest -g -O2 conftest.c -ldl >&5 /tmp/ccKxVcT9.o: In function `main': /opt/phc-0.3.0.1/conftest.c:80: undefined reference to `strlcat' collect2: ld returned 1 exit status configure:16173: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define LT_MODULE_EXT ".so" | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH" | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib" | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_LIBDLLOADER 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_ADD 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_COUNT 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_WORKING_ARGZ 1 | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LTDL 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | /* end confdefs.h. */ | /* Define strlcat to an innocuous variant, in case <limits.h> declares strlcat. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define strlcat innocuous_strlcat | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strlcat (); below. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | <limits.h> exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | | #undef strlcat | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strlcat (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strlcat || defined __stub___strlcat | choke me | #endif | | int | main () | { | return strlcat (); | ; | return 0; | } configure:16173: result: no configure:16173: checking for strlcpy configure:16173: gcc -o conftest -g -O2 conftest.c -ldl >&5 /tmp/ccFT0ZSh.o: In function `main': /opt/phc-0.3.0.1/conftest.c:80: undefined reference to `strlcpy' collect2: ld returned 1 exit status configure:16173: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define LT_MODULE_EXT ".so" | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH" | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib" | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_LIBDLLOADER 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_ADD 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_COUNT 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_WORKING_ARGZ 1 | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LTDL 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | /* end confdefs.h. */ | /* Define strlcpy to an innocuous variant, in case <limits.h> declares strlcpy. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define strlcpy innocuous_strlcpy | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strlcpy (); below. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | <limits.h> exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | | #undef strlcpy | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strlcpy (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strlcpy || defined __stub___strlcpy | choke me | #endif | | int | main () | { | return strlcpy (); | ; | return 0; | } configure:16173: result: no configure:16219: checking for gengetopt configure:16250: result: config/phc_missing gengetopt configure:16260: checking for gperf configure:16291: result: config/phc_missing gperf configure:16301: checking for flex configure:16319: found /usr/bin/flex configure:16332: result: /usr/bin/flex configure:16342: checking for bison configure:16360: found /usr/bin/bison configure:16373: result: /usr/bin/bison configure:16383: checking for valgrind configure:16416: result: no configure:16423: checking for dot configure:16441: found /usr/bin/dot configure:16453: result: /usr/bin/dot configure:16463: checking for gc configure:16481: found /usr/bin/gc configure:16493: result: /usr/bin/gc configure:16550: checking for maketea configure:16581: result: config/phc_missing maketea configure:16730: checking for php configure:16748: found /usr/local/bin/php configure:16760: result: /usr/local/bin/php configure:16784: checking for zend_eval_string in -lphp5 configure:16810: gcc -o conftest -isystem/usr/local/include/php -isystem/usr/local/include/php/main -isystem/usr/local/include/php/TSRM -isystem/usr/local/include/php/Zend -g -O2 -L/usr/local/lib conftest.c -lphp5 -ldl >&5 configure:16810: $? = 0 configure:16819: result: yes configure:16836: checking for sapi/embed/php_embed.h configure:16836: gcc -c -isystem/usr/local/include/php -isystem/usr/local/include/php/main -isystem/usr/local/include/php/TSRM -isystem/usr/local/include/php/Zend -g -O2 conftest.c >&5 configure:16836: $? = 0 configure:16836: result: yes configure:16861: checking whether compiler supports covariant returns configure:16882: g++ -c -g -O2 conftest.cpp >&5 configure:16882: $? = 0 configure:16884: result: yes configure:16899: checking for /usr/lib/libCrun.so.1 configure:16915: g++ -o conftest -g -O2 conftest.cpp /usr/lib/libCrun.so.1 -lphp5 -L/usr/local/lib -R/usr/local/lib -ldl >&5 g++: error: /usr/lib/libCrun.so.1: No such file or directory g++: error: unrecognized option '-R' configure:16915: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define LT_MODULE_EXT ".so" | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH" | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib" | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_LIBDLLOADER 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_ADD 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_COUNT 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_WORKING_ARGZ 1 | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LTDL 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define LT_LIBEXT "a" | #define LT_LIBPREFIX "lib" | #define PHP_INSTALL_PATH "/usr/local" | #define HAVE_EMBED 1 | /* end confdefs.h. */ | | | int | main () | { | return main (); | ; | return 0; | } configure:16922: result: no configure:16981: checking for boostlib >= 1.35.0 configure:17035: g++ -c -g -O2 -I/usr/include conftest.cpp >&5 configure:17035: $? = 0 configure:17037: result: yes configure:17202: checking whether the Boost::Regex library is available configure:17225: g++ -c -g -O2 -I/usr/include conftest.cpp >&5 configure:17225: $? = 0 configure:17239: result: yes configure:17250: checking for exit in -lboost_regex-mt configure:17275: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib conftest.cpp -lboost_regex-mt -lphp5 -L/usr/local/lib -R/usr/local/lib -ldl >&5 g++: error: unrecognized option '-R' configure:17275: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define LT_MODULE_EXT ".so" | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH" | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib" | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_LIBDLLOADER 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_ADD 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_COUNT 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_WORKING_ARGZ 1 | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LTDL 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define LT_LIBEXT "a" | #define LT_LIBPREFIX "lib" | #define PHP_INSTALL_PATH "/usr/local" | #define HAVE_EMBED 1 | #define HAVE_BOOST /**/ | #define HAVE_BOOST_REGEX /**/ | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char exit (); | int | main () | { | return exit (); | ; | return 0; | } configure:17285: result: no configure:17250: checking for exit in -lboost_regex-mt configure:17285: result: no configure:17250: checking for exit in -lboost_regex configure:17275: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib conftest.cpp -lboost_regex -lphp5 -L/usr/local/lib -R/usr/local/lib -ldl >&5 g++: error: unrecognized option '-R' configure:17275: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "phc" | #define PACKAGE_TARNAME "phc" | #define PACKAGE_VERSION "0.3.0" | #define PACKAGE_STRING "phc 0.3.0" | #define PACKAGE_BUGREPORT "phc-general@phpcompiler.org" | #define PACKAGE_URL "" | #define PACKAGE "phc" | #define VERSION "0.3.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define LT_MODULE_EXT ".so" | #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH" | #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib" | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_LIBDLLOADER 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_ADD 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_COUNT 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_WORKING_ARGZ 1 | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LTDL 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define LT_LIBEXT "a" | #define LT_LIBPREFIX "lib" | #define PHP_INSTALL_PATH "/usr/local" | #define HAVE_EMBED 1 | #define HAVE_BOOST /**/ | #define HAVE_BOOST_REGEX /**/ | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char exit (); | int | main () | { | return exit (); | ; | return 0; | } configure:17285: result: no configure:17250: checking for exit in -lboost_regex configure:17285: result: no configure:17250: checking for exit in -lboost_regex configure:17285: result: no configure:17387: error: Could not link against boost_regex ! ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_argz_add=yes ac_cv_func_argz_append=yes ac_cv_func_argz_count=yes ac_cv_func_argz_create_sep=yes ac_cv_func_argz_insert=yes ac_cv_func_argz_next=yes ac_cv_func_argz_stringify=yes ac_cv_func_closedir=yes ac_cv_func_dlerror=yes ac_cv_func_dlopen=no ac_cv_func_opendir=yes ac_cv_func_readdir=yes ac_cv_func_shl_load=no ac_cv_func_strlcat=no ac_cv_func_strlcpy=no ac_cv_have_decl_lt_dlinterface_register=yes ac_cv_header_argz_h=yes ac_cv_header_dirent_h=yes ac_cv_header_dl_h=no ac_cv_header_dld_h=no ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_ltdl_h=yes ac_cv_header_mach_o_dyld_h=no ac_cv_header_memory_h=yes ac_cv_header_sapi_embed_php_embed_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_dl_h=no ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=i686-pc-linux-gnu ac_cv_lib_boost_regex___exit=no ac_cv_lib_boost_regex_mt___exit=no ac_cv_lib_dl_dlopen=yes ac_cv_lib_dld_dld_link=no ac_cv_lib_dld_shl_load=no ac_cv_lib_ltdl_lt_dladvise_preload=yes ac_cv_lib_php5_zend_eval_string=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_bison=/usr/bin/bison ac_cv_path_dot=/usr/bin/dot ac_cv_path_flex=/usr/bin/flex ac_cv_path_gengetopt='config/phc_missing gengetopt' ac_cv_path_gperf='config/phc_missing gperf' ac_cv_path_graphviz_gc=/usr/bin/gc ac_cv_path_install='/usr/bin/install -c' ac_cv_path_maketea='config/phc_missing maketea' ac_cv_path_mkdir=/bin/mkdir ac_cv_path_php=/usr/local/bin/php ac_cv_prog_AWK=mawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes ac_cv_search_dlopen=-ldl ac_cv_type_error_t=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 ax_cv_boost_regex=yes libltdl_cv_lib_dl_dlopen=yes libltdl_cv_preloaded_symbols=yes libltdl_cv_shlibext=.so lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl lt_cv_dlopen_self=yes lt_cv_dlopen_self_static=no lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_module_path_var=LD_LIBRARY_PATH lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_LDCXX=/usr/bin/ld lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_compiler_static_works_CXX=yes lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=no lt_cv_sys_argz_works=yes lt_cv_sys_dlopen_deplibs=yes lt_cv_sys_dlsearch_path='/lib /usr/lib /usr/lib/i386-linux-gnu/mesa /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu /usr/local/lib ' lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=1572864 lt_cv_sys_symbol_underscore=no lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /opt/phc-0.3.0.1/config/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /opt/phc-0.3.0.1/config/missing --run tar' AR='ar' ARGZ_H='' AUTOCONF='${SHELL} /opt/phc-0.3.0.1/config/missing --run autoconf' AUTOHEADER='${SHELL} /opt/phc-0.3.0.1/config/missing --run autoheader' AUTOMAKE='${SHELL} /opt/phc-0.3.0.1/config/missing --run automake-1.11' AWK='mawk' BOOST_CPPFLAGS='-I/usr/include' BOOST_LDFLAGS='-L/usr/lib' BOOST_R