On Sun, Dec 1, 2013 at 7:28 AM, Shaji Kalidasan <shajiin...@yahoo.com>wrote:
> Dear Shlomi, > > I tried to install https://metacpan.org/release/XML-LibXML in my windows > setup (using Strawberry Perl 5.18.1 on Windows 7) but it failed. Please > suggest where am I going wrong? > > Here is the output from console (command prompt) > > C:\demo>cpanm XML::LibXML > --> Working on XML::LibXML > Fetching > http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-2.0107.tar.gz .. > . OK > Configuring XML-LibXML-2.0107 ... N/A > ! Configure failed for XML-LibXML-2.0107. See > C:\Users\SHAJIK~1\.cpanm\work\1385 > 878181.5848\build.log for details. > > Here is the content of the build.log file > > [build.log] > cpanm (App::cpanminus) 1.7001 on perl 5.018001 built for > MSWin32-x64-multi-thread > Work directory is C:\Users\SHAJIK~1/.cpanm/work/1385878277.6120 > You have make G:\strawberry\c\bin\dmake.exe > You have LWP 6.05 > Falling back to Archive::Tar 1.92 > Searching XML::LibXML on cpanmetadb ... > --> Working on XML::LibXML > Fetching > http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-2.0107.tar.gz > -> OK > Unpacking XML-LibXML-2.0107.tar.gz > Entering XML-LibXML-2.0107 > Checking configure dependencies from META.json > Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.72) > Configuring XML-LibXML-2.0107 > Running Makefile.PL > enable native perl UTF8 > Checking for ability to link against xml2...no > Checking for ability to link against libxml2...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. > -> N/A > -> FAIL Configure failed for XML-LibXML-2.0107. See > C:\Users\SHAJIK~1\.cpanm\work\1385878277.6120\build.log for details. > [/build.log] > > > Please help. > That buidlog has some suggestions. Have you tried them? >