On 2001-05-12 12:10:57, "Sebastian Bergmann" <[EMAIL PROTECTED]>
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.


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to