ncyoung.com

installing LibXSLT on windows using PPM

This entry is in the following categories:

I run activeperl on windows. Activeperl's package installer (PPM) usually installs anything I need really easily, but when I went to install LibXSLT (and related libraries) it couldn't do it right off the bat. After a little digging it turned out to be quite easy to do.

First, the default repositories the PPM comes configured to use don't have the libraries in them. From the PPM command line add a new repository using the following command:
rep add xml-stuff http://theoryx5.uwinnipeg.ca/ppms/

Once you've done that the search and install commands you give to PPM will find LibXSLT and LibXML properly.

Depending on what you already have installed, LibXSLT may or may not have everything it needs to run. Sometimes it seems to follow dependencies and other times it just told me what to install next and then quit(!?). In that case use the PPM search and install commands to continue getting the stuff you need.

Some of the libraries depend on dlls. For some reason on my system PPM was unable to put the dlls into the right place (it told me at the time) so I went and got them myself.

Manually putting these three files into my c:/perl/bin directory got me up and running.

http://theoryx5.uwinnipeg.ca/ppms/scripts/libexslt_win32.dll

http://theoryx5.uwinnipeg.ca/ppms/scripts/libxml2.dll

http://theoryx5.uwinnipeg.ca/ppms/scripts/libxslt_win32.dll



Dated: 03/22/2005