XML-LibXML-1.66 installation problems

[email protected]
Newsgroups gmane.comp.lang.perl.xml
Message-ID <OF19DD8DE0.FD85A3F2-ON8025747B.0044AB99-8025747B.0044D9C8@nominet.org.uk>
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 :)

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.