Re: Problems with XML-LibXML-1.66 installation (Fwd)

Petr Pajas <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Organization UFAL MFF UK
Message-ID <[email protected]>
Forwarding to the list...

----------  Předaná zpráva  ----------

On Sunday 06 July 2008, [email protected] wrote:
> Petr,
>        I am currently having some problems with installing the Perl Module
> you maintain XML-LibXML I have already asked the question on the relevant
> mailing list and although I couple of guys have tried to help I still have
> the same problem. Somebody recommended that I e-mail you with my issue
> directly. I hope you can help:

Brett,
Sorry for not replying sooner, I have been on holidays. Try running

  perl Makefile.PL DEBUG=1

maybe that will provide more info about what's going on. Can you ls -l 
also /opt/libxml2/include and /opt/libxm2/lib? Do you 
have /opt/libxml2/bin/xml2-config? What does it say if you run it 
with /opt/libxml2/bin/xml2-config --cflags --libs?

-- Petr


>
> 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.