Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: A Guide to Installing Modules

by Anonymous Monk
on Oct 17, 2003 at 16:00 UTC ( #300053=note: print w/replies, xml ) Need Help??

in reply to A Guide to Installing Modules

I have been assigned to install a whole load of CPAN modules on the machines I admin for. The machines are a collection of differing RedHat boxes used by techies who like to change configurations and versions (so we have a lot of different RedHat and Perl versions). I tried CPAN but it requires an initial setup for each machine and I just want to install a directory full of perl-module.tar.gz's; I tried a script that essentially did uncompress, perl Makefile.PL; make; make test; make install but some packages throw up prompts on the Makefile.PL step and I don't know of a way to just indicate the defaults to each package. Any help would be appreciated.

Replies are listed 'Best First'.
Re: Re: A Guide to Installing Modules
by tachyon (Chancellor) on Oct 18, 2003 at 11:46 UTC

    Module::ScanDeps. Then build a test system that conforms to the minimal spec. Then make a build order. Then test.




      I am a retired web host provider ,we used to provide free webhosting for reurned servicemen in US UK and here in Australia. Until I retired they deleted them all.After my complaining theyve given me a shared server but Im not allowed to use admin privelidges. Obviously I jumped at ir. It seems I was a bit too keen because I have no access to mysql or php. I'm not sure what is the best way around this. I need to provide accounts but don't need accounting(creditcard etc) Simply need to have a way to supply free webhosting . I have been recomended phpmywebhosting but can't seem to get it started. The site is You can see where I've started and got stuck at I know it's probablt an easy fix but does anyone have a way to install all php,sql,in one go remotely via ftp? Regards Hey It's for a good cause) Regards Allan Optus australia
        I've read your entire guide, and I still can't figure out how to get it to work, mostly due to my stupidity, i think.
        I have Windows XP Home and really I'm just messing around with PERL. I'm trying to install the Data::Serializer module. As you suggested, I downloaded CYGWIN(even though I can't stand BASH shells). Previously, I had used a program called ActivePerl to run my perl scripts. Here's what I did:

        Downloaded the module to desktop from CPAN
        Opened it with WinZip, and extracted it to C:\Perl\lib
        Opened CYGWIN, changed to the directory, used perl
        It told me that it had successfully installed it
        I went to run my script(C:\ using ActivePerl, not CYGWIN, and I get the same error as when I had not installed the module. Here is the error if it helps:

        Can't locate Data/ in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:\ line 4.
        BEGIN failed--compilation aborted at C:\ line 4.

        Thats returned servicemen. I need to be able to use scripts. And anyone can email me at

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://300053]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2023-10-04 22:22 GMT
Find Nodes?
    Voting Booth?

    No recent polls found