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

autogen.sh produce wrong path to aclocal

From: Blaxton <blaxxton_at_yahoo.com>
Date: Sun, 8 May 2016 04:27:23 +0000 (UTC)

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/binltpath="`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 ?
Thanks
Received on 2016-05-08 06:30:38 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.