Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by sridhar84 (Novice)
on Sep 05, 2012 at 11:14 UTC ( [id://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

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

    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 syphilis (Archbishop) 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
Re: I want to build XML::Parser module for windows.
by daxim (Curate) 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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found