Opened 15 years ago

Closed 15 years ago

#2701 closed defect (fixed)

GeoRaster: Add driver to the autogen.sh process

Reported by: ilucena Owned by: warmerdam
Priority: normal Milestone: 1.6.0
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: oci geor
Cc: warmerdam

Description

Add georaster to the unix build process.

  • On configure.in:
dnl ---------------------------------------------------------------------------
dnl Check for GeoRaster in the local tree.
dnl ---------------------------------------------------------------------------

ORACLE_OCI_REQ_VERSION="10.0.1"
AX_LIB_ORACLE_OCI($ORACLE_OCI_REQ_VERSION)

if test "$HAVE_ORACLE_OCI" = "yes"; then
    OPT_GDAL_FORMATS="georaster $OPT_GDAL_FORMATS"
    HAVE_GEORASTER=yes
    AC_MSG_RESULT([enabled])
fi
LOC_MSG([  GEORASTER support:         ${HAVE_GEORASTER}])

That change will add the driver on the same conditions as the OGR/OCI is added as long it is Oracle 10 or earlier.

  • On ax_oracle_oci.m4:
                    ORACLE_OCI_LDFLAGS="$ORACLE_OCI_LDFLAGS -lnnz$oracle_version_major"

That fix a problem that happens when Oracle 11 is the target version.

Attachments (2)

add_georaster_configure.in (1.1 KB ) - added by ilucena 15 years ago.
add_georaster_ax_oracle_oci.m4 (677 bytes ) - added by ilucena 15 years ago.

Download all attachments as: .zip

Change History (7)

by ilucena, 15 years ago

Attachment: add_georaster_configure.in added

by ilucena, 15 years ago

comment:1 by ilucena, 15 years ago

Owner: changed from ilucena to warmerdam

Frank,

Can you please run autogen.sh on your system so that those changes can take effect?

Thanks,

comment:2 by warmerdam, 15 years ago

Keywords: oci geor added

It looks like r15794 and r15795 apply the suggested changes above. I have regenerated configure in trunk (r15815).

comment:3 by warmerdam, 15 years ago

Resolution: fixed
Status: newclosed

Ivan,

I'm closing this under the assumption things are taken care of. Reopen if I'm mistaken.

comment:4 by ilucena, 15 years ago

Cc: warmerdam added; dron removed
Resolution: fixed
Status: closedreopened

At r15845 add an "else" statement to show the correct message instead of:

OCI support:         no
GEORASTER support:

without a "no"

comment:5 by Even Rouault, 15 years ago

Resolution: fixed
Status: reopenedclosed

Went into branches/1.6 in r15860 in time for 1.6.0

Note: See TracTickets for help on using tickets.