SPUG: Installing Crypt, not su
Joe Devlin
jdevlin at stadiumdistrict.com
Mon Dec 18 23:19:30 CST 2000
I am not the super user on a certain machine, but still want to install
modules in my local directory. I have several of my own modules
working.
> I want to install:
> Crypt-CBC-1.25 Crypt-DES-2.01 MD5-1.7
>
> with standard manual method like this:
>
> perl Makefile.PL
> PREFIX=/home/a/myAccount/public_html/cgi-bin/modules/Crypt-DES-2.01
> make
> make test
> make install
>
> The installation seems to go smoothly until I try to access the modules
> according the documented procedures from inside my code seminars.pl.
> Then I get a bunch of error messages saying:
The latest advice by the system administrators is that I should copy the
modules from the install directory into myAccount/cgi-bin directory. This
has not worked properly.
Does anyone have a suggestion about what next steps I should try?
my session follows:
+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*
[myAccount at thes cgi-bin]$ ls -l
total 106
-rwxr-xr-x 1 myAccount commerce 9399 Jun 8 2000 CBC.pm
-rwxr-xr-x 1 myAccount commerce 12486 Oct 18 11:27 Common.pm
-rwxr-xr-x 1 myAccount commerce 3471 Sep 11 13:14 DES.pm
-rwxr-xr-x 1 apollo commerce 3824 Dec 4 21:54 Datimenu.pm
-rwxr-xr-x 1 myAccount commerce 6828 Aug 12 1996 MD5.pm
drwxrwxrwx 5 myAccount commerce 512 Nov 24 18:37 modules
-rwxr-xr-x 1 myAccount commerce 18890 Dec 14 22:15 seminars.pl
[myAccount at thes cgi-bin]$ pwd
/home/a/myAccount/public_html/cgi-bin
[myAccount at thes cgi-bin]$
[myAccount at thes cgi-bin]$ ./seminars.pl -c
Uncaught exception from user code:
Uncaught exception from user code:
Uncaught exception from user code:
Can't locate loadable object for module Crypt::DES in @INC (@INC contain
s: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_
perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at ./seminars.pl line 62
Carp::croak('Can\'t locate loadable object for module Crypt::DES in @INC
(@IN...') called at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 93
DynaLoader::croak('Can\'t locate loadable object for module Crypt::DES i
n @INC (@IN...') called at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line
144
DynaLoader::bootstrap('Crypt::DES') called at DES.pm line 21
require DES.pm called at ./seminars.pl line 62
main::BEGIN() called at DES.pm line 0
eval {...} called at DES.pm line 0
main::BEGIN() called at DES.pm line 62
eval {...} called at DES.pm line 62
BEGIN failed--compilation aborted at ./seminars.pl line 62.
[myAccount at thes cgi-bin]$
+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*
line 62 of the code is
use CBC;
use DES;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
More information about the spug-list
mailing list