Re: problem using a module
- From: wiggins@xxxxxxxxxxxx (Wiggins d'Anconia)
- Date: Fri, 28 Oct 2005 14:12:50 -0600
jm wrote:
> On 10/28/05, Wiggins d'Anconia <wiggins@xxxxxxxxxxxx> wrote:
>
>
>>That seems like a very odd error. One thing I do notice is that you are
>>including "DBI" in the path to 'use lib'. This would have to mean that
>>the DBI module lives in "$ENV{HOME}/modules/DBI/DBI.pm". Is that the
>>case? Or should your use lib line just be "$ENV{HOME}/modules"??
>>
>>HTH,
>>
>>http://danconia.org
>>
>
>
>
> you're right; upon further reading (i'm still researching) i
> discovered that discrepancy and removed the "/DBI", now i get
>
>
> Can't locate loadable object for module DBI in @INC (@INC contains:
> /asi/home/ca/jm5379/modules /usr/perl5/5.00503/sun4-solaris
> /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris
> /usr/perl5/site_perl/5.005 .) at /asi/home/ca/jm5379/modules/DBI.pm
> line 254
>
>
> which does show my dir prepended to @INC. looking just now in DBI.pm
> i see the following notes a little above line 254:
>
>
> # If you get an error here like "Can't find loadable object ..."
> # then you haven't installed the DBI correctly. Read the README
> # then install it again.
>
>
> so i guess just copying the file isn't going to cut it this time. oh
> well. thanks for the quick response. back to the drawing board.
>
Yep. Your best bet is to use CPAN to install the module. One of its
configuration parameters will allow you to specify a prefix of where to
install modules, specifically 'makepl_arg'.
Check the archives of this list or google for further information. How
to install modules into a non-standard location is a widely covered topic.
HTH,
http://danconia.org
>
> --
> since this is a gmail account, please verify the mailing list is
> included in the reply to addresses
>
.
- Follow-Ups:
- Re: problem using a module
- From: Jm
- Re: problem using a module
- References:
- problem using a module
- From: Jm
- Re: problem using a module
- From: Wiggins d'Anconia
- problem using a module
- Prev by Date: <> tag in perl
- Next by Date: Re: problem using a module
- Previous by thread: Re: problem using a module
- Next by thread: Re: problem using a module
- Index(es):
Relevant Pages
|