niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Programming » Perl » modules
DBD::Oracle on cygwin
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Andy Hassall
*nix forums Guru


Joined: 20 Feb 2005
Posts: 874

PostPosted: Wed Jul 12, 2006 6:33 pm    Post subject: Re: DBD::Oracle on cygwin Reply with quote

On Wed, 12 Jul 2006 12:09:18 +0200, Stephan Titard <sgt19@tid.es> wrote:

Quote:
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
Back to top
Stephan Titard
*nix forums beginner


Joined: 27 Oct 2005
Posts: 17

PostPosted: Wed Jul 12, 2006 10:09 am    Post subject: DBD::Oracle on cygwin Reply with quote

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
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Sat Nov 22, 2008 7:22 am | All times are GMT
navigation Forum index » Programming » Perl » modules
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Move Oracle 10g database to another location Selt Server 0 Fri Jul 21, 2006 2:14 pm
No new posts Oracle runtime Spitfire Server 0 Fri Jul 21, 2006 1:18 pm
No new posts Oracle Text Score Computation jatinder.1975@gmail.com Server 0 Fri Jul 21, 2006 1:00 pm
No new posts Can a trigger insert records into another oracle server Tauqir Server 2 Fri Jul 21, 2006 12:27 am
No new posts Moving Oracle filesystem to SAN howard Server 1 Thu Jul 20, 2006 11:49 pm

Loans | Personal Loans | Free Ringtones | Credit Card Consolidation | Easy movies download
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.4189s ][ Queries: 20 (0.2967s) ][ GZIP on - Debug on ]