in reply to (Cygwin) Can't locate XML/LibXSLT.pm in @INC

Update2:I see I can download XML-LibXSLT-1.57.tar.gz *manually* from http://search.cpan.org/~msergeant/XML-LibXSLT-1.57/LibXSLT.pm. Is this the way to go? If so, what do I do with it? It unzips to a tarball, which "untars" to a load of files...am I supposed to compile this stuff? Thanks, J

To 'install from source' the typical steps are unpack, cd into the newly created directory, then:


$ perl Makefile.PL (or Build.PL)
$ make
$ make test
$ make install

However, I would continue trying to get cpan to work instead. Once you get cpan working, you can just type: cpan Some::Module.

  • Comment on Re: (Cygwin) Can't locate XML/LibXSLT.pm in @INC

Replies are listed 'Best First'.
Re^2: (Cygwin) Can't locate XML/LibXSLT.pm in @INC
by topbanana (Novice) on Feb 26, 2013 at 21:52 UTC
    Thanks all for your help.
    I gave up (twice) but finally got it all sorted. I had to go through the CPAN set-up line by line and each time it failed go off to cygwin and download the missing component. The error message ("press space and enter" a million times) was caused I think by CPAN trying to use an unzip.exe in my Oracle bin directory. Also had to install XML::LibXML and XML::LibXML::Common, and another C compiler, amongst many other things. At least, now I can run my program (albeit all it has in it is "use XML::LibXSLT" so far...but it's encouraging). Thanks again.