[zeromq-dev] Problem with libtool --version in autogen.sh
Chris Wong
chris at chriswongstudio.com
Sun Mar 14 21:30:40 CET 2010
I assume you're using MacPorts' build of libtool?
the autogen.sh step is a one-time thing. So, if you create a symlink in /opt/bin/libtool to glibtool and /opt/bin/m4 to /opt/bin/gm4, that should solve your problem. Remove the symlink after you're done.
Chris
On Mar 12, 2010, at 8:35 PM, Brian Granger wrote:
> Hi,
>
> I just grabbed the latest trunk and ran:
>
> $ autogen.sh
>
> Could not find libtool, libtool.m4 macro is probably not installed.
>
> I tracked this down to this commit:
>
> http://github.com/sustrik/zeromq2/commit/ff99d753ae30a7b5fef730fdcf1643e2928d9993
>
> Where a the line:
>
> libtool --version ....
>
> was added to autogen.sh.
>
> It turns out that Mac OS X has two libtools:
>
> glibtool: GNU libtool. This has the --version switch
> libtool: Apples version that does not have the --version switch
>
> I don't know which is used in building zeromq, but it doesn work.
> However, the line "libtool --version" does not
> work on OS X. One option would be to change this to "glibtool
> --version" on OS X, but that might be confusing
> as I am not sure the glibtool is the one being used for the build.
>
> Commenting out the test for libtool in autogen.sh makes it all work though.
>
> Cheers,
>
> Brian
>
>
> --
> Brian E. Granger, Ph.D.
> Assistant Professor of Physics
> Cal Poly State University, San Luis Obispo
> bgranger at calpoly.edu
> ellisonbg at gmail.com
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list