Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by adrianh (Chancellor)
on Sep 13, 2003 at 21:52 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-18 22:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found