[Gdal-dev] building gdal on solaris

Peter.Rushforth at statcan.ca Peter.Rushforth at statcan.ca
Thu Apr 20 14:58:48 EDT 2006


Hi,  

Newbie in need of help!

I could only find a linux and windows binary version, so I 
am trying to build gdal on solaris.

All I really need is the ogr2ogr utility.  I started the build 
process ok, it ran for a while, but it seems the oci.h file is
not found, terminating the build process.  Question is, how to
get this train back on the rails?

Any help appreciated.

Cheers,
Peter

make[3]: Leaving directory `/bilbo05/rushpet/gdal/gdal-1.3.1/ogr/ogrsf_frmts/csv'
make -C oci
make[3]: Entering directory `/bilbo05/rushpet/gdal/gdal-1.3.1/ogr/ogrsf_frmts/oci'
/bin/sh ../../../libtool --mode=compile g++ -Wall  -O2   -I.. -I../..  -I../../../port  -c -o ../o/oci_utils.o oci_utils.cpp
 g++ -Wall -O2 -I.. -I../.. -I../../../port -c oci_utils.cpp  -fPIC -DPIC -o ../o/.libs/oci_utils.o
In file included from oci_utils.cpp:39:
ogr_oci.h:100:17: oci.h: No such file or directory
In file included from oci_utils.cpp:39:
ogr_oci.h:111: error: `OCINumber' does not name a type
ogr_oci.h:112: error: `OCINumber' does not name a type
ogr_oci.h:113: error: `OCINumber' does not name a type
ogr_oci.h:116: error: `OCIArray' does not name a type
ogr_oci.h:117: error: `OCIArray' does not name a type
ogr_oci.h:121: error: `OCINumber' does not name a type
ogr_oci.h:122: error: `OCINumber' does not name a type
ogr_oci.h:124: error: ISO C++ forbids declaration of `OCIArray' with no type
ogr_oci.h:124: error: expected `;' before '*' token
ogr_oci.h:125: error: ISO C++ forbids declaration of `OCIArray' with no type
ogr_oci.h:125: error: expected `;' before '*' token
ogr_oci.h:130: error: `OCIInd' does not name a type
ogr_oci.h:131: error: `OCIInd' does not name a type
ogr_oci.h:132: error: `OCIInd' does not name a type
ogr_oci.h:133: error: `OCIInd' does not name a type
ogr_oci.h:138: error: `OCIInd' does not name a type
ogr_oci.h:139: error: `OCIInd' does not name a type
ogr_oci.h:140: error: `OCIInd' does not name a type
ogr_oci.h:142: error: `OCIInd' does not name a type
ogr_oci.h:143: error: `OCIInd' does not name a type
ogr_oci.h:161: error: ISO C++ forbids declaration of `OCIEnv' with no type
ogr_oci.h:161: error: expected `;' before '*' token
ogr_oci.h:162: error: ISO C++ forbids declaration of `OCIError' with no type
ogr_oci.h:162: error: expected `;' before '*' token
ogr_oci.h:163: error: ISO C++ forbids declaration of `OCISvcCtx' with no type
ogr_oci.h:163: error: expected `;' before '*' token
ogr_oci.h:164: error: ISO C++ forbids declaration of `OCIDescribe' with no type
ogr_oci.h:164: error: expected `;' before '*' token
ogr_oci.h:165: error: ISO C++ forbids declaration of `OCIType' with no type
ogr_oci.h:165: error: expected `;' before '*' token
ogr_oci.h:166: error: ISO C++ forbids declaration of `OCIType' with no type
ogr_oci.h:166: error: expected `;' before '*' token
ogr_oci.h:167: error: ISO C++ forbids declaration of `OCIType' with no type
ogr_oci.h:167: error: expected `;' before '*' token
ogr_oci.h:181: error: expected `;' before '(' token
ogr_oci.h:183: error: expected `;' before '(' token
ogr_oci.h:188: error: ISO C++ forbids declaration of `OCIType' with no type
ogr_oci.h:188: error: expected `;' before '*' token
ogr_oci.h:207: error: ISO C++ forbids declaration of `OCIStmt' with no type
ogr_oci.h:207: error: expected `;' before '*' token
ogr_oci.h:208: error: expected `;' before "CPLErr"
ogr_oci.h:210: error: `sb2' has not been declared
ogr_oci.h:210: error: ISO C++ forbids declaration of `paeInd' with no type
ogr_oci.h:212: error: `OCIType' has not been declared
ogr_oci.h:212: error: ISO C++ forbids declaration of `hTDO' with no type
ogr_oci.h:227: error: ISO C++ forbids declaration of `OCIStmt' with no type
ogr_oci.h:227: error: expected `;' before '*' token
ogr_oci.h:233: error: ISO C++ forbids declaration of `sb2' with no type
ogr_oci.h:233: error: expected `;' before '*' token
ogr_oci.h:462: error: ISO C++ forbids declaration of `OCIArray' with no type
ogr_oci.h:462: error: expected `;' before '*' token
ogr_oci.h:463: error: ISO C++ forbids declaration of `OCIArray' with no type
ogr_oci.h:463: error: expected `;' before '*' token
ogr_oci.h:480: error: ISO C++ forbids declaration of `OCIInd' with no type
ogr_oci.h:480: error: expected `;' before '*' token
make[3]: *** [../o/oci_utils.o] Error 1
make[3]: Leaving directory `/bilbo05/rushpet/gdal/gdal-1.3.1/ogr/ogrsf_frmts/oci'
make[2]: *** [oci-target] Error 2
make[2]: Leaving directory `/bilbo05/rushpet/gdal/gdal-1.3.1/ogr/ogrsf_frmts'
make[1]: *** [sublibs] Error 2
make[1]: Leaving directory `/bilbo05/rushpet/gdal/gdal-1.3.1/ogr'
make: *** [ogr-target] Error 2
bilbo{rushpet}49: 

Peter Rushforth
Geography Division
Statistics Canada
Ottawa Ontario
K1A 0T6
 




More information about the Gdal-dev mailing list