ID: 40239 User updated by: damokles at gmx dot net Reported By: damokles at gmx dot net -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Linux PHP Version: 5.2.0 New Comment:
fp_except x = (fp_except) 0; ; return 0; } configure:103600: checking for dlfcn.h configure:103638: checking whether dlsym() requires a leading underscore in symbol names configure:103706: gcc -o conftest -I/usr/include -g -O2 -pthread -D_REENTRANT conftest.c 1>&5 /tmp/ccSBAPb1.o(.text+0x32): In function `main': /usr/src/php-5.2.0/configure:103692: undefined reference to `dlopen' /tmp/ccSBAPb1.o(.text+0x49):/usr/src/php-5.2.0/configure:103697: undefined reference to `dlsym' /tmp/ccSBAPb1.o(.text+0x6d):/usr/src/php-5.2.0/configure:103698: undefined reference to `dlsym' collect2: ld returned 1 exit status configure:103811: checking virtual machine dispatch method configure:103815: checking whether to enable thread-safety configure:103819: checking whether to enable inline optimization for GCC configure:103823: checking whether to enable a memory limit configure:103827: checking whether to enable Zend debugging configure:103831: checking whether to enable Zend multibyte configure:103916: checking for inline configure:103959: checking target system is Darwin configure:103971: checking for MM alignment and log values configure:104015: gcc -o conftest -I/usr/include -g -O2 -pthread -DZTS -D_REENTRANT conftest.c 1>&5 configure:104040: checking for memory allocation using mmap(MAP_ANON) configure:104084: gcc -o conftest -I/usr/include -g -O2 -pthread -DZTS -D_REENTRANT conftest.c 1>&5 configure:104106: checking for memory allocation using mmap(/dev/zero) configure:104160: gcc -o conftest -I/usr/include -g -O2 -pthread -DZTS -D_REENTRANT conftest.c 1>&5 configure:104184: checking for mremap configure:104212: gcc -o conftest -I/usr/include -g -O2 -pthread -DZTS -D_REENTRANT conftest.c 1>&5 configure:104279: checking for stdarg.h configure:104493: gcc -o conftest -I/usr/include -g -O2 -pthread -DZTS -pthread -D_REENTRANT conftest.c 1>&5 configure:104513: checking for pthreads_cflags configure:104583: checking for pthreads_lib configure:104674: checking for POSIX threads configure:105262: checking build system type configure:105291: checking for ld used by /usr/src/php-5.2.0/meta_ccld configure:105363: checking if the linker (/usr/bin/ld) is GNU ld configure:105383: checking for /usr/bin/ld option to reload object files configure:105408: checking for BSD-compatible nm configure:105454: checking how to recognise dependent libraries configure:105632: checking for object suffix configure:105638: /usr/src/php-5.2.0/meta_ccld -c -I/usr/include -g -O2 -pthread -DZTS -D_REENTRANT conftest.c 1>&5 configure:105658: checking for executable suffix configure:105668: /usr/src/php-5.2.0/meta_ccld -o conftest -I/usr/include -g -O2 -pthread -DZTS -D_REENTRANT conftest.c 1>&5 configure:105859: checking for c++ configure:105859: checking for g++ configure:105859: checking for gcc configure:105891: checking whether the C++ compiler (gcc -pthread ) works configure:105907: gcc -o conftest -pthread -D_REENTRANT conftest.C 1>&5 gcc: installation problem, cannot exec `cc1plus': No such file or directory configure: failed program was: #line 105902 "configure" #include "confdefs.h" int main(){return(0);} Previous Comments: ------------------------------------------------------------------------ [2007-01-25 17:14:46] [EMAIL PROTECTED] What's in your config.log ? ------------------------------------------------------------------------ [2007-01-25 17:12:57] damokles at gmx dot net Description: ------------ ./configure with the options from reproduce code fails for me though 5.1.6 has no problem configuring and compiling with this. The last lines of the configure script are: checking for gcc... gcc checking whether the C++ compiler (gcc -pthread ) works... no configure: error: installation or configuration problem: C++ compiler cannot create executables. Reproduce code: --------------- ./configure --prefix=/usr --with-apxs2=/usr/bin/apxs2 --with-regex=php --with-config-file-path=/etc/php5 --disable-rpath --enable-memory-limit -disable-debug --with-layout=GNU -with-pear=/usr/share/php --enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-track-vars --enable-trans-sid --enable-bcmath --with-bz2 --enable-ctype --with-db4 --with-iconv -enable-exif --enable-filepro --enable-ftp --with-gettext --enable-mbstring --enable-shmop --enable-sockets --enable-wddx --enable-xml --with-expat-dir=/usr --with-xmlrpc --enable-yp --with-zlib --without-pgsql --with-kerberos=/usr --with-openssl=/usr --enable-dbx --with-mime-magic=/usr/share/misc/file/magic.mime --with-exec-dir=/usr/lib/php5/libexec --disable-static --with-curl=shared,/usr --with-dom=shared,/usr --with-dom-xslt=shared,/usr --with-dom-exslt=shared,/usr --with-zlib-dir=/usr --with-gd=shared,/usr --enable-gd-native-ttf --with-jpeg-dir=shared,/usr --with-xpm-dir=shared,/usr/X11R6 -with-png-dir=shared,/usr --with-freetype-dir=shared,/usr --with-imap=shared,/usr --with-imap-ssl --with-ldap=shared,/usr --with-mcal=shared,/usr --with-mhash=shared,/usr --without-mm --with-mysql=shared,/usr --enable-xslt=shared --with-xslt-sablot=shared,/usr --with-snmp=shared,/usr --with-sybase-ct=shared,/usr --with-ttf=shared,/usr --with-t1lib=shared,/usr --enable-maintainer-zts Expected result: ---------------- I'd expect the same output as in 5.1.6 :) Actual result: -------------- checking for gcc... gcc checking whether the C++ compiler (gcc -pthread ) works... no configure: error: installation or configuration problem: C++ compiler cannot create executables. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40239&edit=1