Re: Around in circles installing Lib-XML on Windows
Peter Farr <[email protected]> Thu, 15 Sep 2011 09:54:25 -0400
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <[email protected]> |
My apologies for not cc'ing the list last time. I did indeed follow the bug report where applicable. It says to install the prereqs I listed below. The instructions about modifying Makefile.PL were redundant as the library was already listed (I believe that was fixed in 1.85 and I am using 1.87). I cannot use the same version of Perl that Mithaldu used - I am forced to use 5.8.9. Apart from that I can't see anything I missed. The include flag I used is a capital I (the letter after H) but tI guess I typed it incorrectly in my previous note - the machine I am using is completely isolated and I have to retype everything. -- Regards, Peter Farr Consulting Principal, LPI Solutions On 2011-09-15, at 9:07 AM, Shlomi Fish wrote: > Hi Peter, > > you've sent me your message privately. Next time please hit reply to all > recipients as I specifically request in my signature (which your mailer have > fully quoted below). > > I'm CCing the list and Mithaldu, who has successfully built XML::LibXML on > Windows. > > On Thu, 15 Sep 2011 07:54:38 -0400 > Peter Farr <[email protected]> wrote: > >> Shlomi, that sends me around the circle again. My first take was to follow the README, which had me do the following: >> >> Download: >> iconv-1.9.2.win32 >> libxml2-2.7.8.win32 (I have tried other versions as well, including 2.6.2 which is compatible according to the README) >> zlib-1.2.5.win32 >> libgettextpo-0.17-1 >> gettext-0.17-1 >> >> I copied all the subdirectories of all the above into E:\LibXML, but moved all the .dlls into the lib folder. Then I ran (from the XML-LibXML-1.87 directory): >> >> perl Makefile.PL INC=-LE:\LibXML\include LIBS=-LE:\LibXML\lib >> > > Did you follow Mithaldu's instructions in the bug report? If not, why not? > > The INC here should be "-I" - not "-L". > >> The result is: >> >> perl Makefile.PL INC=-IE:\LibXML\include LIBS=-LE:\LibXML\lib >> Set up gcc environment - 4.5.2 >> enable native perl UTF8 >> looking for -lxml2... no >> looking for -llibxml2... no >> libxml2, zlib, and/or the Math library (-lm) have not been found. >> Try setting LIBS and INC values on the command line >> Or get libxml2 from >> http://xmlsoft.org/ >> If you install via RPMs, make sure you also install the -devel >> RPMs, as this is where the headers (.h files) are. >> >> Also, you may try to run perl Makefile.PL with the DEBUG=1 parameter >> to see the exact reason why the detection of libxml2 installation >> failed or why Makefile.PL was not able to compile a test program. >> > > You can try debugging the Makefile.PL using the perl -d debugger: > > http://perl-begin.org/topics/debugging/ > > But first try what Mithaldu suggests here: > > https://rt.cpan.org/Public/Bug/Display.html?id=70141 > > And maybe he can also comment. > > Regards, > > Shlomi Fish > >>>> -- >>>> Regards, >>>> >>>> Peter Farr >>>> >>>> >>>> _______________________________________________ >>>> Perl-XML mailing list >>>> [email protected] >>>> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs >>> >>> >>> >>> -- >>> ----------------------------------------------------------------- >>> Shlomi Fish http://www.shlomifish.org/ >>> Freecell Solver - http://fc-solve.berlios.de/ >>> >>> Doing linear scans over an associative array is like trying to club someone to >>> death with a loaded Uzi. — Larry Wall >>> >>> Please reply to list if it's a mailing list post - http://shlom.in/reply . >> > > > > -- > ----------------------------------------------------------------- > Shlomi Fish http://www.shlomifish.org/ > http://www.shlomifish.org/humour/ways_to_do_it.html > > You name it — COBOL does not have it. > > Please reply to list if it's a mailing list post - http://shlom.in/reply . > _______________________________________________ > Perl-XML mailing list > [email protected] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs