http://www.perlmonks.org?node_id=924205

bhagperl has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

Good Day to everyone !! I seek a solution to my problem on installing CGI::Session on windows. I am unable to build the source for CGI::Session and i get error as:

syntax error at -e line 1, near "'755' ]" Missing right curly or square bracket at -e line 1, at end of line Execution of -e aborted due to compilation errors. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff' Stop.

Please help me out.

Thanks in advance.

Replies are listed 'Best First'.
Re: CGI::Session for Windows
by Anonymous Monk on Sep 05, 2011 at 12:07 UTC

    You're using the wrong make for your build of perl, so use what perl -V:make reports

    Or tell Makefile.PL to use nmake perl Makefile.PL MAKE=NMAKE

    Or you need to upgrade ExtUtils::MakeMaker and its dependencies

    Or use Build.PL instead

    perl Build.PL Build test Build install
      Hi Everyone,

      I am very happy that both Build.pl and perl Makefile.PL MAKE=NMAKE worked !!! I am very Thankful to you for resolving my problem so fast :)

      Thanks Monks !

      Also is there any resource to know more on building packages and configuration stuffs. I will be very happy to know !!

      Have nice day !!

        One or more of the following may be of interest to you. Either use perldocmanpage from the commandline or link from http://perldoc.perl.org/perl.html (under the Reference Manual section).

        perlmod Perl modules: how they work perlmodlib Perl modules: how to write and use perlmodstyle Perl modules: how to write modules with style perlmodinstall Perl modules: how to install from CPAN perlnewmod Perl modules: preparing a new module for distribut +ion

        -- Ken

Re: CGI::Session for Windows
by syphilis (Archbishop) on Sep 05, 2011 at 12:08 UTC
    syntax error at -e line 1, near "'755' ]"

    Could you provide the output produced by running
    perl -V
    Cheers,
    Rob