Can someone save my computer from a dance with a baseball bat?
I am trying to compile XML::LibXML::Common and I'm getting an error creating the make file.
I have libxml2, zlib and iconv installed with the path in my PATH varible (c:\libxml).
I am running Windows XP Pro SP2 and ActiveState Perl 5.10
I execute "perl Makefile.pl" from the directory containing XML::LibXML::Common and I get the following error:
C:\TempPerl\XML-LibXML-Common-0.13>perl Makefile.pl
enable native perl UTF8
looking for -lxml2... no
looking for -llibxml2... no
libxml2 not found
Try setting LIBS and INC values on the command line
Or get libxml2 from
http://www.libxml.org/
If you install via RPMs, make sure you also install the -devel
RPMs, as this is where the headers (.h files) are.
I then try to use the INC and LIBS option from the command line and get the same results.
C:\TempPerl\XML-LibXML-Common-0.13>perl Makefile.pl INC=-Ic:\libxml2\i
+nclude LIBS=-Lc:\libxml2\lib
enable native perl UTF8
looking for -lxml2... no
looking for -llibxml2... no
libxml2 not found
Try setting LIBS and INC values on the command line
Or get libxml2 from
http://www.libxml.org/
If you install via RPMs, make sure you also install the -devel
RPMs, as this is where the headers (.h files) are.
When I run in debug mode I can see that the command line options for LIBS and INC are picked up.
Any ideas?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.