1829591 Members
8526 Online
109992 Solutions
New Discussion

DBD Modules for Perl

 
Phil Storer
Advisor

DBD Modules for Perl

Can anyone supply me with a Perl binary that has ben compiled with DBI-1.32 (or later) and DBD-Oracle-1.12 (or later). Version of Perl should be 5.6.1 or later.

Basically I'm having big problems trying to recompile for a number of obscure reasons.

Can you send to my email address

ken.woolard@originenergy.com.au

thanks in advance
7 REPLIES 7
Rajeev  Shukla
Honored Contributor

Re: DBD Modules for Perl

Yes,
try the perl 5.8 at this site
https://www.beepz.com/personal/merijn/
you'll get DBI 1.38 for 11.11/64 bit
Phil Storer
Advisor

Re: DBD Modules for Perl

Thanks Rajeev. I do have these modules but it's trying to recompile the perl source code to include these modules. I've followed all the advice on how to do this but I reckon there's something amiss on my system hence the need for a already compiled perl binary that include these modules...
Rajeev  Shukla
Honored Contributor

Re: DBD Modules for Perl

Ok,
Did you try the perl5.8.0 depot at HPUX Software site below.
http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.8.0/
This has DBD and DBI inbuilt but am not sure what version they are.

Give a try and see if that helps
Phil Storer
Advisor

Re: DBD Modules for Perl

Thanks once again Rajeev. I've downloaded the depot file and installed it succesfully. But how do I find out if the modules are actually there.

I've tried a perl -V. Should the modules be listed under the @INC line. Looking at this line I see no description of these DB modules.
Rajeev  Shukla
Honored Contributor

Re: DBD Modules for Perl

perl -V will not show, to see if these modules are there or not,
do
swlist -l file|grep DBI.pm
swlist -l file |grep DBD.pm

i could see both these modules. But to test, surprisingly when i used
use DBI;
use DBD;
in a perl script.
The DBI module is fine but DBD doesn't get loaded, but i guess you give a try in you'r script coz seeing at this location i have seen that you can access the oracle database using DBI.
http://search.cpan.org/~timb/DBD-Oracle-1.14/Oracle.pm

Cheers
Rajeev
Mehdi_1
Regular Advisor

Re: DBD Modules for Perl

Hi

The one from the Porting Center has n't got anything in relation to "Oracle" at all.I belive merijn is doing something in that line.

In general what problem do you have when you try to compile from the source??

Obviously, you can't include some of the modules into perl source code ( because of the dependency issues ) , But you should be able to compile the source and add the modules later.


Mehdi
H.Merijn Brand (procura
Honored Contributor

Re: DBD Modules for Perl

Using whatever perl prebuild binary, either from me or anyone else, installing a module should never require you te rebuild perl.

No-one's distribution will include a DBD-Oracle. The reasons are obvious and explained on my site.

My distro includes a recent DBI. The 5.8.1 ports I recently uploaded include the currently most recent DBI-1.38

Reading this thread, I have not got the faintest idea what part is failing for you.

The only thing I can come up with, is that you are somehow not using the perl you just installed, but fallback to an old version still hanging around earlier in your $PATH.

Please check with 'perl -v' or 'perl -V' if the version you installed is the same as what you expect(ed).

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn