Subject: | Documentation/MakeFile.PL should check for libz first. |
Looking at the output it gives, it indicates that "there is no libxslt available" , ie:
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 the -devel
RPMs, as this is where the headers (.h files) are.
However, this is insufficient to get it to build. Even after installing libxslt1-dev , this message persists, and for all intents and purposes, it looks "broken".
Looking in the source of Makefile.PL I see "-lz" in the code that it uses to test of libxslt is compilable against or not, and on my system, libz-dev has yet to be installed.
And without libz's devel packages, this code will repeatedly report "no libxslt", even though libxslt does in fact exist.
installing libz-dev instantly solves this problem and it then generates a working Makefile.
So it should probably test for libz *first* and report if that doesn't work, before proceeding to testing libxslt.
( Or at very least, document somewhere in the output/README that you'll need these development headers too )