Definately not "Out of Box"

The solution is to eliminate the OpenSRS folder that lives at
client/lib/OpenSRS and move all of those files into /client/lib (there may
be a few more mods to this method, as I have not fully tested yet)

Similarly, and a bit more tricky would be to

1. insert the following at XML_Client.pm around line 42

use OpenSRS::OPS; # rather than use OPS;

2. Insert the following at OPS.pm around line 32

use OpenSRS::XML_Codec; # rather than use XML_Codec;

3. And, if you care, modify verify_install.cgi to recognize OPS around line
37

use OpenSRS::OPS; # rather than use OPS

There may be something that I missed, if so please post to the group.

Bob Martin
Shore Communications, LLC
http://www.shorecom.com
Website Hosting from $9.95/month

----- Original Message -----
From: Tom Savino <[EMAIL PROTECTED]>
To: Charles Daminato <[EMAIL PROTECTED]>; Gregory Neil Shapiro
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 06, 2000 10:47 AM
Subject: Re: 2.2 Beta working?


> 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?
> > >
> >
> >

Reply via email to