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.


In reply to How to proof perl cgi system against hosting company's system upgrades? by mattr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.