[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: adding libraries and header file directories
From: |
Jim Rainville |
Subject: |
RE: adding libraries and header file directories |
Date: |
Sun, 12 Nov 2006 18:13:23 +0100 |
Hi Ralf -
Just a follow up to this:
I think I can make this work if AM_LIBTOOLSFLAGS is supported. I
upgraded autoconf to 2.6 so automake and autoconf are happy working
together. I still get the error that the AM_LIBTOOLSFLAGS directory is
not there. I greped in /usr/local/aclocal-1.10 for this macro but its
not there. Where should this macro exist?
Thanks.
Jim
-----Original Message-----
From: Jim Rainville
Sent: Friday, November 10, 2006 6:50 AM
To: 'Ralf Wildenhues'
Cc: address@hidden
Subject: RE: adding libraries and header file directories
Hi Ralf -
I'm still struggling with this. I can link by executing the link
manually as you suggested for testing but I'm still having problems
automating it form autoconf/automake. The package I'm using only
supports up to automake 1.9 (that's the highest that is set in the
bootstrap script). But I modified the bootstrap script so that it would
check and use 1.10. When I run the bootstrap script I get the output
below. So, I have 3 questions:
1) Is there any way to set the --preserve-dup-deps flag with automake
1.9?
2) Why do I still get the error 'AM_LIBTOOLSFLAGS' not found in library?
3) What changes have to be made to go from 1.9 to 1.10?
Thanks for your help.
Jim
+ aclocal-1.10 -I m4
/usr/share/aclocal/xml-i18n-tools.m4:27: the serial number must appear
before any macro definition
configure.ac:80: warning: macro `AM_LIBTOOLFLAGS' not found in library
configure.ac:19: error: Autoconf version 2.60 or higher is required
/usr/share/aclocal-1.10/init.m4:103: AM_INIT_AUTOMAKE is expanded
from...
configure.ac:19: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal-1.10: autom4te failed with exit status: 63
-----Original Message-----
From: Ralf Wildenhues [mailto:address@hidden
Sent: Wednesday, November 08, 2006 9:22 AM
To: Jim Rainville
Cc: address@hidden
Subject: Re: adding libraries and header file directories
Hello Jim,
* Jim Rainville wrote on Wed, Nov 08, 2006 at 06:14:49PM CET:
>
> I tried adding the --preserver-dup-deps flag in several different
ways.
> But for some reason it doesn't end up on the link line. I tried adding
> it to the front of the LD flags but I'm guessing this is a flag to
> libtool instead of to the linker. How do you add flags to libtool? Is
> there a special macro to do this?
If you are using Automake 1.10, then you can put this in LIBTOOLFLAGS
(as user) or AM_LIBTOOLFLAGS (as developer).
But just for testing, please go into the right directory and simply
issue the link command line manually, with --preserve-dup-deps added.
And post what happens. Thing is, this switch isn't as "helpful" as
one would think at first, and I would like to know if that is the
case in your case or not. :-)
If it's not, then we will look further.
Cheers,
Ralf
- Re: adding libraries and header file directories, (continued)
- Re: adding libraries and header file directories, Ralf Wildenhues, 2006/11/06
- RE: adding libraries and header file directories, Jim Rainville, 2006/11/07
- Re: adding libraries and header file directories, Ralf Wildenhues, 2006/11/07
- RE: adding libraries and header file directories, Jim Rainville, 2006/11/08
- Re: adding libraries and header file directories, Ralf Wildenhues, 2006/11/08
- RE: adding libraries and header file directories, Jim Rainville, 2006/11/09
- Re: adding libraries and header file directories, Andreas Schwab, 2006/11/09
- RE: adding libraries and header file directories, Jim Rainville, 2006/11/09
- RE: adding libraries and header file directories, Jim Rainville, 2006/11/10
Re: adding libraries and header file directories, mick, 2006/11/07
RE: adding libraries and header file directories,
Jim Rainville <=