[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: distributing libltdl with my package fails
From: |
Ralf Wildenhues |
Subject: |
Re: distributing libltdl with my package fails |
Date: |
Wed, 20 Apr 2005 18:45:54 +0200 |
User-agent: |
Mutt/1.4.1i |
Hi Gideon,
Please keep the mailing list in Cc, so others can help (or see whether
their problems are the same as yours), unless you send really huge
files. Thank you.
* Gideon Go wrote on Wed, Apr 20, 2005 at 06:23:07PM CEST:
> On Wednesday 20 April 2005 10:17, you wrote:
> > * Gideon Go wrote on Tue, Apr 19, 2005 at 02:11:32AM CEST:
*snip*
> > > 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)
*snip*
> > > 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 tried 4 different ways to build the testpackage "autotest.tar.bz2"
> which really is my package without any source code ;)
That's fine. I think it also gave me the necessary clue: in toplevel
configure.ac you have:
| AC_CONFIG_FILES([Makefile
| libltdl/Makefile
| src/Makefile])
Please remove libltdl/Makefile. Explanation: AC_CONFIG_SUBDIRS(libltdl)
means there is a sub-configuration in libltdl, with associated
configure.ac and created configure. That libltdl/configure.ac already
has libltdl/Makefile as output.
Does everything work fine for you now?
Is there an error in our documentation that suggests doing this?
Regards,
Ralf