Re: perl cgi session module installation problem




<bhuvana.aradhya@xxxxxxxxx> wrote in message
news:1149520312.311110.258550@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
HI ,

I am trying to install perl cgi::session module using the perl module
installation procedure

downloaded the CGI-Session-4.10.tar.gz
tar zxvf CGI-Session-4.10.tar.gz
perl Makefile.pl

Failed with the following message, Can anybody suggest what is missing?

Not enough arguments for mkdir at Makefile.PL line 61, near "))"
BEGIN not safe after errors--compilation aborted at Makefile.PL line
66.


Strange .... the only occurrence of 'mkdir' in the Makefile.PL (which I
assume to be line 61) is:

mkdir(File::Spec->catfile('t', 'sessiondata'));

That should equate to:
mkdir 't/sessiondata';

Try using that instead.
If that fixes the error then you need to find out why File::Spec is
malfunctioning.

If the error persists, then it looks like perl is insisting that a second
MASK argument be supplied - and you would need to supply that argument. (See
'perldoc -f mkdir'.)

Alternatively, what I would probably do is manually create the 'sessiondata'
directory in the 't' directory, and then remove (comment out) the 'mkdir
....' line in the Makefile.PL :-)

Assuming your File::Spec is working correctly (and, therefore, that you
have uncovered a CGI::Session bug), you should file a bug report about this
at:
http://rt.cpan.org/Public/Dist/Display.html?Name=CGI-Session

One simple solution would be for the author to include, in the source
tarball, a file that needs to be unpacked into the t/sessiondata'
directory - ie a file whose sole purpose is to ensure that the
't/sessiondata' directory gets created without having to involve the
Makefile.PL in the process at all.

Cheers,
Rob


.



Relevant Pages

  • perl cgi session module installation problem.
    ... I am trying to install perl cgi::session module using the perl module ... tar zxvf CGI-Session-4.10.tar.gz ...
    (comp.lang.perl.misc)
  • perl cgi session module installation problem
    ... I am trying to install perl cgi::session module using the perl module ... tar zxvf CGI-Session-4.10.tar.gz ...
    (comp.lang.perl.modules)
  • Re: need help building DBI.pm 1.48
    ... Future versions of the DBI *will not* support perl 5.6.0 or earlier. ... > mkdir blib/lib ... > Manifying blib/man3/Roadmap.3 ...
    (perl.dbi.users)
  • Re: Cannot reset LIBPATH in perl program on AIX
    ... >> I am having a problem with my perl module on AIX system. ... We store information of our source code in a seperate database and have ... > want and the exec your perl script. ...
    (comp.lang.perl.misc)
  • Re: moving unused of a website
    ... Perl is the language, perl is the binary. ... folder pix_out keeping the same hierarchy as in the original ... mkdir $dir unless -d $dir; ... and make sure to check for errors in subsequent file operations ...
    (comp.lang.perl.misc)