When you typed "o conf gzip" did it show you a path to the executable? To be more specific, you should type something like
o conf gzip /path/to/your/gzipto set the path that CPAN.pm will use to find gzip.
| [reply] [d/l] |
actually what I got when using CPAN for gzip was just the string - 'gzip'
# perl -MCPAN -e shell
cpan shell -- CPAN exploration and modules installation (v1.61)
ReadLine support available (try 'install Bundle::CPAN')
cpan> o conf gzip
gzip
like so
I have 2 possible paths to gzip
/bin/gzip and
/usr/bin/gzip
I'll try both and get back to you
| [reply] [d/l] |
Thank you that worked a treat, it seems to get a bit further along with executing the script now but crashes out further on now with this error message
Scanning cache y/build for sizes
gzip: y/sources/authors/id/A/AN/ANDK/CPAN-1.70.tar.gz: No such file or
+ directory
CPAN.pm needs either both external programs tar and gzip installed or
both the modules Archive::Tar and Compress::Zlib. Neither prerequisite
is available. Can't continue.
now I did the same for tar as I did for gzip in
/usr/lib/perl5/5.8.0/CPAN/Config.pm
, but I don't know what syntax I use to get the modules installed. | [reply] [d/l] |
ok, I'm abit further along now, tar and gzip appear to be configured properly and working, but this "y" dir seems to be still causing a problem. I put the full path in the CPAN Config.pm file which worked a bit (i.e the script ran abit longer), but both the Scoop install script and
install Bundle::CPAN crash out at the same place.
I have created an alternative path to the files without the y dir, but don't know how to change what the script executes as it imports the path from elsewhere.
see below -
Couldn't rename CPAN-1.70 to y/build/CPAN-1.70: No such file or direct
+ory at /usr/lib/perl5/5.8.0/CPAN.pm line 3868
CPAN::Distribution::get('CPAN::Distribution=HASH(0x93dc31c)')
+called at
/usr/lib/perl5/5.8.0/CPAN.pm line 4873
CPAN::Bundle::contains('CPAN::Bundle=HASH(0x90f57c0)') called
+at /usr/lib/perl5/5.8.0/CPAN.pm line 4835
CPAN::Bundle::color_cmd_tmps('CPAN::Bundle=HASH(0x90f57c0)',0,
+1) called
at /usr/lib/perl5/5.8.0/CPAN.pm line 2018
CPAN::Shell::rematein('CPAN::Shell','install','Bundle::CPAN')
+called at
/usr/lib/perl5/5.8.0/CPAN.pm line 2102
CPAN::Shell::install('CPAN::Shell','Bundle::CPAN') called at /
+usr/lib/perl5/5.8.0/CPAN.pm line 186
eval {...} called at /usr/lib/perl5/5.8.0/CPAN.pm line 186
CPAN::shell() called at -e line 1
| [reply] [d/l] |