Subject: | XMLPREFIX does not work for some hw platforms (.e.g. hp pa-risc) |
Date: | Mon, 9 Jul 2007 09:46:12 -0700 (PDT) |
To: | bug-XML-LibXML [...] rt.cpan.org |
From: | James Woodworth <woodworthjames [...] yahoo.com> |
hello, running the Makefile.PL in debug mode i found that the XMLPREFIX is not getting set in the ENV hash. however, it does make it into the config hash. i suggest replacing the check for $ENV{XMLPREFIX} with $config{XMLPREFIX} and others. the same goes for XML::LibXML::Common.
cheers,
jim woodworth
my output: (the Makefile is incorrect in both instances)
[sol:jaw2]$ perl58 Makefile.PL XMLPREFIX=/sw6/jaw2/libxml/hp11
enable native perl UTF8
running xml2-config... failed
using fallback values for LIBS and INC
options:
LIBS='-L/usr/local/lib -L/usr/lib -lxml2 -lz -lm'
INC='-I/usr/local/include -I/usr/include'
If this is wrong, Re-run as:
$ /sw/System/perl/5.8.7/exe/perl58.hp11 Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'
looking for -lxml2... yes
WARNING: XMLPREFIX is not a known parameter.
'XMLPREFIX' is not a known MakeMaker parameter name.
Note (probably harmless): No library found for -lxml2
Note (probably harmless): No library found for -lz
Writing Makefile for XML::LibXML::Common
[sol:jaw2]$ perl58 Makefile.PL LIBS=/sw6/jaw2/libxml/hp11/lib INC=/sw6/jaw2/libxml/hp11/include/libxml2
enable native perl UTF8
running xml2-config... failed
using fallback values for LIBS and INC
options:
LIBS='-L/usr/local/lib -L/usr/lib -lxml2 -lz -lm'
INC='-I/usr/local/include -I/usr/include'
If this is wrong, Re-run as:
$ /sw/System/perl/5.8.7/exe/perl58.hp11 Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'
looking for -lxml2... yes
Note (probably harmless): No library found for -lxml2
Note (probably harmless): No library found for -lz
Writing Makefile for XML::LibXML::Common
[sol:jaw2]$
---------------------------------
Get your own web address.
Have a HUGE year through Yahoo! Small Business.