#33007 [Opn->Fbk]: PHP fails to build .so
| From: | sniper@php.net | Date: | Thu, 12 May 2005 09:56:20 +0000 |
| Subject: | #33007 [Opn->Fbk]: PHP fails to build .so | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-78927@lists.php.net to get a copy of this message | ||
ID: 33007
Updated by: sniper@php.net
Reported By: nickt at nicktemple dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Liinux 2.4.21 RHEL
PHP Version: 4.3.11
New Comment:
Using the exact same configure line with 4.3.10 and 4.3.11,
can you provide an unified diff of the generated Makefile's?
Something like this
# diff -u php-4.3.10/Makefile php-4.3.11/Makefile > makefile.diff
Don't paste the diff here, but send it to me: sniper@php.net
Previous Comments:
------------------------------------------------------------------------
[2005-05-11 08:21:21] nickt at nicktemple dot com
Description:
------------
When building php4.11, it refuses to build the .so needed for apache.
Tried every configuration I could think of.
Using the exact same configuration on 4.3.10, however, PHP builds
without a problem.
Reproduce code:
---------------
./configure --prefix=/home/imts \
--with-apxs=/home/imts/bin/apxs \
--enable-so \
--enable-shared \
--with-xml \
--enable-bcmath\
--enable-calendar \
--with-curl \
--enable-ftp \
--with-gd \
--with-jpeg-dir=/usr/local \
--with-mysql=/usr \
--enable-discard-path \
--with-pear \
--enable-sockets \
--enable-track-vars \
--enable-versioning \
--with-xmlrpc \
--enable-sockets \
--with-zlib
Expected result:
----------------
Installing PHP SAPI module: apache
[activating module `php4' in /home/imts/conf/httpd.conf]
cp libs/libphp4.so /home/imts/libexec/libphp4.so
chmod 755 /home/imts/libexec/libphp4.so
cp /home/imts/conf/httpd.conf /home/imts/conf/httpd.conf.bak
cp /home/imts/conf/httpd.conf.new /home/imts/conf/httpd.conf
rm /home/imts/conf/httpd.conf.new
[etc]
Actual result:
--------------
Installing PHP SAPI module: apache
[activating module `php4' in /home/imts/conf/httpd.conf]
cp libs/libphp4.so /home/imts/libexec/libphp4.so
cp: cannot stat `libs/libphp4.so': No such file or directory
apxs:Break: Command failed with rc=1
make: *** [install-sapi] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33007&edit=1