Limbic~Region has asked for the wisdom of the Perl Monks concerning the following question:
A couple of days ago, I got frustrated by not being able to write Perl6 at work. For reasons which are not pertinent to this post, I only have http/https connectivity to the outside world via a proxy and have no ability to "install" programs on my local machine. After obtaining a zipped copy of GHC, Subversion, and ActiveState Perl - I configured Subversion to use my proxy and checked out Pugs.
Here is where the real fun began. After running perl Makefile.PL I received a cryptic message about Perl not being installed in C:\TEMP and to install it in a standard directory. It took me the better part of two hours tracing through the Makefile and modules that called modules to find the source of the problem. It turns out that the Config module sticks some silly message in the hash about not being installed if Perl is not actually installed. Since it is a tied hash that makes it read only, the only option I had at this point was to modify the module and hard code the path to Perl - not elegant but effective.
The very next day on #perl, someone asked why CPAN.pm was complaining about Perl not being installed. I asked if it was complaining about not being able to find perl.h and the response was yes. I explained my kludge (to include the 124 character search & replace) and began wondering how better to solve the problem.
My first thought was to contact the Config author and explain the problem with using a zipped version of ActiveState Perl and suggest croaking with a more descriptive message when appropriate. The trouble is that it appears that it is in the Solaris-PerlGcc-1.3 bundle which seems very wrong to me. The Config module is specific to Perl (not a specific OS or compiler) and has been part of the core since 5.00307. The bundle has only been around since 2003-05-13. I think perhaps it has been accidently hi-jacked but POD doesn't list an author. What do you think I should do - attempt to contact the bundle author, a pumpking, nothing, or something else entirely?
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ActiveState and Config.pm Question
by dave_the_m (Monsignor) on Jul 01, 2005 at 13:29 UTC | |
by Limbic~Region (Chancellor) on Jul 01, 2005 at 14:18 UTC | |
by dave_the_m (Monsignor) on Jul 01, 2005 at 16:10 UTC | |
by Limbic~Region (Chancellor) on Jul 01, 2005 at 16:50 UTC | |
by chromatic (Archbishop) on Jul 01, 2005 at 18:50 UTC | |
| |
by Limbic~Region (Chancellor) on Jul 01, 2005 at 19:05 UTC |