Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

hide (4398)

  (email not shown publicly)

hide has been programming in Perl since 1998. Much of this time has been focused on system automation and data warehousing.


Journal of hide (4398)

Tuesday January 25, 2005
11:43 AM

What a day (so far).

[ #22878 ]
Today I'm preparing to role out a new version of an application I've been working on for the past couple of weeks. This is a bit of legacy code that we use everyday, but required additional functionality. I took this opportunity to begin refactoring, and adding tests. It's a major rewrite, that starts to use modules from CPAN, and modules that I've written rather than one long script.

All was fine on my development box, the trouble began when I started to test the application on our production environment. I'd forgotten that this application lives on a box running with the OS installed Perl 5.6.0.

"No problem compile 5.8.x" you might say. We aren't allowed compilers in production, and I have no test box matching this configuration. "Install a binary", I managed to find one that was approved for use. The application requires XML::Parser (requiring a compiler). Tracked someone down with a compiler, right version of Perl, wrong compiler.

Back to trying to use 5.6.0. We have a local CPAN::Mini::Inject mirror that we use for our other applications, so this was a natural choice of where to install modules from (plus the application server does not have Internet access). Configured CPAN, try to point it at our local mirror. No luck. We use HTTP access (ftp not being allowed) and LWP had never been installed on this server (no wget, nor ncftp either).

Copy LWP over by hand, discover it's prerequisites, and do the same for each of those. I'm now stopped by not having a compiler and not having Perl 5.8.x to install an LWP prerequisite.

I've found someone to compile Perl and the modules that require compiling for me. Hopefully I'll be able to use CPANPLUS to install the rest of the modules and move on.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.