[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: autogen.sh produce wrong path to aclocal

From: Branko Čibej <brane_at_apache.org>
Date: Sun, 8 May 2016 06:44:45 +0200

On 08.05.2016 06:27, Blaxton wrote:
> autogen.sh is producing wrong path to aclocal:
>
> autogen.sh[83]: /bin/../share/aclocal: not found
> /libtool.m4 not found (try setting the LIBTOOL_M4 environment variable)
>
> I have checked autogen.sh:
> below line determine location of libtoolize :
> libtoolize="`./build/PrintPath glibtoolize libtoolize glibtoolize1
> libtoolize15 libtoolize14`"
> which in my system is
> /bin/libtoolize and it is symlinked to /opt/freeware/bin/libtoolize
>
> then below line set ltpath to bin rather than /opt/freeware/bin
> ltpath="`dirname $libtoolize`"
>
> and below line:
> if [ -d "$ltpath/../share/aclocal/." ]; then
> ltm4=`cd "$ltpath/../share/aclocal" && pwd`
>
> throws below error:
> autogen.sh[83]: /bin/../share/aclocal: not found
> /libtool.m4 not found (try setting the LIBTOOL_M4 environment variable)
>
> how can I fix this ?
> Do I need to change the autogen or I can pass a variable to autogen.sh ?

Well, _did_ you try setting the LIBTOOL_M4 envrironment variable, like
the error message suggests?

Something like:

    env LIBTOOL_M4=/opt/freeware/share/aclocal ./autogen.sh

-- Brane
Received on 2016-05-08 06:44:51 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.