I'm trying to get DBD::SQLite to make on a server that has DBI version 1.18 all ready installed on the system and DBI 1.21 installed on my user directory. It keeps trying to use the older version, and I'm not sure how to change my paths in such a way to get it to use the newer one.
I have DBI 1.21 installed in:
/home/talbert/lib
and I have that in my path. DBI 1.18 is installed here
/usr/local/perl5.6.1/lib/site_perl/sun4-solaris/auto/DBI
When I run perl Makefile.PL I get the following error:
rintintin> perl Makefile.PL PREFIX=/home/talbert
Checking if your kit is complete...
Looks good
Warning: prerequisite DBI 1.21 not found at /usr/local/perl5.6.1/lib/E
+xtUtils/MakeMaker.pm line 343.
Using DBI 1.18 installed in /usr/local/perl5.6.1/lib/site_perl/sun4-so
+laris/auto/DBI
Writing Makefile for DBD::SQLite
this is my current enviroment:
rintintin> env
HOME=/home/talbert
USER=talbert
LOGNAME=talbert
PATH=/home/talbert/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin:/usr/ccs/
+bin:/home/talbert/lib:/lib/site_perl/sun4-solaris/
MAIL=/var/spool/mail/talbert
SHELL=/usr/local/bin/tcsh
TZ=US/Mountain
SSH2_CLIENT=128.138.149.172 62077 128.138.129.243 22
TERM=vt100
SSH2_SFTP_LOG_FACILITY=-1
LM_LICENSE_FILE=/usr/opt/SUNWspro/license_dir/sunpro.lic,sp
OPENWINHOME=/usr/openwin
LD_LIBRARY_PATH=/usr/opt/SUNWspro/lib:/usr/openwin/lib:/home/talbert/l
+ib
EDITOR=vim
WEBSTERHOST=webster.Colorado.EDU
HOSTTYPE=sun4
VENDOR=sun
OSTYPE=solaris
MACHTYPE=sparc
SHLVL=1
PWD=/home/talbert/DBD-SQLite-0.31
GROUP=student
HOST=rintintin.colorado.edu
REMOTEHOST=tcom149-172.colorado.edu
MANPATH=/usr/local/man:/usr/man:/home/talbert/man
SHLIB_PATH=/usr/opt/SUNWspro/lib:/usr/openwin/lib:/home/talbert/lib
LIBPATH=/usr/opt/SUNWspro/lib:/usr/openwin/lib:/home/talbert/lib
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.