libtool-patches
[Top][All Lists]
Advanced

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

Re: Frustrations with libltdl 1.9g


From: Gary V. Vaughan
Subject: Re: Frustrations with libltdl 1.9g
Date: Sat, 27 Nov 2004 10:31:37 +0000
User-agent: Mozilla Thunderbird 0.9 (Macintosh/20041103)

Bob Friesenhahn wrote:
I am still working to get development libtool/libltdl working with my package. I am now working on being able to build libltdl as part of the package. Libtool doesn't seem to include any tests which verify that this works, so maybe it just doesn't work. I have been able to build the software so that it detects and uses an installed libltdl.

Libltdl has been initialized so that it resides in 'ltdl'.

I realized that it is necessary to add ltdl/Makefile to AC_CONFIG_FILES in configure.ac even though the documentation fails to mention this requirement. Automake then starts reporting the error:

ltdl/Makefile.am:47: INSTALL_LTDL does not appear in AM_CONDITIONAL
ltdl/Makefile.am:54: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL

It is not yet clear to me if I will need to add a SUBDIRS statement to Makefile.am. The documentation does not mention it.

These are the libtool/libltdl lines from my configure.ac:

LT_PREREQ(1.9g)
LTDL_INSTALLABLE([ltdl])
LT_WITH_LTDL([ltdl])
LT_INIT([disable-shared dlopen win32-dll])
LT_LANG(C++)
AC_SUBST([LIBTOOL_DEPS])

What am I doing wrong?

I am in the midst of writing a test for standalone libltdl for
HEAD... I should backport it to the release branch when I have
it working.  LT_WITH_LTDL treats the libltdl subdirectory as a
subproject that it wants to configure using ltdl/configure.ac.
You will need to add ltdl to SUBDIRS in you top Makefile.am too.

Please keep notes on your tribulations so that we can beef up
the documentation to cover anything you are confused by.

Cheers,
        Gary.
--
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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