Hello,
I’ve some problems installing a forum on a unix-server. My
installer.cgi runs but most of the times (sometimes it works a little
bit) I proceed I’ll receive an error like:
————————————————————————— —–
The error returned was: [Tue Jul 16 14:02:36 2002] start.pl: Can’t
locate start.pl in @INC (@INC contains:
/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux
/usr/lib/perl5/site_perl/5.005 . /usr/local/slash/apache/
/usr/local/slash/apache/lib/perl) at install_modules/functions.pm line
49.
————————————————————————— —–
The .pl-files are sometimes different but the script can’t locate my
library or something. It says I need to edit my CGI-script and enter
in my full paths but I’m almost sure I’ve set them correctly. I
already found some advice that I had to add something like this to the
script:
#!/usr/bin/perl -w
use strict;
BEGIN {
push( @INC, "/some/path" );
}
But when I run the script with this added I already receive a software
error immediately most of the times (sometimes it works a little bit)
when I try to run installer.cgi
Can someone help me editing my script so it will work? Has someone any
ideas how to get my script finding the library or something?
Thx,
Hilbert Davelaar