Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] How can I add the DBD directories to minivend @INC?



******    message to minivend-users from cfm@maine.com     ******

On Sat, Jul 08, 2000 at 03:32:10PM +0100, Jessica Bodman wrote:
> ******    message to minivend-users from Jessica Bodman <jbodman@tirin.openworld.co.uk>     ******
> 
> 
> Since I am not root I can't install DBD to /usr/local/lib so how can I add
> the directories to @INC. I have tried linking them into the @INC path and
> I get this error:
> 
> Using PostgreSQL for databases,
> DSN=dbi:Pg:dbname=test_minivend:localhost:port.
> 
> simple config error: install_driver(Pg) failed: Can't locate loadable
> object for module DBD::Pg in @INC (@INC contains:
> /path/to/mvend /path/to/mvend/lib
> /usr/lib/perl5/i386-linux /usr/lib/perl5
> /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at (eval
> 111) line 3
> Perhaps a module that DBD::Pg requires hasn't been fully installed
>  at /path/to/mvend/lib/Vend/Table/DBI.pm line 116

Assuming you have installed your own minivend and you have access to
that and unless you will use Pg for something else, I'd suggest 
/path/to/mvend.  It will build its own appropriate directory structure.
> /path/to/mvend /path/to/mvend/lib

Otherwise you might be able to install it in your home directory and
modify the scripts that start minivend to use perl -I/my/home/perl/lib.
Run perl -h to see how that works.



-- 

Christopher F. Miller, Publisher                             cfm@maine.com
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Database publishing, e-commerce, office/internet integration, Debian linux.
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: