Re: xserver-inst2.sh fails

Xavier Bestel <[email protected]> Fri, 09 Apr 2004 17:17:20 +0200
Newsgroups gmane.comp.freedesktop.xserver
Message-ID <[email protected]>
On Sat, 2004-01-24 at 01:43 +0100, Michel DÀnzer wrote:
> On Fri, 2004-01-23 at 15:29, Xavier Bestel wrote:
> > 
> > OK, I just made a bit of cleanup, and now have:
> > automake (and aclocal) 1.7.9
> > autoconf 2.59
> > libtool 1.5a
> > 
> > Even without using xserver-inst2.sh, I have this problem with Xdmcp:
> > [[email protected]:~/Xserver/Xdmcp]$ ./autogen.sh --prefix=/home/xav/Xserver/install_dir
> > autoreconf: Entering directory `.'
> > autoreconf: configure.ac: not using Gettext
> > autoreconf: running: aclocal  --output=aclocal.m4t
> > aclocal: configure.ac: 39: macro `AM_PROG_LIBTOOL' not found in library
> > autoreconf: aclocal failed with exit status: 1
> 
> Is it actually picking up aclocal 1.7 (try aclocal --version)? Other
> than that, I'm out of ideas, I'm not an autofoo expert either...

Ok, I finally found what didn't work: 

- under debian unstable, libtool has its m4 files
under /usr/share/libtool/m4/
- I dunno why, but it seems automake (or something else) wants these
files under /usr/share/aclocal
- so I just did
cd /usr/share/aclocal
ln -s /usr/share/libtool/m4/*.m4 .
and now Xserver is happily compiling.

I don't know where does this bug come from (libtool, automake, debian,
xdmcp, me, ... ?) but it's kind of workarounded now.

Does anyone knowledgeable can infer the proper bug(fix|report) from
that ?

Thanks,
	Xav