Check @INC to make sure it has something in it. ExtUtils::MakeMaker and ExtUtils::Command comes with perl, so either someone removed it, it's somewhere that perl isn't looking, or, for some odd reason, it can't compile. You may think that last one is far-fetched, but it was my problem once. I tend not to touch the core modules (or write wrappers to overload them if I really need to), but other people think they can edit any file for any reason.
If this is your server and you can, you might want to simply reinstall perl from the source. People have different feelings about this, but I never trust a third-party compilation of perl. I always do it myself.
If this isn't your server, they may not want you to install modules, so they (re)moved the ExtUtils::* stuff. That's dumb, but that's just my opinion.
If you really don't want to do that much work and just want to solve this problem for now and get on with life, you can just copy the CGI.pm file to where you want it, along with the CGI/ directory. The Makefile.PL for CGI.pm doesn't do anything fancy. Wherever you put the files needs to show up in @INC somehow.
In reply to Re: Moved to a new server, Need help installing perl modules!
by brian_d_foy
in thread Moved to a new server, Need help installing perl modules!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |