Click here to get back home

DBD::Oracle on cygwin

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
DBD::Oracle on cygwin Stephan Titard 07-12-2006
Get Chitika Premium
Posted by Stephan Titard on July 12, 2006, 6:09 am
Please log in for more thread options


hi,
on HP-UX (and probably anything unix-like) you don't need a full oracle
client installation to compile DBD::Oracle; a couple headers and the
libclntsh@(.sl|.so) are enough.

I don't want to install a working Oracle client on my PC at home; has
anybody tried to compile DBD::Oracle on cygwin using the minimum files
(as described above)
supposing one registers the needed *dll, it seems theoretically doable....
any comments?

thanks
--stepahn

Posted by Andy Hassall on July 12, 2006, 2:33 pm
Please log in for more thread options



>on HP-UX (and probably anything unix-like) you don't need a full oracle
>client installation to compile DBD::Oracle; a couple headers and the
>libclntsh@(.sl|.so) are enough.
>
>I don't want to install a working Oracle client on my PC at home; has
>anybody tried to compile DBD::Oracle on cygwin using the minimum files
>(as described above)
>supposing one registers the needed *dll, it seems theoretically doable....
>any comments?

Yep, make sure you're using the latest DBD::Oracle (1.17), I contributed a
couple of minor patches which avoid some misleading Unicode test failures on
Cygwin due to quirks with how it sets environment variables interacting with
native libraries.

Install Oracle Instant Client, Basic + SDK + SQL*Plus packages.

Set ORACLE_HOME environment variable to the _Windows_ style path to where you
unpacked instant client (e.g. c:\oracle\instantclient_10_2).

Include the _Cygwin_ style path to the Oracle directory in PATH (e.g.
/cygdrive/c/oracle/instantclient_10_2).

Then set everything else as normal (ORACLE_USERID for a login for the tests,
NLS_LANG if necessary) and it should build and test without problems.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

Similar ThreadsPosted
DBD::Oracle and various oracle clients August 1, 2006, 9:23 am
Cygwin and SSL December 10, 2004, 12:56 pm
Compile of DB::DB2 on cygwin June 15, 2005, 7:38 pm
what modules best for communicationg with a UART with cygwin September 27, 2005, 11:07 am
Problem Installing Win32::OLE under cygwin May 15, 2005, 9:45 pm
Log4perl module for cygwin newbie March 28, 2007, 9:05 am
install Bundle::CPAN in Cygwin failed October 17, 2004, 9:09 am
SQL Server Trusted Connections with DBD::ODBC under Cygwin March 25, 2005, 5:57 pm
Getting SGML::Parser::OpenSP to compile under Cygwin June 17, 2005, 1:35 am
Installation problem - Net-SNMP Perl Modules on cygwin March 1, 2005, 1:52 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap