Operating System - Linux
1834207 Members
2559 Online
110066 Solutions
New Discussion

Install perl package problem

 
nash11
Frequent Advisor

Install perl package problem

I have download a perl module and install it , if I compile this module and copy it to another host , do you think I still can use this module ? or do I must install it to the host I use ? thx
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Install perl package problem

Shalom,

You can copy the perl binaries if you know where they are from system to system without re-compiling.

Generally its easier to take the same file you did the initial install from and then re-install the perl.

Any program you wrote in perl should work from system to system after being copied and enabled for execution. perl "compiles" at run time.

I believe the rl in perl stands for runtime language. Could be wrong about that though.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Peter Nikitka
Honored Contributor

Re: Install perl package problem

Hi,

if you have compiled your Perl-module succesfully - and perhaps 'make test' ran okay - you usually do a 'make install'.

To put this module
- under the same architecture
- under the same path of the Perl installation

I just NFS-mount the directory with the module data at the other box(es) and call 'make install' there.
Having normally setup the compilation of perl modules in my home, which gets automounted at (most) if my other hosts, this step is done automagically.

The 'make install' knows best, where to put which files.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
dirk dierickx
Honored Contributor

Re: Install perl package problem

as long as:

- it's the same platform (os, architecture)
- it's the same version of perl
- it's located at the same path

there should be no problems with it.