SmokeyB has asked for the wisdom of the Perl Monks concerning the following question:

Hey Monks,

I've been a user of perl for many years, but always on a windows system using ActivePerl.

It is now my task to install Perl on the unix system, but with the smallest footprint possible. Basically Only installing the modules and dependancies that our application uses.

Forgive me if my unix ignorance show through, but I am at a complete loss, never doing this before.

I've been able to actually compile a full version of the latest stable version (yah for me!) using the standard method of:
sh Configure make make test make install
Now what would it take for me to create a custom install. I'm not looking for a complete solution or answer. Just to be pushed in the right direction, or maybe a link that can help me out.

Cheers!

Replies are listed 'Best First'.
Re: Installing Perl without all the basic modules
by PodMaster (Abbot) on Jul 28, 2004 at 14:14 UTC
    use PAR

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      is it possible to use PAR to bundle up the required modules, but leave my scripts as they are, just referencing to the PAR file?
Re: Installing Perl without all the basic modules
by ysth (Canon) on Jul 28, 2004 at 15:25 UTC
    Are you certain this unix system doesn't already have perl?
      The unix system has perl. I just need to create a 'custom' perl installation with only the modules I need. I will make an attempt at using PAR. Now... just to figure out how to. (hehe)
Re: Installing Perl without all the basic modules
by revdiablo (Prior) on Jul 28, 2004 at 17:03 UTC

    Just to reinforce PodMaster's point, PAR will allow you to create a standalone executable that includes everything your program needs to run. Your binary, modules, and scripts will all be bundled in one executable file.