On Wed Dec 13 20:23:09 2006, caelum@debian.org wrote:
Show quoted text> via RT wrote:
> > <URL:
http://rt.cpan.org/Ticket/Display.html?id=23812 >
> >
> > This could be a local install error of some sort. It is a simple
> > pearl code that is findingout the TNS data and it works for almost
> > every other system out there.
>
> The problem is that it reads the TNS data only for
>
> >
> > I do have some questions for you?
> >
> > 1) what is the version of DBD you are using from active state
> > 2) what is the version of DBD you are getting the error on.
> >
> > cheers
> >
> > John S
>
> Hi John,
>
> On Cygwin:
> perl -MDBD::Oracle -le 'print "DBD: $DBD::Oracle::VERSION\tDBI:
> $DBI::VERSION"'
> DBD: 1.19 DBI: 1.52
>
> On ActiveState:
> /cygdrive/c/perl/bin/perl -MDBD::Oracle -le 'print "DBD:
> $DBD::Oracle::VERSION\tDBI: $DBI::VERSION"'
> DBD: 1.17 DBI: 1.53
>
> The command:
> perl -le 'use DBD::Oracle; print join "\n",DBI->data_sources("Oracle")'
>
> Actually calls load_dbnames, which reads the tnsnames.ora file, from the
> location in TNS_ADMIN if available.
>
> The connect is a call to OCIServerAttach or something like that, which
> for some reason under Cygwin doesn't...
>
> I could maybe retrofit load_dbnames to also load the TNS connection
> information and in the case of Cygwin to use that information instead of
> just trying to connect to the sid, or something...
>
> Or maybe the OCI libraries are just confused under Cygwin and this
> should happen automatically, I have no idea.
>
Rafael and I chatted on irc. No one is suggesting you can now install
DBD::Oracle on Cygwin but on the other hand we don't really know.
Neither of us are going to look at this now and this issue is 6 years
old. I'll happily reopen if we either get time or the inclination to try
this again and find it does not work.
I only have options for delete, resolve or reject and it is only
resolved in the fact we are not going to do anything so I set reject.
Martin
--
Martin J. Evans
Wetherby, UK