RE: DBI::PurePerl and DBD::Oracle...
- From: Adym.Lincoln@xxxxxxxxxxxxxxxxx (Adym Lincoln)
- Date: Tue, 29 Aug 2006 13:48:26 -0400
Check.
Correct. The DBI::PurePerl does not include the DBD::Oracle. They do
however work together though, as the tests conducted "after" the make
install worked against my Oracle::XE database.
All the failed test were from the same type of problem. The test could
not load a given DBI and/or DBD::Oracle module in the current @INC.
This kinda hinted to me that it simply couldn't find a needed *.pm file,
which might explain that I haven't set some crucial ${ENV} before
conducting the make test. Given the above @INC issue, I just figured if
I installed the modules, then the @INC issue would disappear...turns out
it worked in my case.
The reason I went with PurePerl is availability of the target machine.
We have little to no control over the Unix/AIX machines we are putting
these modules on. As such, since Perl is already on the machines, the
PurePerl distos involve less red-tape to get them in place. Also,
performance is not a concern, as we are using DBI and DBD mostly for
simple tools and reports running under cron.
Anyway, I'll play around with the install and see if any problems crop
up...
thx,
Adym Lincoln
I/S Corporate - I/S Internal Applications
603-245-3744
Ext : 53744
adym.lincoln@xxxxxxxxxxxxxxxxx
....
Basic Math : Music * Audio = Emotion
Adym Math : Green Day * JBL = Happiness ...
....
-----Original Message-----
From: Jeff Zucker [mailto:jeff@xxxxxxxxxxxxxx]
Sent: Tuesday, August 29, 2006 12:49 PM
To: Lincoln, Adym
Cc: dbi-users@xxxxxxxx
Subject: Re: DBI::PurePerl and DBD::Oracle...
Lincoln, Adym wrote:
Hi all,
Just trying to understand the instructions on both these packages.
The main thing to understand is that DBI::PurePerl is meant to work only
with DBDs that are pure Perl (have no C/XS component) and AFAIK, that
does *not* include DBD::Oracle. You might be able to access Oracle
using DBI::PurePerl via DBD::Proxy, but I doubt it will work directly.
Is there a reason you are trying PurePerl rather than plain DBI?
I guess I'm trying to understand "why" we run the make test prior toThe general idea is that you should only install software that works so
running the make install?
you test first, then if it works, install it. In some cases you can
force an install even if the tests fail but that is opening yourself to
the possibility of failure in production.
In cases such as yours where the tests work better after install, the
chances are that there are some environment variables that are not set
in your test environment so I'd recommend looking at and setting the
environment variables required for DBD::Oracle and then doing the make
test.
--
Jeff
.
- References:
- Re: DBI::PurePerl and DBD::Oracle...
- From: Jeff Zucker
- Re: DBI::PurePerl and DBD::Oracle...
- Prev by Date: Re: DBI::PurePerl and DBD::Oracle...
- Next by Date: Re: DBD-Oracle Compatibility
- Previous by thread: Re: DBI::PurePerl and DBD::Oracle...
- Next by thread: Autocommit attribute not set...(DBD::mysql)
- Index(es):
Relevant Pages
|
|