You are not logged in.
Allright, I don't know too much about perl's configuration, so I don't know if this is an issue with my system, or the upgrade.
I've got some perl scripts in /home/httpd/cgi-bin/. They're the MT (Movable Type) engine scripts. Before the upgrade, they worked just fine. Upgrade perl, and then I try http://192.168.1.25/cgi-bin/mt.cgi and get:
Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: mt.cgi
If you think this is a server error, please contact the webmaster.
Error 500
aias.no-ip.info
Fri Nov 7 11:51:56 2003
Apache/2.0.48 (Unix) DAV/2 mod_ssl/2.0.48 OpenSSL/0.9.6k PHP/4.3.4
So, now I try running the scripts on the command line to see if I can get some better output from it:
[root@siren cgi-bin]# ./mt.cgi
Can't locate strict.pm in @INC (@INC contains: /usr/lib/perl5/5.8.2/i686-linux /usr/lib/perl5/5.8.2 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1/i686-linux /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl .) at ./mt.cgi line 7.
BEGIN failed--compilation aborted at ./mt.cgi line 7.
And this is what /home/httpd/cgi-bin/mt.cgi looks like:
#!/usr/bin/perl -w
# Copyright 2001-2003 Six Apart. This code cannot be redistributed without
# permission from www.movabletype.org.
#
# $Id: mt.cgi,v 1.18 2003/02/12 01:05:31 btrott Exp $
use strict;
my($MT_DIR);
.
.
.
Any thoughts/suggestions?
Nkawtg...n!
Offline
well what concerns me is paths for both perl versions being displayed when you run at the commandline. likely something may need to be recompiled somewhere down the line.
AKA uknowme
I am not your friend
Offline
Jagged,
check /usr/lib/perl5/5.8.2/ for strict.pm, it should have been included with 5.8.2. if it's not there, try re-installing 5.8.2
Offline
this is the conents of /usr/lib/perl5/5.8.2:
[root@siren perl5]# cd 5.8.2/
[root@siren 5.8.2]# ls
i686-linux
solution:
delete the package out of /var/cache/pacman/pkg/
redownload, and install, and everything is fine
odd
Nkawtg...n!
Offline