ScooterTrash has asked for the wisdom of the Perl Monks concerning the following question:
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 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?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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error compiling XML::LibXML::Common
by syphilis (Archbishop) on Jul 02, 2009 at 00:06 UTC | |
by Anonymous Monk on Jul 02, 2009 at 00:51 UTC | |
by syphilis (Archbishop) on Jul 02, 2009 at 03:57 UTC | |
|
Re: Error compiling XML::LibXML::Common
by Anonymous Monk on Jul 01, 2009 at 16:29 UTC | |
by ScooterTrash (Novice) on Jul 01, 2009 at 17:47 UTC | |
by Anonymous Monk on Jul 01, 2009 at 17:55 UTC |