Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
No, first become root, then run perl -MCPAN -e shell then type install CGI::Carp (before you can do this, you will be prompted to set up how CPAN downloads and installs modules -- if in doubt, go with the defaults, they;re very reasonable). The perl -MCPAN -e shell command launches a little shell that allows you to easily update the Perl on your system and install new modules. This is what you need to do here.
[edit]
Just saw your last post -- the Carp may not be the same as CGI::Carp, particularly if it's not in a directory called CGI. Try the steps above anyhow.
I downloaded CPAN and put it all in the right directories.. I typed perl -MCPAN -e shell and I get this..
CPAN is the world-wide archive of perl resources. It consists of about
100 sites that all replicate the same contents all around the globe.
Many countries have at least one CPAN site already. The resources
found on CPAN are easily accessible with the CPAN.pm module. If you
want to use CPAN.pm, you have to configure it properly.
If you do not want to enter a dialog now, you can answer 'no' to this
question and I'll try to autoconfigure. (Note: you can revisit this
dialog anytime later by typing 'o conf init' at the cpan prompt.)
Probably, but don't worry, it's mostly painless (as I said, just accept the defaults if in doubt). Don't worry, you're almost there now . Of course, you can try your luck with the default configuration and go back and do it by hand if something goes wrong.
[Mon Jun 28 16:48:38 2004] [error] [client 203.18.0.2] Premature end of script headers: gm.cgi
[Mon Jun 28 16:48:39 2004] [error] [client 203.18.0.2] Premature end of script headers: gm.cgi
[Mon Jun 28 16:48:42 2004] [error] [client 203.18.0.2] Premature end of script headers: gm.cgi
[Mon Jun 28 16:48:47 2004] [error] [client 203.18.0.2] Premature end of script headers: links.pl
[Mon Jun 28 16:48:50 2004] [error] [client 203.18.0.2] Premature end of script headers: links.pl
That's from the error log.. this is so annoying! lol. What does that mean? I've downloaded and installed the module from the CPAN shell. Everything is setup, I think.
I see you managed to get CPAN installed. When you said in your last post that you got the modules installed - was that by running "install CGI::Carp" from teh "cpan>" prompt?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.