On Dec 10, 2003, at 5:28 PM, Ing. Carlos Alberto De Jesus Velasquez wrote:
[..]
I´m trying to install DBD:mysql from CPAN and i get the next message

which one? <http://search.cpan.org/~rudy/DBD-mysql-2.9003/lib/DBD/mysql.pm> <http://search.cpan.org/~jwied/Msql-Mysql-modules-1.2219/>


Warning: prerequisite DBI failed to load: Can't locate DBI.pm in @INC (@INC contains: /usr/perl5/5.6.1/lib/sun4-solaris-64int
[..]

DBI was installed successfully with CPAN, but DBD.

I notice that the @INC is for the 'default' perl that sun installed. Which leads to me to the classic

vladimir: 60:] whereis perl
perl: /usr/bin/perl /usr/local/bin/perl
vladimir: 61:] ls -li /usr/bin/perl /usr/local/bin/perl
17345 -rwxr-xr-x 3 root other 14684 Aug 30 2002 /usr/bin/perl
17345 -rwxr-xr-x 3 root other 14684 Aug 30 2002 /usr/local/bin/perl
vladimir: 62:]


In my case both /usr/bin/perl and /usr/local/bin/perl are
the same executable, so there is no possible cross over.

But if you have more than one version of perl on
your machine, it is possible that it may be set to
a different @INC structure.


ciao drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to