libgsf build error

anirudh vij anirudhvij at gmail.com
Sat Apr 21 02:19:45 PDT 2007


hi dan,
it was what you said
$ pkg-config --cflags libxml-2.0
gives
-I/opt/GEHC/include/libxml2
seems a program i installed somehow changed the package-config settings for
libxml2

On 4/20/07, Dan Nicholson <dbn.lists at gmail.com> wrote:
>
> On 4/20/07, anirudh vij <anirudhvij at gmail.com> wrote:
> > a tree.h does exist under libxml2/libxml.however,replacing
> > the
> > #include <libxml/tree.h>
> > by
> > #include <libxml2/libxml/tree.h>
> > only produces a new string of errors:
>
> Just yesterday I was getting similar strange errors from a different
> package depending on libxml2. Configure is supposed to be checking the
> needed CFLAGS to build against libxml2. This is essentially what it
> does:
>
> $ pkg-config --cflags libxml-2.0
> -I/usr/include/libxml2
>
> What's the output when you run that command?
>
> >  In file included from ../gsf/gsf-libxml.h:27,
> >                  from gsf-libxml.c:23:
> >  /usr/include/libxml2/libxml/tree.h:16:31: error:
> > libxml/xmlversion.h: No such file or directory
>
> Right. It's still looking in the wrong place. It needs to be compiled
> with -I/usr/include/libxml2. You didn't show the command being run,
> but I suspect that's not there.
>
> --
> Dan
> --
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20070421/c8e85615/attachment.html>


More information about the blfs-support mailing list