Hi,
I am trying to install DBD::Oracle module in the local (private)directory. Not the root directory (i don't have permission on the root)
When i try to install the above module, it was saying that the DBI-1.52 is required. (Prerequisite)
I installed DBI-1.52 from CPAN. the module installed fine with no errors.
Used the following command to set the environment variable
export PERL5LIB =/data/projects/marketsurv/perllib/lib/site_perl/5.8.3/ i686-linux-thread-multi
The command ran successfully and Perl5LIB variable is set.
i verified with the command perl -V and it is showing the @INC is set to /data/projects/marketsurv/perllib/lib/site_perl/5. 8.3/i686-linux-thread-multi (works fine)
Now when i try to install DBD::Oracle with the following command, it is saying that DBI:1.42 is found (Somehow it is not looking at the local directory though the PERL5LIB is set)
perl Makefile.PL PREFIX =/data/projects/marketsurv/perllib/lib/site_perl/5.8.3/ i686-linux-thread-multi
ERROR
DBI version 1.51 required--this is only version 1.42 at Makefile.PL line 19.
BEGIN failed--compilation aborted at Makefile.PL line 19.
Please help..
Thanks,
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|