php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32365 error in build php
Submitted: 2005-03-18 19:40 UTC Modified: 2005-03-20 17:43 UTC
From: tempo at kgs dot ru Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.10 OS: freebsd 5.3-p5
Private report: No CVE-ID: None
 [2005-03-18 19:40 UTC] tempo at kgs dot ru
Description:
------------
cd /usr/ports/www/mod_php
make - this ok
make install - failure

Expected result:
----------------
# make install
===>  Installing for mod_php4-4.3.10_2,1
===>   mod_php4-4.3.10_2,1 depends on file: /usr/local/sbin/apxs - found
===>   Generating temporary packing list
===>  Checking if www/mod_php4 already installed
Installing PHP SAPI module:       apache2handler
/usr/local/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/share/apache2/build/libtool' libphp4.la /usr/local/libexec/apache2
/usr/local/share/apache2/build/libtool --mode=install cp libphp4.la /usr/local/libexec/apache2/
libtool: install: `libphp4.la' is not a valid libtool archive
Try `libtool --help --mode=install' for more information.
apxs:Error: Command failed with rc=65536
.
*** Error code 1

Stop in /usr/ports/www/mod_php4/work/php-4.3.10.
*** Error code 1

Stop in /usr/ports/www/mod_php4.



Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-18 20:52 UTC] tempo at kgs dot ru
I tried the latest release , same error ...
 [2005-03-18 23:56 UTC] sniper@php.net
And what might the configure line be that you used..?

 [2005-03-19 16:57 UTC] tempo at kgs dot ru
config.status

 ./configure  --enable-versioning --enable-memory-limit --with-layout=GNU --with-config-file-scan
-dir=/usr/local/etc/php --disable-all --with-regex=php --with-apxs2=/usr/local/sbin/apxs --disable
-ipv6 --prefix=/usr/local i386-portbld-freebsd5.3

cd /usr/ports/lang/php4
make - this all ok
make install - this is fail.
 [2005-03-19 21:15 UTC] sniper@php.net
DO NOT use --enable-versioning configure option. 
Delete config.cache and rerun configure without that option.


 [2005-03-20 06:49 UTC] tempo at kgs dot ru
# ./configure  --enable-memory-limit --with-layout=GNU --with-config-file-scan-dir=/usr/local/etc/php --disabl
e-all --with-regex=php --with-apxs2=/usr/local/sbin/apxs --disable-ipv6 --prefix=/usr/local i386-portbld-freeb
sd5.3
and no ok, failed .
in file libphp4.la header is:
# libphp4.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4.3 (1.922.2.110 2002/10/23 01:39:54)
...
pkg_info |grep libtool
libtool-1.3.5_2     Generic shared library support script (version 1.3)
libtool-1.5.10_1    Generic shared library support script (version 1.5)
 [2005-03-20 17:43 UTC] sniper@php.net
This failure happens in Apache's instdso.sh script.
Not PHP bug -> bogus.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Aug 17 23:01:27 2024 UTC