[mpich-devel] Mac autogen.sh fails

Jeff Hammond jeff.science at gmail.com
Thu Dec 7 15:51:40 CST 2017


autogen.sh is failing for me on Mac because Apple's libtool is not in the
same place as Homebrew's autoconf/automake.  I perused autogen.sh but
didn't see an option to fix this.

I need to use Homebrew autotools for other projects and don't want to
uninstall Xcode for obvious reasons.  Is there a workaround besides hacking
autogen.sh and hating myself?  I'd like to cause it to glibtool instead.

If nothing else, autogen.sh incorrectly prints the location of libtool.  It
is in /usr/bin not /.

Thanks,

Jeff

jrhammon-mac01:git jrhammon$ which libtool
/usr/bin/libtool
jrhammon-mac01:git jrhammon$ which autoconf
/usr/local/bin/autoconf
jrhammon-mac01:git jrhammon$ which automake
/usr/local/bin/automake
jrhammon-mac01:git jrhammon$ which glibtool
/usr/local/bin/glibtool


jrhammon-mac01:git jrhammon$ ./autogen.sh

####################################
## Checking user environment
####################################

Verifying the location of autogen.sh... done
usage: dirname path
Checking if autotools are in the same location... no
autoconf is in /usr/local
automake is in /usr/local
libtool  is in /
===> WARNING: Autotools are in different locations. In rare occasion,
===> WARNING: resulting configure or makefile may fail in some unexpected
ways.
Checking if autoreconf accepts -I //share/aclocal... no
Checking if autoreconf works after an additional libtoolize step... no
===> ERROR:   Since none of the autoreconf workaround works
===> ERROR:   and autotools are not in the same directory, aborting...
===> ERROR:   Updating autotools or putting all autotools in the same
location
===> ERROR:   may resolve the issue.


--
Jeff Hammond
jeff.science at gmail.com
http://jeffhammond.github.io/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/devel/attachments/20171207/b412f83c/attachment.html>


More information about the devel mailing list