ID:               50190
 User updated by:  ralphdoncaster at gmail dot com
 Reported By:      ralphdoncaster at gmail dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Apache2 related
 Operating System: AIX 5.3
 PHP Version:      5.2.11
 New Comment:

I don't have gnu diff installed, but I think the diff is a red herring
anyway; we know it's the difference between 1.5.20 & 1.5.26.

I think the issue may be the version of autoconf used to build the
distribution configure script(if libtool is included as part of
autoconf, which I'm not so sure it is).  Since the date stamp for 1.5.26
is 2008/01/30, if autoconf 2.61 or earlier was used to build configure,
it can't have included libtool 1.5.26.  build/buildcheck.sh only
requires autoconf 2.13 or newer.

If autoconf just uses the version of libtool installed on the
distribution build box, then maybe changing libtool.m4:1236 might work:
need_version=no
to:
need_version=1.5.26
might work.

I tried rebuilding configure (I have autoconf 2.59 and no libtool
installed).  The libtool that was created after running configure was
still 1.5.20. here's what I ran:
autoconf
./configure
./libtool --version


Previous Comments:
------------------------------------------------------------------------

[2009-11-17 09:14:09] j...@php.net

How about a 'diff -u' between the PHP libtool and Apache libtool?

------------------------------------------------------------------------

[2009-11-16 17:11:32] ralphdoncaster at gmail dot com

configure generates the libtool script, so after running configure I
replaced it with the newer version that comes with apache2.
lrwxrwxrwx    1 root     system           32 Nov 13 13:19 libtool ->
/usr/local/apache2/build/libtool

I have no experience with autoconf, and my only m4 experience is from a
bit of sendmail twiddling.  When I searched the bugs db I saw some
references to libtool getting included with autoconf, so whoever did
that would probably be able to create a patch much easier than I could.

------------------------------------------------------------------------

[2009-11-16 16:12:05] j...@php.net

Exactly how did you replace it? If you have a patch, feel free to
provide one. See build/libtool.m4 for more..

------------------------------------------------------------------------

[2009-11-16 14:49:48] ralphdoncaster at gmail dot com

Description:
------------
libtool 1.5.20 is bundled with PHP.  This version does not copy
libphp5.so on make install.
libtool 1.5.26 works properly

This seems to have already been reported as bug #48427, but was closed
as bogus (nobody realized the problem is with libtool, not gnu ld)


Reproduce code:
---------------
./configure --with-apxs2=/usr/local/apache2/bin/apxs
make install


Expected result:
----------------
libphp5.so should get copied to apache2 modules dir


Actual result:
--------------
it fails

I replaced libtool 1.5.20 with 1.5.26 from the apache2 build, then make
install works fine.

bash-3.2# ./libtool --version
ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)

Copyright (C) 2008  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
bash-3.2# ./libtool.old/libtool --version
ltmain.sh (GNU libtool) 1.5.20 (1.1220.2.287 2005/08/31 18:54:15)

Copyright (C) 2005  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=50190&edit=1

Reply via email to