libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make Fails on Mac OS X 10.2


From: Peter O'Gorman
Subject: Re: Make Fails on Mac OS X 10.2
Date: Thu, 13 Jan 2005 11:46:53 +0900
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Derrick Spell wrote:
| I can't seem to install libtool on Mac OS X 10.2.  I get the error
| below.  Does anyone have any insight into this?  Is it possible to
| remove libtool completely and reinstall?
|
|
| libtool: unrecognized option `-arch_only'
| Try `libtool --help' for more information.
| make[2]: *** [libltdl.la] Error 1
| make[1]: *** [all] Error 2
| make: *** [all-recursive] Error 1

Looks like you replaced /usr/bin/libtool with GNU libtool, this is a bad
thing. Apple installs a completely different libtool in /usr/bin, if you
look at /usr/bin/ranlib, for example, you will see that it is a symlink
pointing to Apple's libtool. GNU libtool is installed as /usr/bin/glibtool
on Mac OS X.

You will have to reinstall the developer tools to get back your Apple
libtool, then you can install GNU libtool. I suggest that you avoid
- --prefix=/usr, it is generally a bad idea, and use
- --program-transform-name=s/libtool/glibtool/ when configuring GNU libtool on
Mac OS X.

Hope this helps,
Peter
- --
Peter O'Gorman - http://www.pogma.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)

iQCVAwUBQeXhHbiDAg3OZTLPAQLdvQQAkjDpCMIMD9l7Kx9P/XqTh+mgqoZThC6o
em2b719i0xDmOxIdP4Jl0TjGUBfWhZpGYFkaJRjdevZLst8qeldlEYWE/27X5KLN
VzPVFuLcJsiP1lb2FntTwP2X9nhk4//fhh+1dOWS6P7A0kGZm5sNDIFsCkEuV3XJ
OPVbfqy9AkI=
=JB1G
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]