php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27140 buildconf does not find system libtool 1.4.3
Submitted: 2004-02-04 04:55 UTC Modified: 2004-04-19 13:34 UTC
From: jari dot aalto at poboxes dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5CVS-2004-02-04 (dev) OS: W2k/Cygwin
Private report: No CVE-ID: None
 [2004-02-04 04:55 UTC] jari dot aalto at poboxes dot com
Description:
------------
I checked out the CVS version and ensured that I have right libtool installed. However, the ./buildconf somehow finds the previous installation of libtool. My question is, shouldn't it rely on the system installed libtool instead?

How exactly it tests the version of current libtool, maybe that would help to debug this problem.

This is W2k/cygwin www.cygwin.com

root@w2kpicasso:/usr/src/cvs-source/php-src# which libtool
/bin/libtool
root@w2kpicasso:/usr/src/cvs-source/php-src# libtool --version
ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54)


root@w2kpicasso:/usr/src/cvs-source/php-src# ./buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: libtool version 1.4.2 found.
           You need libtool version 1.4.3 or newer installed
           to build PHP from CVS.
make: *** [buildmk.stamp] Error 1
root@w2kpicasso:/usr/src/cvs-source/php-src# libtool --


Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-04 14:58 UTC] helly@php.net
Presumably you have libtool 1.4.2 in /usr/local/bin which should be prefered over /usr/bin/libtool. If that's the case then it is expected behavior since that's the sense of having /usr/local/....
 [2004-02-04 19:33 UTC] sniper@php.net
Use the snapshots. You don't need to run buildconf for those.

 [2004-02-14 08:25 UTC] jari dot aalto at poboxes dot com
The CVS is faster than getting snapshots (bandwidth).
Regarding the libtool, no I do not have it in /usr/local, but I do have /usr/local/bin/libtoolize which is checked by

   build/shtool path glibtoolize libtoolize

buildconf should trust PATH because otherwise the checks are done behind user's environment settings by simply trusting

   libtool --version


I removed /usr/local/libtoolize and now it says:

root@w2kpicasso:/usr/src/cvs-source/php-src# ./buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: libtool version 1.4.3 (ok)
buildconf: /share/aclocal/libtool.m4 does not exist.
           Please reinstall libtool.
make: *** [buildmk.stamp] Error 1


I have it installed in /usr/autotool/stable/share/aclocal

Perhaps this is similar check that does not trust the libtoolize is installed?
 [2004-04-19 13:34 UTC] jari dot aalto at poboxes dot com
I've investigated this further. There is problem in checking Cygwin in general. See my bug report #28056 which includes patches.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Aug 14 06:01:30 2024 UTC