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