Ever since upgrading to perl 5.10 with ActiveState Perl, more and more modules are missing from the repository and surprisingly, DBD::Oracle is one of them!
I really need help installing this, as I don't have any experience in manually doing it. Before that perl package manager would do wonders with just few clicks...:(
I've went to http://search.cpan.org/~pythian/DBD-Oracle-1.20/Oracle.pm
and downloaded the source,
(i'm using winxp)
2.) i tried installing it from cpan in dos prompt,
- "install DBD::Oracle"
- then a bunch of files were unzipped, but it ended with these messages :
CPAN.pm: Going to build P/PY/PYTHIAN/DBD-Oracle-1.20.tar.gz
*** You're using Microsoft Visual C++ compiler or similar but
the LIB and INCLUDE environment variables are not both set.
You need to run the VCVARS32.BAT batch file that was supplied
with the compiler before you can use it.
A copy of vcvars32.bat can typically be found in the following
directories under your Visual Studio install directory:
Visual C++ 6.0: vc98\bin
Visual Studio .NET: vc7\bin
Find it, run it, then retry this.
If you think this error is not correct then just set the LIB and
INCLUDE environment variables to some value to disable the check.
Warning: No success on command
C:\Perl\bin\perl.exe Makefile.PL
Warning (usually harmless): 'YAML' not installed, will not store persistent sta
e
PYTHIAN/DBD-Oracle-1.20.tar.gz
C:\Perl\bin\perl.exe Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read 'C:\Perl\cpan\build\DBD-Oracle-1.20-3aQcLO\META.yml'. Falling ba
k to other methods to determine prerequisites
Failed during this command:
PYTHIAN/DBD-Oracle-1.20.tar.gz : writemakefile NO 'C:\Perl\bin\p
rl.exe Makefile.PL' returned status 65280
2.)
then i also tried doing make Makefile.pl but it says :
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Fatal: Unable to open makefile
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.