[fdo-internals] KingOracle Provider Build Process Update

Greg Boone greg.boone at autodesk.com
Mon Dec 17 12:17:44 EST 2007


I will resolve the qualification issues listed below.

On Linux, the Oracle Instant Client SDK files are expected to be installed in

Libs --> /usr/lib/oracle/10.2.0.3/client/lib
Headers --> /usr/include/oracle/10.2.0.3/client

These are the default installation locations for the Client. FDOORACLE does not need to be used on Linux if the Client files are found in the above locations. If the Client files are located in a non-default location, the set FDOORACLE to point to that location...

Here is how the paths are referenced in the makefiles...

INCLUDES = \
  -I../ \
  -I../../inc \
  -I../Message/Inc \
  -I../../../../Fdo/Unmanaged/Inc \
  -I../../../../Utilities/Common/Inc \
  -I/usr/include/oracle/10.2.0.3/client \
  -I$(FDOORACLE)/include

libKingOracleProvider_la_LDFLAGS = \
  -shared \
  -release $(VERSION) \
  -L/usr/lib/oracle/10.2.0.3/client/lib \
  -L$(FDOORACLE)/lib


Greg

-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of larry white
Sent: Monday, December 17, 2007 11:53 AM
To: FDO Internals Mail List
Subject: Re: [fdo-internals] KingOracle Provider Build Process Update

I was able to successfully compile the provider once i removed all the
extra qualifications listed below.

Setting FDOORACLE, manually, didn't seem to help so I used LDFLAGS  and
CPPFLAGS to point to the libs and include files.

As mentioned, compilation was successful. However, I have not tested the
provider yet.

Operating system: CentOS 5



-------------------------------

c_FdoOra_API.h:28: error: extra qualification 'c_FdoOra_API::' on member
'DescribeSchema'

c_FdoOra_API.h:30: error: extra qualification 'c_FdoOra_API::' on member
'OraTypeToFdoDataType'

c_FdoOra_API.h:40: error: extra qualification 'c_FdoOra_API::' on member
'DescribeSchemaSQL'

c_OCCI_API.h:42: error: extra qualification 'c_OCCI_API::' on member
'CreateConnection'

c_OCCI_API.h:47: error: extra qualification 'c_OCCI_API::' on member
'CloseConnection'

c_OCCI_API.h:59: error: extra qualification 'c_OCCI_API::' on member
'GetConnPool'

c_Ora_API.h:40: error: extra qualification 'c_Ora_API::' on member
'CreateOptimizedRect'

c_Ora_API.h:49: error: extra qualification 'c_Ora_API::' on member
'GetCoordinateSystemWkt'

c_FdoOra_API.cpp: In static member function 'static bool
c_FdoOra_API::SetOracleStatementData(oracle::occi::Environment*,
oracle::occi::Statement*, int, FdoDataValue*)':

c_FdoOra_API.cpp:213: warning: passing 'float' for argument 7 to
'oracle::occi::Date::Date(const oracle::occi::Environment*, int,




-- larry white
Systems Integrator
neomatix.ca






Greg Boone wrote:
> There seems to be a typo in the setenvironment script. I have submitted a newer version. ** However, you will still have to modify setenvironment.bat and set the correct location of FDOORACLE for your installation of the oracle client.
>
> As for the link you provided below, it references the installation of the Oracle database. The link I provided references the instant client SDK only.
>
> Greg
>
> -----Original Message-----
> From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Mange
> Sent: Monday, December 17, 2007 1:57 AM
> To: fdo-internals at lists.osgeo.org
> Subject: Re: [fdo-internals] KingOracle Provider Build Process Update
>
>
> I tried to build it and the first thing I discovered was that you have not
> altered setenvironment.sh to contain the env FDOORACLE. (I have trunk build
> 3623)
>
> And. . .the link to the linux oracle client is:
>
> http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201linuxsoft.html
>
> Though I could not find the version you suggest.
>
> And I tried to build the trunk wo oracle client and it did not work.
> probably because I didn't have the env.
>
> Hope this helps, Mange
>
>
> --
> View this message in context: http://www.nabble.com/KingOracle-Provider-Build-Process-Update-tp14263400s18162p14313016.html
> Sent from the fdo-internals mailing list archive at Nabble.com.
>
> _______________________________________________
> fdo-internals mailing list
> fdo-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-internals
> _______________________________________________
> fdo-internals mailing list
> fdo-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-internals
_______________________________________________
fdo-internals mailing list
fdo-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-internals


More information about the fdo-internals mailing list