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

Dear Monks,

I was just asked for the second time in a year to resuscitate an event calendar and associated content management system I had installed for a client some years ago. It seems to have broken due to a FreeBSD upgrade both times. I'd like to know if anyone has an idea for solving this problem in the general case so I don't have to do this once a year. So far I'm thinking of:

  1. Just suck it up.
  2. demand the isp host the modules forever just for us. (they can't easily change isp)
  3. bundled precompiled binary using something like PAR pp.
  4. figuring out how to get these things to statically compile. (this failed, see below)
  5. hosting this or a new application for free for them on my (as yet nonexistent) new server just so this (important but poor) client has no hassles.

Last time the problem was solved by recompiling the modules. This time, it worked for half the system but I also had to install newer versions and still the rebuild seems not to have taken completely yet. As the emergency came right after the date of the release as given by uname, understandably this looks like a neverending battle. So what I have is, four or five perl modules compiled locally but that break when the shared libraries on which they depend are changed with the OS. It was bittersweet to find on the server the technical memo I had written to future administrators about the last time..

Obviously an upgrade would have been manageable if the system was properly administered, had its own machine, had a provider who told the client in advance about these things, had a provider who managed the required packages for us, if there was a real database, if the client would change providers, etc.

Well solving the problem requires debugging and rebuilding DBI,DBD::CSV,Text::CSV_XS, and SQL::Statement (which I did..) although I am still having trouble with dbi execute failing inexplicably so I am not done yet.

My questions after all this:

Thanks for your ideas.

Matt R.

  • Comment on How to proof perl cgi system against hosting company's system upgrades?

Replies are listed 'Best First'.
Re: How to proof perl cgi system against hosting company's system upgrades?
by PodMaster (Abbot) on Sep 19, 2003 at 10:33 UTC
    PAR can be a nice solution (i leave the R-ing to you), or you can simply maintain your own perl install(or module install --> use lib).

    PS - A couple of threads similar to this have cropped up recently, so you might wanna look for them.

    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.