Re: XML-LibXML-1.66 installation problems

[email protected]
Newsgroups gmane.comp.lang.perl.xml
Message-ID <OFB03FFC31.CAE421FA-ON8025747B.0052C9E5-8025747B.00535226@nominet.org.uk>

[email protected] wrote on 03/07/2008 15:57:22:

> Aristotle Pagaltzis <[email protected]>
> Sent by: [email protected]
>
> 03/07/08 15:57
>
> To
>
> [email protected]
>
> cc
>
> Subject
>
> Re: XML-LibXML-1.66 installation problems
>
> * [email protected] <[email protected]> [2008-07-03
16:25]:
> > echo $PKG_CONFIG_PATH
> > /opt/libxml2/lib/pkgconfig
> >
> > $ pkg-config-install/bin/pkg-config --cflags libxml-2.0
> > sh: gnome-config: not found
> > Package libxml-2.0 was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `libxml-2.0.pc'
> > to the PKG_CONFIG_PATH environment variable
> > No package 'libxml-2.0' found
> >
> > $ cat /opt/libxml2/lib/pkgconfig/libxml-2.0.pc
> > prefix=/opt/libxml2
>
> `export PKG_CONFIG_PATH` maybe?
>

Indeed yes I missed that bit, aching fingers by this time of day, so

pkg-config --cflags libxml-2.0

Now returns

-I/opt/libxml2/include/libxml2

However this doesn't really help as:

perl Makefile.PL LIBS='-L/opt/libxml2/lib'
INC='-I/opt/libxml2/include/libxml2'

Still returns

enable native perl UTF8
looking for -lxml2... no
looking for -llibxml2... no
libxml2 not found


Brett

_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.