Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

installing XML::LibXSLT.pm Perl5.14 on windows

by prashantktyagi (Scribe)
on Jun 18, 2012 at 10:36 UTC ( #976806=perlquestion: print w/ replies, xml ) Need Help??
prashantktyagi has asked for the wisdom of the Perl Monks concerning the following question:

Hi All,

I am using PPM to install package on my windows machine. But I couldn't find any repository for XML/LibXSLT.pm for Perl5.14. I tried googling and with cpan but no luck so far.. any repo for the ppm ? Any advise..

UPDATE cpan error:

Set up gcc environment - 3.4.5 (mingw-vista special r3) looking for -llibxslt... no libxslt not found Try setting LIBS and INC values on the command line

Comment on installing XML::LibXSLT.pm Perl5.14 on windows
Download Code
Re: installing XML::LibXSLT.pm Perl5.14 on windows
by marto (Chancellor) on Jun 18, 2012 at 10:43 UTC
Re: installing XML::LibXSLT.pm Perl5.14 on windows
by daxim (Chaplain) on Jun 18, 2012 at 10:51 UTC
    Your best bet is to contact ActiveState and tell them to put the C library libxslt on their build system; see current build log.
Re: installing XML::LibXSLT.pm Perl5.14 on windows
by marto (Chancellor) on Jun 18, 2012 at 11:19 UTC

    As advised previously, please mark updates to your post clearly. For example

    <p><b>Update:</b> cpan error: .......</p>

    Consider actually reading the README file, regards building on your platform, and the prerequisites.

Re: installing XML::LibXSLT.pm Perl5.14 on windows
by dasgar (Deacon) on Jun 18, 2012 at 20:52 UTC

    From the description section of XML::XSLT, it definitely is calling a library.

    According to CPAN Testers (http://www.cpantesters.org/distro/X/XML-LibXSLT.html), it's passing on 5.14.0 and 5.14.2 on Windows (without Cygwin).

    At the moment, I'm using DWIM Perl, which is based on Strawberry Perl 5.14.2 plus some additional module installed. One of the modules installed is the XML::LibXSLT module. So my guess is that for sure this should be able to be installed on Strawberry Perl 5.14.2. In turn, that leads me to believe that it can be install it on ActiveState's Perl.

    Since you're using ActiveState's Active Perl, I would recommend using the PPM utility to install mingw and dmake from the default ActiveState repository. At that point, you should be able to install modules directly from CPAN. If it still looks like you're missing libxslt, you might want to check to see if you can install it from http://gnuwin32.sourceforge.net/packages/libxslt.htm.

    Also, you can check with the ActiveState user forums to look for assistance.

      Hi ,

      It's true that XML::LibXSLT comes with Strawberry perl. But I can't use that one because I have completed 99% work in activestate perl, so I can't go back now to strawberry perl and also not recommended in my organisation.

      Any way so that copies xslt from strawberry will work here in activestate perl?

      I downloaded complied library from
      http://www.xmlsoft.org/XSLT and pass to Makefile.pl like INC and LIBS as I get to know from Readme.
      perl Makefile.pl -INC=</inc> -LIBS=</lib>
      Error:
      Set up gcc environment - 3.4.5 (mingw-vista special r3)
      looking for -llibxslt... 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.
      Still same error I am getting. Am I missing something silly?
      Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://976806]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-07-29 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (217 votes), past polls