Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: A Guide to Installing Modules

by Anonymous Monk
on Oct 17, 2003 at 16:00 UTC ( [id://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.

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

      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 freehostultra.com You can see where I've started and got stuck at www.freehostultra.com/install/ 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 makefile.pl
        It told me that it had successfully installed it
        I went to run my script(C:\test.pl) 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/Serializer.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:\test.pl line 4.
        BEGIN failed--compilation aborted at C:\test.pl line 4.


        Thanks,
        OxYgEn
        Thats returned servicemen. I need to be able to use scripts. And anyone can email me at al@optusgroup.com

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (9)
As of 2024-04-18 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found