From: crytosky at hotmail dot com Operating system: openSUSE 10.3 (i586) PHP version: 5.4.4 Package: Compile Failure Bug Type: Bug Bug description:php make doesn't generate libphp5.so
Description: ------------ --- >From manual page: http://www.php.net/install.unix --- I'm trying to build and install php form source, the pkg I downloaded is php-5.4.4.tar.gz. The infomation about my platform is as follows: jack@linux-lc4j:~> cat /etc/SuSE-release openSUSE 10.3 (i586) VERSION = 10.3 jack@linux-lc4j:~> uname -a Linux linux-lc4j 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC i686 i686 i386 GNU/Linux jack@linux-lc4j:~> gcc -v Using built-in specs. Target: i586-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.2.1 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.2 --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=i586-suse-linux Thread model: posix gcc version 4.2.1 (SUSE Linux) When running configure, whether with "--with-gnu-ld" option or not, the following info shows near the end: Configuring libtool checking for ld used by cc... /usr/i586-suse-linux/bin/ld checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognize dependent libraries... pass_all checking the maximum length of command line arguments... 98304 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes 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... no checking whether to build static libraries... yes As a result, after running make, libphp5.so is not created. Check the following bug reports: https://bugs.php.net/bug.php?id=39197 https://bugs.php.net/bug.php?id=40268 Seems it's still there with 5.4.4 on some platforms. Is there any thorough solution? Or any workround with more documentations? Thanks in advance! -- Edit bug report at https://bugs.php.net/bug.php?id=62355&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62355&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62355&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62355&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62355&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62355&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62355&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62355&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62355&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62355&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62355&r=support Expected behavior: https://bugs.php.net/fix.php?id=62355&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62355&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62355&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62355&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62355&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=62355&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62355&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62355&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62355&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62355&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62355&r=mysqlcfg