nunder
02-21-2001, 12:17 PM
I have the following perl script. It was written, and working on a machine that was running Debian 2.2. I tried to move it to a box running RH 7, and I get the following error. Any ideas?
Can't locate HTTP/Request/Common.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.6.0/i386-linux/nshttp.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.6.0/i386-linux/nshttp.pm line 7.
Compilation failed in require at /var/www/cgi-bin/licensecheck.pl line 5.
BEGIN failed--compilation aborted at /var/www/cgi-bin/licensecheck.pl line 5.
[Wed Feb 21 11:12:31 2001] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /var/www/cgi-bin/licensecheck.pl
I've checked the path (the ones listed after @ above), and all of the files seem to be there.
Can't locate HTTP/Request/Common.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.6.0/i386-linux/nshttp.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.6.0/i386-linux/nshttp.pm line 7.
Compilation failed in require at /var/www/cgi-bin/licensecheck.pl line 5.
BEGIN failed--compilation aborted at /var/www/cgi-bin/licensecheck.pl line 5.
[Wed Feb 21 11:12:31 2001] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /var/www/cgi-bin/licensecheck.pl
I've checked the path (the ones listed after @ above), and all of the files seem to be there.