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 to
running the make install?
The general idea is that you should only install software that works so 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
.



Relevant Pages

  • Re: Warp Rogue - SDL help wanted
    ... and the JRE isn't trivialy sized either. ... install those wierd things". ... environment variables, ... GodMode: Boolean = False; ...
    (rec.games.roguelike.development)
  • RE: Environment issues Please help
    ... install an MSI if not installed ... This is becourse the vbscript doen't expands the new installed windows ... It will: 1- wright to registry ... To add and to ACTIVATE new environment variables you need a thirdparty tool ...
    (microsoft.public.scripting.vbscript)
  • Re: DBD-SQLAnywhere-1.16
    ... Before you can bring up the server version using "dbsrv10" You have to install the environment variables ... Then bring up the server with "dbsrv10 -n demo10 /opt/sqlanywhere10/demo.db -ud". ... I don't have DBD::SQLAnywhere installed at all - I only thought a) there may be some failures in the test results that you'd find useful and b) you didn't actually tell us what did not work. ...
    (perl.dbi.users)
  • RE: Office 2007 Install Error 2203
    ... Sorry for this delayed response due to the weekend. ... It seems that re-set the environment variables fixed this issue. ... guess was that Windows used C:\Temp as a temporary folder used for the ... Since you can install and run Office 2007 Beta without a ...
    (microsoft.public.office.setup)
  • Re: preparing for the next open-source gfortran release
    ... under a new account, you should not get the problem. ... The distribution 4.3.0-20080127 does not have g++. ... This is problem of environment variables. ... install two distributions on Windows. ...
    (comp.lang.fortran)