RE: RE: Building XML::LibXML on Windows

"Steve Hay" <[email protected]> Tue, 7 Jun 2011 09:50:22 +0100
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
Michael Ludwig wrote on 2011-06-07:
> -------- Original-Nachricht --------
>> Datum: Tue, 07 Jun 2011 10:25:12 +0200
>> Von: "Michael Ludwig" <[email protected]>
>> 
>> But this still fails in the same way:
>> 
>> perl Makefile.PL LIBS="-LC:\Opt\libxml2\bin -llibxml2 -lzlib -lzlib"
> 
> This was an error in my last mail. The command I ran is:
> 
> perl Makefile.PL INC=-IC:\Opt\libxml2\include
LIBS=-LC:\Opt\libxml2\lib
> 
> And it fails, although this is exactly as per the doc:
> 
> http://cpansearch.perl.org/src/PAJAS/XML-LibXML-1.70/README
> 
> What am I missing?

I don't use any Makefile.PL arguments. They shouldn't be required given
that Makefile.PL specifies the library names and the %LIB% environment
variable specifies the library path:

C:\Temp>set INCLUDE=%INCLUDE%;C:\Opt\libxml2\include;C:\Opt\zlib\include
C:\Temp>set LIB=%LIB%;C:\Opt\libxml2\lib;C:\Opt\zlib\lib
C:\Temp>cd XML-LibXML-1.70
C:\Temp\XML-LibXML-1.70>perl Makefile.PL
enable native perl UTF8
looking for -lxml2... yes
Checking if your kit is complete...
Looks good
Writing Makefile for XML::LibXML

_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs