Re: aclocal+compile error..
H}kan Hjort <[email protected]>
| Newsgroups | gmane.comp.video.ogle.devel |
|---|---|
| Message-ID | <[email protected]> |
Fri Jan 10 2003, Rob Kaper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Friday January 10 2003 5:37 pm, H}kan Hjort wrote:
> > The install of libxml2 should have provided a libxml2.m4 which then should
> > have been included in acinclude.m4 when running aclocal.
> > Perhaps you have installed libxml2 in some other prefix than /usr/ ?
>
> /usr/local/share/aclocal/libxml.m4
>
> > > cap@kira:~/src/ogle-cvs/ogle$ aclocal
> > > aclocal: configure.in: 542: macro `AM_PATH_XML2' not found in library
> >
> > So AM_PATH_XML2 should _not_ have been removed from configure.in.
>
> That is *before* removing it, removing it works fine as long as I manually
> change the @XML_CFLAGS@ and @XML_LIBS@ ...
>
Yes yes, the AM_PATH_XML2 is what it responsible for doing the substitution
of those two.
So why isn't libmxl2 installed in /usr/ ?
If you whant aclocal to find the m4 files in /usr/local/share/aclocal too
then you'll have to supplied that as a -I option when invoking aclocal.
From the 'info aclocal' page:
`-I DIR'
Add the directory DIR to the list of directories searched for
`.m4' files.
and
`--print-ac-dir'
Prints the name of the directory which `aclocal' will search to
find third-party `.m4' files. When this option is given, normal
processing is suppressed. This option can be used by a package to
determine where to install a macro file.
if you want to see what is searched now.
I guess would could bundle the libxml.m4 file too with Ogle but then
it would be stuck at that version rather than use the one that is installed
on the build system...
--
Håkan Hjort