i checked both paths in OpenSRS.conf and they are correct. i wrote a
script that displayed the values of $PATH_SOURCE and $PATH_LIB, both
displayed the right paths in my .cgi files i changed the configuration
file line like so:
# pull in conf file with defined values
# XXX NOTE XXX Update this configuration file
BEGIN {
do "/etc/OpenSRS.conf";
}
use lib $PATH_LIB;
do "$PATH_LIB/cgi-lib.pl";
i still get and Internal Server Error saying that @INC cannot locate
Client.pm
what if i just copied Client.pm to all the places that @INC is looking
for it? good idea or bad idea?
thanks
>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: Chris S <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: Unable to establish socket!
>Date: Wed, 16 Aug 2000 16:49:48 -0700 (PDT)
>
>
>In your OpenSRS.conf, you need to set the path source. The line reads
>something like:
>
>$PATH_SOURCE = "/usr/local/opensrs";
>
>Then, reg_system.cgi and the others set the lib for you with:
>
>use lib $PATH_LIB;
>
>(make sure you also set the correct path to OpenSRS.conf in all of the
>cgi's)
>
>On Wed, 16 Aug 2000, Chris S wrote:
> > ok, i checked the log and found that @INC wasn't able to find
Client.pm
> > .
> > i had this problem before with CBC.pm, and ended up just copying it
to
> > where @INC was looking for it. there must be a better way to fix
this
> > than just copying, but the only advice i got was push(@INC,
> > 'path/to/file'); which i tried to put into my .conf file but it
didn't
> > work. should i put this command somewhere else?
> > thanks for all your help.
> >
> >
>