I know what the problem is now. In the lib folder there is a folder called
OpenSRS where the XML_Client.pm, XML_Codec.pm, OPS.pm, Client.pm are located
just move them to up to the lib folder and that will fix the problem.
-------------------------------------------------------------
Tom Savino
CEO
2Tone Web Design
"The Only Limitation Is The Imagination"
Phone: 727-343-4426
Cell: 727-481-3180
Fax: 815-550-7317
http://www.2tonewebdesign.com
http://www.2tonedomains.com
----- Original Message -----
From: Daniel Manley <[EMAIL PROTECTED]>
To: Tom Savino <[EMAIL PROTECTED]>
Cc: Charles Daminato <[EMAIL PROTECTED]>; Gregory Neil Shapiro
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, September 06, 2000 11:24 AM
Subject: Re: 2.2 Beta working?
> hmmm... the cgi's do a "use lib $PATH_LIB", which is supposed to make
OpenSRS::XML_Client available and XML_Client.pm does a "use OPS", assuming
that OPS.pm is either in the lib path or the current directory (and OPS.pm
does a "use XML_Codec"). If this isn't working, maybe $PATH_LIB is not set
up correctly in OpenSRS.conf.
>
> in OpenSRS.conf... $PATH_SOURCE should be the location where the cgi, etc
and templates directories are (eg "/opt/opensrs/client"). $PATH_LIB is, by
default, based on $PATH_SOURCE ($PATH_LIB = "$PATH_SOURCE/lib")... if your
lib is not in the same place as the rest of the OpenSRS client installation,
change the definition of $PATH_LIB (same goes for $PATH_TEMPLATES).
>
> I hope this helps.
>
> Dan
>
> Tom Savino wrote:
>
> > I had the same problem with mine so I dumped the XML_Client.pm and the
> > XML_Codec.pm into /usr/lib/perl5/5.00503 and it worked but I should not
have
> > to do that to make it work out of the box. I am using Linux 6.1.
> > -------------------------------------------------------------
> >
> > Tom Savino
> > CEO
> > 2Tone Web Design
> > "The Only Limitation Is The Imagination"
> > Phone: 727-343-4426
> > Cell: 727-481-3180
> > Fax: 815-550-7317
> > http://www.2tonewebdesign.com
> > http://www.2tonedomains.com
> > ----- Original Message -----
> > From: Charles Daminato <[EMAIL PROTECTED]>
> > To: Gregory Neil Shapiro <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Wednesday, September 06, 2000 7:34 AM
> > Subject: Re: 2.2 Beta working?
> >
> > > It *should* work out of the box...
> > >
> > > There's a config in XML_Client.pm - you have to tell it the location
of
> > > your OpenSRS.conf file. I'm not sure why the programmers did this,
but
> > > that'll fix your error.
> > >
> > > I didn't have to move OPS.pm into the lib directory... (or maybe I
did?)
> > > I'll have to check my setup.
> > >
> > > Thanks for the feedback, and goodluck!
> > >
> > > Charles Daminato
> > > OpenSRS Support Manager
> > > [EMAIL PROTECTED]
> > >
> > > On Tue, 5 Sep 2000, Gregory Neil Shapiro wrote:
> > >
> > > > Has anyone been able to get the 2.2 code working as shipped?
> > > >
> > > > After installing, verify_install.cgi (and manage.cgi) gives:
> > > >
> > > > Can't locate OPS.pm in @INC (@INC contains:
> > /usr/local/www/test.retsiger.com/lib /usr/libdata/perl/5.00503/mach
> > /usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
> > /usr/local/lib/perl5/site_perl/5.005 .) at
> > /usr/local/www/test.retsiger.com/lib/OpenSRS/XML_Client.pm line 44.
> > > > BEGIN failed--compilation aborted at
> > /usr/local/www/test.retsiger.com/lib/OpenSRS/XML_Client.pm line 44.
> > > > BEGIN failed--compilation aborted at
> > /usr/local/www/test.retsiger.com/cgi-bin/secure/verify_install.cgi line
36.
> > > > [Tue Sep 5 22:36:20 2000] [error] [client 209.220.147.181]
Premature
> > end of script headers:
> > /usr/local/www/test.retsiger.com/cgi-bin/secure/verify_install.cgi
> > > >
> > > > So I symlink lib/OpenSRS/{OPS,XML_CODEM}.pm to lib/ so it can find
those
> > > > files. Alternatively, I could have added lib/OpenSRS to the search
> > path.
> > > >
> > > > However, it still fails:
> > > >
> > > > Global symbol "$OPENSRS_TLDS_REGEX" requires explicit package name
at
> > /usr/local/www/test.retsiger.com/lib/OpenSRS/XML_Client.pm line 558.
> > > > Compilation failed in require at
> > /usr/local/www/test.retsiger.com/cgi-bin/secure/verify_install.cgi line
36.
> > > > BEGIN failed--compilation aborted at
> > /usr/local/www/test.retsiger.com/cgi-bin/secure/verify_install.cgi line
36.
> > > > [Tue Sep 5 22:36:52 2000] [error] [client 209.220.147.181]
Premature
> > end of script headers:
> > /usr/local/www/test.retsiger.com/cgi-bin/secure/verify_install.cgi
> > > >
> > > > I would have assumed the code would work "as is" out of the box but
I
> > guess
> > > > not. Is it just me?
> > > >
> > >
> > >
>
>