Witold,
Thanks very much for the help. By using your approach, I was eventually successful in installing the OpenSRS client using Blowfish on my Virtual Host machine without root access. I'm not very skilled yet with Perl so I struggled for awhile getting the directories and paths arranged properly for the other installation files in order for all of the scripts to work.
After following your instruction to add the PREFIX parameter for the Makefile.PL I needed to add the following line to each cgi script:
use lib qw(/usr/home/username/usr/local/lib/perl5/site_perl/5.005/i386-bsdos);
I was concerned because the OpensSRS support team had replied that it could not be done without root access.
Regards,
John
------Original Message------
From: "Witold Ulman" <wulman@vsoft.net>
To: "John Cox" <01domainnames@usa.com>, <dev-list@opensrs.org>
Sent: July 13, 2000 4:07:35 PM GMT
Subject: Re: opensrs client install
Most likely your DES and Blowfish modules are not properly installed, and
Perl script doesn't find them. I had a similar problem on my virtual host,
where I have no root access. I fixed it by installing perl modules like
this:
perl Makefile.PL PREFIX=/usr/home/username/usr/local
make
make test
make install
Please note the use of "PREFIX" parameter.
Hope this helps.
Regards,
--- Witold Ulman <wulman@vsoft.net>----- Original Message ----- From: John Cox <01domainnames@usa.com> To: <dev-list@opensrs.org> Sent: Wednesday, July 12, 2000 1:18 AM Subject: opensrs client install
I am attempting to install the opensrs client on BSDI BSD/OS 4.0.1 Virtual Kernel.
I have downloaded opensrs client software versions: OpenSRS 2.0.1 Crypt CBC 1.23 Crypt Blowfish 2.02
I have followed the INSTALL instructions and have done the following: 1) Installed the software under my $HOME/opensrs directory. 2) In the .cgi files a) Verified the Perl5 path as /usr/bin/perl b) Set require to "/usr/home/myusername/opensrs/etc/OpenSRS.conf"; 3) In the OpenSRS.conf file a) Set $PATH_SOURCE = "/usr/home/myusername/opensrs"; b) Set $USERNAME = "myusername" c) Set $PRIVATE KEY = "56a6bee1116 <and on to 112 chars>..." d) Set crypt_type => 'Blowfish', e) Set $ADMIN_EMAIL = 'admin@mydomainname.com'; 4) In the CBC.pm file a) Set $cipher = 'Crypt::Blowfish' unless $cipher; Note: this was previously 'Crypt::DES' 5) In the OpensSRS.pm file a) Set Use Crypt::Blowfish;
I am getting the following result when running verify_install.cgi:
Checking for Digest::MD5... OK Checking for Crypt::DES... Not found! Checking for Crypt::Blowfish... Not found! Checking for Crypt::CBC... OK Logging in to OpenSRS server...Couldn't load Crypt::Blowfish: Can't locate Cryp. at verify_install.cgi line 169
An observation:
After running verify_install.cgi with the -d option, I noted that Digest::MD5 was found at: /usr/local/lib/perl5/site_perl/5.005/i386-bsdos/MD5.pm
Questions
1) Why can't my script find Crypt::Blowfish in the ~/opensrs/lib path? It finds Crypt::CBC there.
2) Is it necessary to install the Blowfish.pm in /usr/local/lib/perl5/site_perl/5.005/i386-bsdos/ ? I don't have root password on my virtual host and so I don't believe that I can install there so I have installed Blowfish.pm in ~/opensrs/lib . Is it possible to use the local ~/opensrs/lib directory?
3) What should the environment variable SCRIPT_NAME be set to?
Thanks in advance.
______________________________________________ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup
______________________________________________ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup
This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:41 EDT