automake update coming soon (was Re: Question on autotools)

Stephan Kulow coolo at kde.org
Fri May 24 20:26:26 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Freitag, 24. Mai 2002 16:05, Neil Stevens wrote:
> On Thursday May 23, 2002 06:28, Stephan Kulow wrote:
> > The problem automake indicates here is only a problem when you compile
> > with --enable-static, so we don't really care. But as it's a real
> > problem, I will fix it and then I we should go with automake 1.6.1 as
> > required version. As it has some major annoyances fixed (let's say
> > AM_LDFLAGS) and we don't want several automake versions to support.
>
> OK, after removing that error from automake and that big warning from
> autoheader, two more problems to report:
>
> 1) libxml in kdesupport generates an empty config.h, so nothing compiles:
>
> /* config.h.  Generated by configure.  */
> /* config.h.in.  Generated automatically from configure.in by autoheader.
> */
Hmm, automake doesn't have anything to do with config.h, that's all in 
autoheader aka autoconf's hands. Are you sure you didn't remove a bit
much? :)

> So, after installing KDE 3.0 kdesupport:
>
> 2) The arts configure check for audiofile doesn't work anymore.  It runs
>
> configure:27219: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow
> -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500
> -D_BSD_SOURCE -g3    -DQT_THREAD_SUPPORT  -D_REENTRANT -I/opt/kde3/include
> -I/opt/qt3/include -I/usr/X11R6/include  -I${top_srcdir}/libltdl
> -L/usr/X11R6/lib -L/opt/qt3/lib -L${exec_prefix}/lib   -L/usr/X11R6/lib
> -L/opt/qt3/lib -L${exec_prefix}/lib  conftest.c -laudiofile   >&5
>
> and can't find the lib, because libaudiofile is in /opt/kde3, which isn't
> getting substituted for ${exec_prefix}.

I'm afraid this is not related to automake 1.6. It has been reported before as 
bug I introduced in acinclude.m4.in related. I didn't come up with a clean 
solution yet ;(

If you need a work around, use --libdir=/opt/kde3/lib as configure argument.

Greetings, Stephan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE87pPmwFSBhlBjoJYRAudJAKDX1M/+ZVqYyRy8W8espaE+4b9IagCfR4zw
W5ttMjRZNud0PZ1mwHQALoY=
=kqaG
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list