Bug #67091 [NEW]: make install fails to install libphp5.so
| From: | cakersq at gmail dot com | Date: | Thu, 17 Apr 2014 00:41:28 +0000 |
| Subject: | Bug #67091 [NEW]: make install fails to install libphp5.so | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-185313@lists.php.net to get a copy of this message | ||
From: cakersq at gmail dot com
Operating system: FreeBSD 10.0-STABLE
PHP version: 5.5.11
Package: Apache2 related
Bug Type: Bug
Bug description:make install fails to install libphp5.so
Description:
------------
I'm compiling PHP 5.5.11 on FreeBSD 10.0-STABLE amd64, to be a module in
Apache 2.4.9, using a minimum configuration. 'Configure', and 'make'
succeed, 'make install' fails when installing libphp5.so, and only
installs the .a static library. Apache works correctly with other .so
modules, just not Apache. See all dependencies configuration and
methods below. There are no major errors or warnings from the configure
or make steps.
Test script:
---------------
+ tar -xf perl-5.18.2.tar.gz
+ cd perl-5.18.2
+ ./Configure -de
+ make
+ make install
+ tar -xf pcre-8.35.tar.bz2
+ cd pcre-8.35
+ ./configure --prefix=/usr/local --mandir=/usr/local/man
+ make
+ make install
+ tar -xf apr-1.5.0.tar.bz2
+ cd apr-1.5.0
+ ./configure --prefix=/usr/local
--with-installbuilddir=/usr/local/share/apr
+ make
+ make install
+ tar -xf apr-util-1.5.3.tar.bz2
+ cd apr-util-1.5.3
+ ./configure --prefix=/usr/local --with-apr=/usr/local
+ make
+ make install
+ tar -xf httpd-2.4.9.tar.bz2
+ cd httpd-2.4.9
+ ./configure --enable-layout=FreeBSD
+ make
+ make install
+ tar -xf libxml2-2.9.1.tar.gz
+ cd libxml2-2.9.1
+ ./configure --mandir=/usr/local/man
+ make
+ make install
+ tar -xf php-5.5.11.tar.bz2
+ cd php-5.5.11
+ ./configure --mandir=/usr/local/man
--with-config-file-path=/usr/local/etc --with-apxs2
...
+ make
...
+ make install
Installing PHP SAPI module: apache2handler
/usr/local/share/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/share/apr/libtool' libphp5.la
/usr/local/libexec/apache2
/usr/local/share/apr/libtool --mode=install install libphp5.la
/usr/local/libexec/apache2/
libtool: install: install .libs/libphp5.lai
/usr/local/libexec/apache2/libphp5.la
libtool: install: install .libs/libphp5.a
/usr/local/libexec/apache2/libphp5.a
libtool: install: chmod 644 /usr/local/libexec/apache2/libphp5.a
libtool: install: ranlib /usr/local/libexec/apache2/libphp5.a
libtool: install: warning: remember to run `libtool --finish
/root/build/php/php-5.5.11/libs'
Warning! dlname not found in /usr/local/libexec/apache2/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/libexec/apache2/libphp5.so
chmod: /usr/local/libexec/apache2/libphp5.so: No such file or directory
apxs:Error: Command failed with rc=65536
.
*** Error code 1
Stop.
make: stopped in /root/build/php/php-5.5.11
Expected result:
----------------
'make install' will put libphp5.so in /usr/local/libexec/apache2/
Actual result:
--------------
libphp5.a and libphp5.la are put in /usr/local/libexec/apache2, but not
the shared object.
--
Edit bug report at https://bugs.php.net/bug.php?id=67091&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=67091&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=67091&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=67091&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=67091&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=67091&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=67091&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=67091&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=67091&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=67091&r=support
Expected behavior: https://bugs.php.net/fix.php?id=67091&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=67091&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=67091&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=67091&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67091&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=67091&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=67091&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=67091&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=67091&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=67091&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=67091&r=mysqlcfg