On 8 March 2013 14:14, Krzysztof BieleÅ„ <[email protected]> wrote:
> I unfortunatelly have no time to check if it will work for sure. But cmake
> in version 3.1.0 needs existance of this variable ORACLE_HOME, check:
> https://github.com/SOCI/soci/blob/v3.1.0/src/cmake/modules/FindOracle.cmake
>
> P.S.
> It seems that in current version of SOCI cmake works in the same way. Maybe
> existance of this variable shouldn't be mandatory for compiling with oracle 
> libs.

Krzysztof,

Yes, you are right.
The CMake find module still explicitly requires ORACLE_HOME

# If ORACLE_HOME not defined, assume Oracle libraries not available
if(DEFINED ENV{ORACLE_HOME})
...

I have to admit that when I was working on Oracle build setup,
I used environment with both, Oracle server and client, installed.
So, ORACLE_HOME was there

Apparently, OCI from InstantClient does not  require ORACLE_HOME [1]

"no other component of Client Code Library (OCI, NLS, and so on) uses
the value of ORACLE_HOME"

as explained here
http://www.oracle.com/technetwork/database/features/oci/ic-faq-094177.html#A4990

I will do my best to correct it by the way of fixing Oracle problem on OSX
that was reported here https://github.com/SOCI/soci/issues/89
The result of joint effort of MacPorts maintainer and TOra developers
is improved FindOracle.cmake that has been submitted to TOra codebase.
I'm going to use that approach in our version of this module.
So, SOCI 3.2.0 should be include this corrections.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to