Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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 '..\..\' Stop.

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

Replies are listed 'Best First'.
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


    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 syphilis (Chancellor) 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 (which should be lib\ )

    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 \\

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://991808]
Approved by Corion
[ambrus]: Corion: actually, schmorp has complained about how you used that syntax in the draft for AnyEvent::Impl:: Prima. I don't think he screamed, but whatever.
[ambrus]: Yes, I know you fixed that since.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2017-02-27 14:46 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (388 votes). Check out past polls.