[Haskell-cafe] Access to Oracle database from Haskell

Alistair Bayley alistair at abayley.org
Mon Jun 30 07:49:49 EDT 2008


>> Yes... I've had a quick look at the instant client packages. The SDK
>> zip just puts the headers under instantclient_10_2/sdk/include (which
>> is still not $ORACLE_HOME/rdbms/public, but c'est la vie). So it looks
>> like the .rpm puts them somewhere completely different:
>> /usr/include/oracle/10.2.0.4/client. Do you also have
>> $ORACLE_HOME/sdk/include, with headers in?
>
> No, in ORACLE_HOME there is only 'bin' and 'lib'.

I haven't found a way to detect where headers are installed, so I
propose that the Setup.hs assumes $ORACLE_HOME/rdbms/public (for
Unix), and you can add more with --extra-include-dirs=... . What do
you think?

Alistair


More information about the Haskell-Cafe mailing list