bug-libtool
[Top][All Lists]
Advanced

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

distributing libltdl with my package fails


From: Gideon Go
Subject: distributing libltdl with my package fails
Date: Tue, 19 Apr 2005 02:11:32 +0200
User-agent: KMail/1.5.4

Hello,

First of all, thumbs up for libtool!  I really don't know what is going on 
behind the interface and I am thankful for the fact that I don't need to.
However, I got trouble distributing libltdl with my package if I use 
AC_CONFIG_AUX_DIR(config) in configure.ac.  Without this line, everything 
works fine, but the base directory becomes a bit messy. 

I use:
libtool v1.5.14
autoconf v2.59
automake v1.9.3
gcc 3.3.1 on Linux SUSE 9.0

I followed all directions as stated in "libtool.info:Distributing libltdl" 
about what to include in configure.in:  
AC_LIBLTDL_CONVENIENCE
AC_SUBST(LTDLINCL)
AC_SUBST(LIBLTDL)
AC_LIBTOOL_DLOPEN
AC_PROG_LIBTOOL
AC_CONFIG_SUBDIRS(libltdl)

and Makefile.am:
SUBDIRS = libltdl
INCLUDES = $(LTDLINCL)
etc...

Then, I did:
$ mkdir config
$ libtoolize --ltdl
$ autoreconf --verbose --install --symlink

I got:
...
libltdl/Makefile.am:5: INSTALL_LTDL does not appear in AM_CONDITIONAL
libltdl/Makefile.am:12: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL
...
autoreconf: automake failed with exit status: 1

Then I added AC_LIB_LTDL just after AC_PROG_LIBTOOL.  This lets me build my 
package successfully. (Yay!)

Then I did
$ make dist
and tried to build from my distribution.
Running ./configure from my distribution ends with:
...
configure: configuring in libltdl
configure: WARNING: no configuration information is in libltdl
$

Obviously, running make then halts with:
make[1]: *** No rule to make target `config.h', needed by `ltdl.lo'.  Stop.

I hope this gives you enough information to find out what goes wrong.  I'm 
trying all kind of combinations for days now...

-- Gideon





reply via email to

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