1829579 Members
4298 Online
109992 Solutions
New Discussion

XSLT perl module

 
Rick Garland
Honored Contributor

XSLT perl module

Hi all:
Don't believe this would be a proper place for this post but I am trying anyway.
Got HPUX 11.00 on an L2000 with perl 5.8.0. Have CPAN loaded and configured and installed modules sucessfully. However I am having trouble with the XML::LibXSLT module. Trying to install is a different matter. Keeps telling me what I am listing below..

perl Makefile.PL
running xslt-config... failed
using fallback values for LIBS and INC
options:
LIBS='-L/usr/local/lib -L/usr/lib -L/opt/libxslt/lib -lxslt -L/opt/libxml2/lib -L/opt/libxml2/lib -lxml2 -lz -lm'
INC='-I/usr/local/include -I/usr/include -I/opt/libxslt/include -I/opt/libxslt/include/libxslt -I/opt/libxslt/include/libexslt'
If this is wrong, Re-run as:
$ perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'

looking for -lxslt... no
libxslt not found
Try setting LIBS and INC values on the command line
Or get libxslt and libxml2 from
http://www.libxml.org/
If you install via RPMs, make sure you also install
I have tried setting the LIBS and INC path where there are located in the /opt/libxslt/lib and /opt/libxslt/include. No such luck - still telles me xslt-config failed and it can't find lxslt.

Any ideas?
3 REPLIES 3
Rick Garland
Honored Contributor

Re: XSLT perl module

BTW:

The libxslt, libxml, & zlib libraries are installed and configured.
Rick Garland
Honored Contributor

Re: XSLT perl module

Have been making some progress. Seems that the Makefile.PL is buggy to begin with.

In the XML::LibXML Makefile.PL make the following change:

replace
xsystem("$Config{make} test ${quote}OTHERLDFLAGS=${opt}${quote}");

with
xsystem("Config{make} test");


In the XML::LibXSLT Makefile.PL make the following changes:

replace
xsystem("$Config{make} test 'OTHERLDFLAGS=$opt'");

with
xsystem("$Config{make} test");


This got me to build a Makefile cleanly. Still having troubles doing the make. When I figure that out I can post here as well if there is an interest
Rick Garland
Honored Contributor

Re: XSLT perl module

Finally got it complete. To begin with had to install the libxsml library files and this is what was really holding up things. The compile was not clean. When I was trying to do the 'make' it kept telling me that the 'install-data-local' directory was not being created. I manually created the install-data-local directory, did the make and make install and all was clean. Then I mage the changes in the Makefile.PL as listed above and the module then installed.