Skip Menu |
 

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 39995
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: cjm [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.66
Fixed in: (no value)



Subject: Lacks instructions for building on Windows
Download (untitled) / with headers
text/plain 294b
XML::LibXML doesn't include instructions for building on Microsoft Windows for people who don't use PPM. It's not that hard, but it can be a bit tricky to figure out exactly what you need to do. I've written up some instructions and attached them. Feel free to include them with XML::LibXML.
Subject: LibXML.Win32.txt
Download LibXML.Win32.txt
text/plain 1.5k
Building XML::LibXML on Microsoft Windows ========================================= These instructions assume that you already have your system set up to compile modules that use C components. First, get the libxml2 binaries from http://xmlsoft.org/sources/win32/ (currently also available at http://www.zlatkovic.com/pub/libxml/). You need: iconv-VERSION.win32.zip libxml2-VERSION.win32.zip zlib-VERSION.win32.zip Download the latest version of each. (Each package will probably have a different version.) When you extract them, you'll get directories named iconv-VERSION.win32, libxml2-VERSION.win32, and zlib-VERSION.win32, each containing bin, lib, and include directories. Combine all the bin, include, & lib directories under c:\Prog\LibXML. (You can use any directory you prefer; just adjust the instructions accordingly.) Get the latest version of XML-LibXML-Common and XML-LibXML from CPAN. Extract them. Issue these commands in the XML-LibXML-Common-VERSION directory: perl Makefile.PL INC=-Ic:\Prog\LibXML\include LIBS=-Lc:\Prog\LibXML\lib nmake copy c:\Prog\LibXML\bin\*.dll blib\arch\auto\XML\LibXML\Common nmake test nmake install (Note: Some systems use dmake instead of nmake.) By copying the libxml2 DLLs to the arch directory, you help avoid conflicts with other programs you may have installed that use other (possibly incompatible) versions of those DLLs. Issue these commands in the XML-LibXML-VERSION directory: perl Makefile.PL INC=-Ic:\Prog\LibXML\include LIBS=-Lc:\Prog\LibXML\lib nmake nmake test nmake install
Thanks a lot, I added your instructions to the README. -- Petr


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.