php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33007 PHP fails to build .so
Submitted: 2005-05-11 08:21 UTC Modified: 2005-05-20 01:00 UTC
From: nickt at nicktemple dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.3.11 OS: Liinux 2.4.21 RHEL
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-05-11 08:21 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-12 11:56 UTC] sniper@php.net
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






 [2005-05-20 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 23:01:32 2024 UTC