RE: XML-LibXML-1.66 installation problems

[email protected]
Newsgroups gmane.comp.lang.perl.xml
Message-ID <OF5D6A3626.B86B7549-ON8025747B.00483273-8025747B.00486B9B@nominet.org.uk>

"Browder Jr, Thomas M" <[email protected]> wrote on 03/07/2008
13:49:32:

> "Browder Jr, Thomas M" <[email protected]>
> 03/07/08 13:49
>
> To
>
> <[email protected]>, <[email protected]>
>
> cc
>
> Subject
>
> RE: XML-LibXML-1.66 installation problems
>
> >-----Original Message-----
> >From: [email protected]
> >[mailto:[email protected]] On Behalf
> >Of [email protected]
> >Sent: Thursday, July 03, 2008 07:32
> >To: [email protected]
> >Subject: XML-LibXML-1.66 installation problems
> >
> >I am trying to install the perl module XML-LibXML-1.66 under
> >Solaris 8/Sparc and am having a problem.
> >We have libxml2 installed under /opt/libxml2
> >
> >ls -l /opt/libxml2/
> >total 10
> >dr-xr-xr-x   2 root     bin          512 Jul  3 12:52 bin
> >drwxr-xr-x   3 root     bin          512 Jul  3 12:58 include
> >dr-xr-xr-x   3 root     bin          512 Jul  3 12:52 lib
> >dr-xr-xr-x   4 root     bin          512 Jul  3 12:52 man
> >dr-xr-xr-x   5 root     bin          512 Jul  3 12:52 share
> >
> >When i try and make the module I get an error:
> >
> >perl Makefile.PL
> >enable native perl UTF8
> >running xml2-config...
> >using fallback values for LIBS and INC
> >options:
> >  LIBS='-L/usr/local/lib -L/usr/lib -lxml2 -lm'
> >  INC='-I/usr/local/include -I/usr/include'
> >If this is wrong, Re-run as:
> >  $ perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'
> >
> >looking for -lxml2... no
> >looking for -llibxml2... no
> >libxml2 not found
> >Try setting LIBS and INC values on the command line
> >
> >As per the readme I have tried running:
> >
> >perl Makefile.PL XMLPREFIX=/opt/libxml2
> >and also:
> >perl Makefile.PL LIBS='-L/opt/libxml2/lib'
> >INC='-I/opt/libxml2/include both of which return the same error:
> >Running /opt/libxml2/bin/xmllint --version returns
> >/opt/libxml2/bin/xmllint: using libxml version 20626
> >
> >Any help really appreciated I am beginning to lose hair over this :)
>
> You might try setting the environment variable PKG_CONFIG_PATH to point
> to wherever the /opt/libxml2 installation put the libxml-2.0.pc file
> (probably in "/opt/lib/pkgconfig"--search for file "libxml-2.0.pc").
>

Ok I set it:

echo $PKG_CONFIG_PATH
/opt/libxml2/lib/pkgconfig/

Which is where my libxml-2.0.pc is located and still get the same errors
I'm afraid.

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.