automake
[Top][All Lists]
Advanced

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

Re: installing automake 1.9.5 and now libtool isn't working properly.


From: Dale Walsh
Subject: Re: installing automake 1.9.5 and now libtool isn't working properly.
Date: Sat, 14 Jan 2006 14:19:35 -0500


On Jan 14, 2006, at 07:47 , Peter O'Gorman wrote:

Dale Walsh wrote:

I think that the problem is that aclocal is picking up a different version of libtool.m4 than it should. It looks like you have a modern ltmain.sh and an old libtool.m4, thus meaning SED (and a whole bunch of other things) is undefined.
OK, but if I'm installing both autoconf/automake, shouldn't it install new ltmain.sh and libtool.m4 files???

ltmain.sh and libtool.m4 are installed when you build and install gnu libtool.

If it's installing one and not the other, how can I remedy this?
If I need to edit a file, which file?
Please install the latest gnu libtool (1.5.22) in the same prefix that you installed automake (use --program-prefix=g during configure of libtool to get glibtool/glibtoolize) and try again. I usually ensure that my automake/autoconf and libtool are all installed in the same prefix - /usr/local, or whereever you like, it causes no end of grief otherwise.
"--program-prefix=g" is not required to install libtool, it does this automatically when it detects Mac OSX.

Sorry, no. I guess I dropped the ball on that patch, libtool does not automatically do --program-prefix=g.

I'm sorry too, I was the person who worked this out with you and Ralph back in March 2005 for v1.5.15a (see below).

Whatever are the problems with Apple's perl that you're talking about?

You aren't building things with --prefix=/usr, are you? I don't understand why you'd need to reinstall your OS to recover from this situation.
It is my intention to install in /usr
Trying to reinstall the developer tools fails.

I can only advise you strongly to not install in /usr.

I can understand the logic and reasoning behind this however, since I generate my own OS software updates I don't have to worry about Apple destroying anything however I need to keep as much Apple functionality alive as I can for software compatibility.

Peter


Index: NEWS
===================================================================
RCS file: /cvsroot/libtool/libtool/NEWS,v
retrieving revision 1.109.2.26
diff -u -r1.109.2.26 NEWS
--- NEWS 12 Feb 2005 13:54:43 -0000 1.109.2.26
+++ NEWS 4 Mar 2005 14:30:27 -0000
@@ -1,6 +1,8 @@
NEWS - list of user-visible changes between releases of GNU Libtool

New in 1.5.15a: 2005-??-??; CVS version 1.5.15a, Libtool team:
+* Install libtool as glibtool on darwin unless a different transformation
+  was specified.
* Bug Fixes.
New in 1.5.14: 2005-02-12; CVS version 1.5.13a, Libtool team:
Index: configure.ac
===================================================================
RCS file: /cvsroot/libtool/libtool/configure.ac,v
retrieving revision 1.14.2.20
diff -u -r1.14.2.20 configure.ac
--- configure.ac 12 Feb 2005 13:54:43 -0000 1.14.2.20
+++ configure.ac 4 Mar 2005 14:30:27 -0000
@@ -133,6 +133,15 @@
AC_PROG_LIBTOOL


+## ----------------------------------------------- ##
+## Change libtool -> glibtool at install on darwin ##
+## if no other transformations were specifeid      ##
+## ----------------------------------------------- ##
+case ${program_prefix}${program_suffix}${program_transform_name}$ {host_os} in
+     NONENONEs,x,x,darwin*)
+                           program_transform_name=[s,libtool\$\$,glibtool,]
+                           ;;
+esac

## -------- ##
## Outputs. ##






reply via email to

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