Laurens,
Unfortunately it's actually on the same line, that wrapping was caused by a
mail reader.
Drats...thanks for the help anyway,
-shane
----- Original Message -----
From: "Laurens" <[EMAIL PROTECTED]>
To: "Shane Miller" <[EMAIL PROTECTED]>
Sent: Monday, May 14, 2001 4:55 PM
Subject: Re: $PATH_SOURCE in OpenSRS.conf
> Hi,
>
> You should remove the "/home/username/opensrs" part below the
> $PATH_SOUIRCE variable, because it's on a seperate line, it should be
right
> after the '# e.g., ' part so Perl would consider it as a comment. You can
> remove it or just place your cursor in front of it and backspace.
>
> Hope that helps!
>
> Laurens Pilger
>
> Shane Miller wrote:
>
> > Hi,
> >
> > I seem to have the wrong library path in OpenSRS.conf --- however when I
> > hard-code the $PATH_LIB variable in verify_install.cgi, it works. I
don't
> > know Perl at all, so this might be a syntax problem?
> >
> > This is what I have in OpenSRS.conf:
> >
> > $PATH_SOURCE = "D:/Inetpub/opensrs"; # e.g.,
> > "/home/username/opensrs"
> > $PATH_LIB = "$PATH_SOURCE/lib";
> > $PATH_TEMPLATES = "$PATH_SOURCE/templates";
> >
> > verify_install.cgi has this:
> >
> > BEGIN {
> > do "D:/Inetpub/opensrs/etc/OpenSRS.conf";
> > }
> >
> > use lib $PATH_LIB;
> > use OpenSRS::XML_Client;
> > use OPS;
> > use Config;
> >
> > The above yields the following error:
> >
> > The specified CGI application misbehaved by not returning a complete set
of
> > HTTP headers. The headers it did return are:
> >
> > Empty compile time value given to use lib at
> > D:\Inetpub\phtxcgi-bin\verify_install.cgi line 37
> > Can't locate OpenSRS/XML_Client.pm in @INC (@INC contains: D:/Perl/lib
> > D:/Perl/site/lib .) at D:\Inetpub\phtxcgi-bin\verify_install.cgi line
38.
> > BEGIN failed--compilation aborted at
> > D:\Inetpub\phtxcgi-bin\verify_install.cgi line 38.
> >
> > HOWEVER --- if I hard code the line in verify_install.cgi as follows, it
> > seems to work:
> > use lib "D:/Inetpub/opensrs/lib";
> > Please help!
> >
> > Shane Miller
> > Prophetechs Corporation
> > 107 North Oak Street
> > Port Angeles, WA 98362
> > 360-417-0845
> > http://www.prophetechs.com
> > [EMAIL PROTECTED]
>