Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Perl DBD

by ant (Scribe)
on Sep 19, 2006 at 10:10 UTC ( [id://573666]=perlquestion: print w/replies, xml ) Need Help??

ant has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
I've started at a new place of work, and have asked for the Perl DBI and DBD to be installed on to the servers for various reasons. These modules are to be installed by another member of staff. The Perl DBI installed correctly but the DBD fails to install with the following message 'invalid top directory at y:/Core/Perl5.8/lib/File/Find.pm line 592.'

The system requirements and complete output is below.
Oracle client v9.2.0.5 Windows XP SP2 Y: drive is held on a Windows 2003 server. C:\Temporary\DBD-Oracle-1.17>perl makefile.pl -V 9.2.0 Using DBI 1.50 (for perl 5.008008 on MSWin32-x86-multi-thread) install +ed in y:/C ore/Perl5.8/site/lib/auto/DBI/ Configuring DBD::Oracle for perl 5.008008 on MSWin32 (MSWin32-x86-mult +i-thread) Remember to actually *READ* the README file! Especially if you have an +y problems . Using Oracle in C:/Oracle/Product/Ora9205 If sqlplus failed due to a linker/symbol/relocation/librar +y error or similar problem then it's likely that you've not configured your environme +nt correct ly. Many systems need an environment variable (such as LD_LIBR +ARY_PATH, DYLD_LIBRARY_PATH) set to include the directory containing the Oracle librari +es. Forcing Oracle version to be treated as 9.2.0 Oracle version 9.2.0 (9.2) Found OCI directory Using OCI directory 'OCI' invalid top directory at y:/Core/Perl5.8/lib/File/Find.pm line 592.

Thanks in advance for replies.

Ant

Replies are listed 'Best First'.
Re: Perl DBD
by migas (Novice) on Sep 19, 2006 at 10:35 UTC
    Hi,

    I see that you are running under Windows. I have the same situation at work, here we use several perl programs to acess a Oracle Database.


    But i use activestate perl (http://www.activestate.com/Products/ActivePerl/)

    With the activestate perl modules installed (dbi and dbd-oracle) that were compiled and tested by activestate.


    Under windows i sugest that you DO NOT attempt to compile perl modules.

    Simply download activestate perl (it's free), download the activestate dbi and dbd-oracle modules (also free) and installed them all.
    PS: to install perl modules in activestate perl you need to use the ppm utility


    Hope this helps you out Migas - Miguel
Re: Perl DBD
by Anonymous Monk on Sep 19, 2006 at 10:28 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://573666]
Approved by McDarren
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-25 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found