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

Ok guys, So, I'm moving my companies application to a new box. And it appears that things happened in this order: 1- Perl was installed 2- gcc was removed Thus, I'm left with a perl configuration where cc='gcc' but I have no gcc. Hence I can't install squat from CPAN. Does anyone know how I can modify my configuration. I need this info REALLY quick; so, even if you only have a hunch . . .I'll take it. Thanks in advance, Chris

Replies are listed 'Best First'.
RE: Reconfigure Perl Installation
by stephen (Priest) on Apr 01, 2000 at 04:32 UTC
    Okay, top-of-the-head hunch... do a perldoc ExtUtils::MakeMaker. There might be a parameter that you can override on the command line to change that option. Then you can put it in your config module in your .cpan directory, so that it does this automatically.

    Anyway, I know you don't wanna hear this right now, but... might be a very good idea to reinstall Perl with your existing compiler. You can leave the other one in place, and install the new one somewhere slightly nonstandard for now. Granted it'll take a bit of time, but I have a feeling that even if you do manage to get the system compiling with a different compiler, you might run into problems trying to do this. This is also just a hunch.

    Good luck!

    stephen