Rex wrote:
>
> Thanks a lot for a lucid response, Chas. Following your advice, I was
> able to successfully install DBI on my work laptop (XP), but not on my
> home machine (Vista x64 Home Premium).
> 
> However, even in my XP box, I am unable to install DBD::Oracle.
> 
> When I issued the following command:
> 
> cpan DBD::Oracle
> 
> I got a bunch of output messages, with the final messages being like this:
> 
> make: *** [blib/arch/auto/DBD/Oracle/Oracle.dll] Error 1
> PYTHIAN/DBD-Oracle-1.22.tar.gz
> /usr/bin/make -- NOT OK
> Running make test
>    Can't test without successful make
> Running make install
>    Make had returned bad status, install seems impossible
> 
> I went to the CPAN site and there DBD::Oracle version 1.22 (the same
> one that failed in my Cygwin Perl installation) and noticed a bunch of
> FAIL reports at
> http://www.cpantesters.org/show/DBD-Oracle.html#DBD-Oracle-1.22 . None
> of that had any failures against Windows.
> 
> So, will it be safe to infer that this module hasn't been tested
> successfully for Cygwin Perl?

First of all, please bottom post. It is the standard for this list and helps
non-trivial threads remain comprehensible.

I wonder if you have a reason for using Cygwin? It is not clear from your posts
that you do, and it would be much simpler to use ActivePerl throughout if you
don't need to maintain two different versions.

Assuming that you need Cygwin, you should take a look at

  perldoc perlmodinstall

which explains how to install modules manually. If you use the CPAN shell 
command

  look DBD::Oracle

then you will have direct access to the unpacked module, and you can go ahead
and type

  perl Makefile.PL

and then

  make

which will attempt to build your module, and will let you see any errors in the
build. Once that is successful you can

  make test

and fix any runtime errors, and then

  make install

and your module will be installed. If you have a problem getting through any of
these phases then post the log here and we will take another look.

HTH,

Rob

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to