[mpich-devel] Mac autogen.sh fails
Bland, Wesley
wesley.bland at intel.com
Fri Dec 8 09:20:26 CST 2017
Ugh. I can confirm that this is happening and it only seems to be in master. The v3.2.1 tag doesn't have this problem. This must have come from all of our messing with the autogen.sh script.
On Dec 7, 2017, at 3:51 PM, Jeff Hammond <jeff.science at gmail.com<mailto:jeff.science at gmail.com>> wrote:
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<mailto:jeff.science at gmail.com>
http://jeffhammond.github.io/
_______________________________________________
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/devel/attachments/20171208/5faefbe4/attachment.html>
More information about the devel
mailing list