Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Relocation error when using Log::Log4Perl

by clscott (Friar)
on Nov 27, 2006 at 18:27 UTC ( [id://586302]=note: print w/replies, xml ) Need Help??


in reply to Re: Relocation error when using Log::Log4Perl
in thread Relocation error when using Log::Log4Perl

On any OS that provides a perl you should always compile and maintain your own perl distribution.

That way you do not have to worry about OS patches installing updated Perl modules and breaking your applications and vice-versa.

I just compile perl into /opt/<company>/perl on a build system. Then I install the modules and make a Solaris package from the install directories.

Then this package can be installed into any environment (development, qa, staging and production) and I know that my deployment procedure is testable, repeatable and automatable.

On Solaris I tend to create Solaris packages of my perl applications too, so that my deployments go more smoothly.

--
Clayton
  • Comment on Re^2: Relocation error when using Log::Log4Perl

Replies are listed 'Best First'.
Re^3: Relocation error when using Log::Log4Perl
by Fletch (Bishop) on Nov 28, 2006 at 01:10 UTC

    Excellent advice. It also isolates you from problems when you have different groups maintaining the OS and the applications, so you don't have the OS admins pushing out a newer perl RPM through up2date and managing to clobber all your site installed modules simultaneously . . . (fortunately I didn't have to clean up too much on that one :).

    At $cur_job I try and keep a separate "application" copy of all the really critical underlying software packages (Perl, gcc, PVM, ruby) that's independent of the RPM-installed system copies (granted we have a frelling huge NFS share for this which makes it easier than custom local RPMs; we're dependent on the same NFS mount for sharing gigs of data across n-hundred boxen anyhow so we live with the failure point for the binaries as well).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 19:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found