Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Using expect to do make install when installing perl mods

by adrianh (Chancellor)
on Sep 13, 2003 at 21:52 UTC ( #291297=note: print w/replies, xml ) Need Help??


in reply to Using expect to do make install when installing perl mods

You can get ExtUtils::MakeMaker to do most of this work for you. Download all of the modules, untar them, and move them all into a single directory.

Add a Makefile.PL at the root of the directory like this:

use ExtUtils::MakeMaker; WriteMakefile( NAME => 'MyBundle', VERSION => 0.01, INST_LIB => './blib/lib', INST_ARCHLIB => './blib/arch', );

Then tar everything up into MyBundle.tgz. You should then be able to do:

% tar xfvz MyBundle.tgz % cd MyBundle % perl Makefile.PL % make % make test % make install

to install all of the modules.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2022-05-29 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?