Re: problem using a module



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



Relevant Pages

  • Re: Cannot connect to localhost - (local) OK
    ... > firewall configuration is not right, try to switch off the firewall for a ... > HTH, Jens Süßmeyer. ... >> I am attempting to install the ASP.NET Commerce Database from the MS ...
    (microsoft.public.sqlserver.connect)
  • RE: Urgent: Securing My Access from Piracy
    ... machine or try to install it on another machine using the same password and ... Now when I give it to tham I will make an MDE. ... >> HTH ... >> Martin J ...
    (microsoft.public.access.security)
  • Re: Install a module on a remote Apache Server without Admin Rights
    ... >> `perldoc perlmodinstall` ... I wasnt going to install my module in this folder. ... to specify the PREFIX. ... Good luck and HTH ...
    (comp.lang.perl.modules)
  • Re: homepage
    ... Usage: Double-click to install and answer YES when prompted. ... HTH ... > I had goten a parasite that was changing my homepage. ...
    (microsoft.public.windows.inetexplorer.ie6.ieak)
  • Re: mapi problem
    ... HTH - Please Reply to This Thread ... ~Robear Dyer ... > one pc the bug report mail program sends. ... how do I install ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)