Re: Latest CVS on Linux
| From: | Wez Furlong | Date: | Sat, 12 May 2001 12:59:55 +0000 |
| Subject: | Re: Latest CVS on Linux | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-55003@lists.php.net to get a copy of this message | ||
On 2001-05-12 12:10:57, "Sebastian Bergmann" <sb@sebastian-bergmann.de>
wrote:
> Hello there,
>
> yesterday I upgraded my SuSE 7.1 Linux box to libtool-1.4. I
I'm using SuSE 7.0 and I had a similar problem.
On my first run, I let libtool go into /usr/local (the default). After the
warnings, I decided to reverse that and put it into /usr.
I did this to get it to work, but I expect there is a better way:
Index: buildcheck.sh
===================================================================
RCS file: /repository/php4/build/buildcheck.sh,v
retrieving revision 1.8
diff -u -r1.8 buildcheck.sh
--- buildcheck.sh 2001/05/06 18:51:21 1.8
+++ buildcheck.sh 2001/05/12 12:44:32
@@ -81,11 +81,13 @@
fi
am_prefix=
which automake | sed -e 's#/[^/]*/[^/]*$##'
-lt_prefix=which $libtool | sed -e 's#/[^/]*/[^/]*$##'
+lt_prefix=echo $libtool | sed -e 's#/[^/]*/[^/]*$##'
if test "$am_prefix" != "$lt_prefix"; then
echo "WARNING: automake and libtool are installed in different"
echo " directories. This may cause aclocal to fail."
echo " continuing anyway"
+ which automake
+ echo $libtool
fi
exit 0
The problem is the $libtool includes full path to libtool, and the script
didn't expect that and failed to notice it.
Hope that helps: I'm not entirely sure if that is the full story...
--Wez.