> I need to recompile some scripts, unfortunately my machine is new
> installed (Win7 32bit), so I need to get all those modules I used into my
> current perl installation. One module I used is Logfile::Rotate, which
> doesn't show up in ppm, so I try to use cpan/cpanplus. When I run cpan, it
> seems to just fetch packages from the activestate ppm repository, so the
> module isn't found there (I guess it's the same repository that ppm uses).
> I tried cpanplus then, but it seems to not work with our proxy (I have set
> an environment variable http://user:passw...@proxy:port). Can I get
> cpanplus to work with our proxy, or can I set cpan to actually fetch stuff
> from cpan and not activestate?

I managed to reconfigure the cpan module to use the http cpan mirrors. However, 
I get this error when trying to install:

cpan[33]> get /Logfile::Rotate/
Running get for module 'Logfile::Rotate'
Fetching with LWP:
http://cpan.cpantesters.org/authors/id/P/PA/PAULG/Logfile-Rotate-1.04.tar.gz
Fetching with LWP:
http://cpan.cpantesters.org/authors/id/P/PA/PAULG/CHECKSUMS
Checksum for C:\Perl\cpan\sources\authors\id\P\PA\PAULG\Logfile-Rotate-1.04.ta
gz ok
Scanning cache C:\Perl/cpan/build for sizes
DONE
Invalid header block at offset unknown at C:\Perl\lib/CPAN/Tarzip.pm line 358
Invalid header block at offset unknown at C:\Perl\lib/CPAN/Tarzip.pm line 358
Invalid header block at offset unknown at C:\Perl\lib/CPAN/Tarzip.pm line 358
Invalid header block at offset unknown at C:\Perl\lib/CPAN/Tarzip.pm line 358
Invalid header block at offset unknown at C:\Perl\lib/CPAN/Tarzip.pm line 358
Invalid header block at offset unknown at C:\Perl\lib/CPAN/Tarzip.pm line 358

Also, I think it would be better to get cpanplus to work since it automatically 
set up a c-compiler environment...

Lars
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to