Re: Building a Libtool 2 package with libltdl from 1.5

2008-12-02 Thread Ludovic Courtès
Hello,

[EMAIL PROTECTED] (Ludovic Courtès) writes:

 The question now is: will people be able to build tarballs that come
 with Libtool 2.2 with ltdl.h from Libtool 1.5?

The answer is actually no, precisely because of this additional line
in ltdl.h (missing from 1.5) [*]:

  #define lt_preloaded_symbols  lt__PROGRAM__LTX_preloaded_symbols

Thanks,
Ludo'.

[*] As explained in
http://lists.gnu.org/archive/html/guile-devel/2008-11/msg00073.html .



___
http://lists.gnu.org/mailman/listinfo/libtool


Re: Building a Libtool 2 package with libltdl from 1.5

2008-11-26 Thread Ludovic Courtès
Hello,

Ralf Wildenhues [EMAIL PROTECTED] writes:

 * Ludovic Courtès wrote on Tue, Nov 25, 2008 at 09:38:53AM CET:
 The Guile project is considering moving from Libtool 1.5 to 2.2.  We
 noticed subtle incompatibilities when people tried to compile Guile
 tarballs (which use Libtool 1.5 up to now) with ltdl.h from Libtool
 2.2 [0].
 
 The question now is: will people be able to build tarballs that come
 with Libtool 2.2 with ltdl.h from Libtool 1.5?

 [0] http://thread.gmane.org/gmane.lisp.guile.devel/7876

 Please describe those limitations, this URL is not accessible here
 ATM.

See this thread:
http://lists.gnu.org/archive/html/guile-devel/2008-11/msg00067.html .

 Could be the same as those described here?
 http://lists.gnu.org/archive/html/bug-libtool/2008-11/msg7.html

Like the second problem listed in this message, i.e., the fact that
libtool 2.2 [renames] the symbol table from lt_preloaded_symbols to
lt__PROGRAM__LTX_preloaded_symbols.

Thanks,
Ludo'.



___
http://lists.gnu.org/mailman/listinfo/libtool


Re: Building a Libtool 2 package with libltdl from 1.5

2008-11-26 Thread Rafał Mużyło
Something that may be of interest:
http://bugs.gentoo.org/show_bug.cgi?id=212723

especially my comment #8.

For non-Gentoo users:
eautoreconf (if I were to simplify it) is something like this:
- first call aclocal (with additional -I options, if needed)
- then check for libtool use and call 'libtoolize -c -f -i', if required
(of course, -i is just for libtool 2)
- if libtoolize was called, call aclocal again
- call autoconf (and autoheader, if needed)
- finally, call 'automake -c -f'

AC_CONFIG_MACRO_DIR conflict (comment #15) is a well known 
libtool 2 change.

So, guile does build correctly with libtool 2 with only
a trivial change (that AC_CONFIG_MACRO_DIR thing).



___
http://lists.gnu.org/mailman/listinfo/libtool


Re: Building a Libtool 2 package with libltdl from 1.5

2008-11-25 Thread Bob Friesenhahn

On Tue, 25 Nov 2008, Ludovic Courtès wrote:


The question now is: will people be able to build tarballs that come
with Libtool 2.2 with ltdl.h from Libtool 1.5?


I don't think there was ever any intention for libtool 2.2.X to work 
with libltdl from libtool 1.5.X.  If libltdl is not bundled with the 
package, then it should be possible to use an already installed 
libltdl from libtool 1.5.X.


I am suspicious that the way libtool 2.2.X bundles libltdl may 
sometimes fail if a libltdl from 1.5.X is already installed and the 
user does not request to use the bundled libltdl.


Bob
==
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,http://www.GraphicsMagick.org/
___
http://lists.gnu.org/mailman/listinfo/libtool


Re: Building a Libtool 2 package with libltdl from 1.5

2008-11-25 Thread Bob Friesenhahn

On Tue, 25 Nov 2008, Ludovic Courtès wrote:

I don't think there was ever any intention for libtool 2.2.X to work
with libltdl from libtool 1.5.X.  If libltdl is not bundled with the
package, then it should be possible to use an already installed
libltdl from libtool 1.5.X.


What do you mean exactly by should?  That it hasn't been tested,
right?


It does actually work because then libltdl is just a library like any 
other library.


Bob
==
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,http://www.GraphicsMagick.org/
___
http://lists.gnu.org/mailman/listinfo/libtool


Re: Building a Libtool 2 package with libltdl from 1.5

2008-11-25 Thread Ralf Wildenhues
Hello Ludovic,

* Ludovic Courtès wrote on Tue, Nov 25, 2008 at 09:38:53AM CET:
 The Guile project is considering moving from Libtool 1.5 to 2.2.  We
 noticed subtle incompatibilities when people tried to compile Guile
 tarballs (which use Libtool 1.5 up to now) with ltdl.h from Libtool
 2.2 [0].
 
 The question now is: will people be able to build tarballs that come
 with Libtool 2.2 with ltdl.h from Libtool 1.5?

 [0] http://thread.gmane.org/gmane.lisp.guile.devel/7876

Please describe those limitations, this URL is not accessible here ATM.

Could be the same as those described here?
http://lists.gnu.org/archive/html/bug-libtool/2008-11/msg7.html

Cheers,
Ralf


___
http://lists.gnu.org/mailman/listinfo/libtool