Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

I want to build XML::Parser module for windows.

by sridhar84 (Novice)
on Sep 05, 2012 at 11:14 UTC ( #991808=perlquestion: print w/ replies, xml ) Need Help??
sridhar84 has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, I am trying to build XML::Parser module for all platforms. For Unix platforms i was able to do it. For windows I am facing problems and I am new to this VS compiler and NMAKE. I am getting error.

F:\thirupap\5.16.0\5.16.0\WinNT4.0\perl-5.16.0\win32\..\perl.exe -I../ +../lib Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DI +R=none PERL_CORE=1 output.... NMAKE : fatal error U1073: don't know how to make '..\..\libConfig.pm' Stop.

If anyone has already build XML::Parser module for windows. Please help me out. Regards, Sridhar

Comment on I want to build XML::Parser module for windows.
Download Code
Re: I want to build XML::Parser module for windows.
by Anonymous Monk on Sep 05, 2012 at 11:19 UTC

    Which perl do you have?

    It either comes with XML::Parser already, or its easily installable via

    cpanp -i XML::Parser

    or

    ppm install XML::Parser

      I dont want to install, but take source from cpan and build it for Windows platform

Re: I want to build XML::Parser module for windows.
by daxim (Chaplain) on Sep 05, 2012 at 11:21 UTC
    Which Perl distribution is that? Which version of Perl, XML-Parser, expat, VS/nmake do you have? Show the full build log.

      I am using perl 5.16.0 from cpan. I have installed expat lib also. i am using following command

      F:\5.16.0\WinNT4.0\perl-5.16.0\win32\..\perl.exe -I../../lib Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none PERL_CORE=1

        Why not install the perl first?

        What is output of perl -V:make -V:cc     ?

Re: I want to build XML::Parser module for windows.
by rpnoble419 (Pilgrim) on Sep 05, 2012 at 20:06 UTC

      Hi I want to build XML::Parser module, but not installation

        Have you read the README file distributed with XML::Parser? It explains how to build the module without installing it.

Re: I want to build XML::Parser module for windows.
by syphilis (Canon) on Sep 06, 2012 at 11:19 UTC
    What directory are you in ?
    What is in ../../lib that makes you want to call -I../../lib ?
    I think there's some sort of problem with DIRFILESEP - as shown by libConfig.pm (which should be lib\Config.pm )

    What is the *last* line of output you get from running:
    F:\thirupap\5.16.0\5.16.0\WinNT4.0\perl-5.16.0\perl.exe -MExtUtils::Ma +keMaker -e "$x = ExtUtils::MakeMaker->new();print $x->{DIRFILESEP}"
    For nmake it should be ^\
    For dmake it should be \\

    Cheers,
    Rob

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2015-07-03 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (56 votes), past polls