Opened 12 years ago

Closed 12 years ago

#2382 closed defect (fixed)

Fix INST_DATA setting from /usr/local/share to /usr/local/share/gdal

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: 1.5.2
Component: ConfigBuild Version: 1.5.0
Severity: normal Keywords:


It appears that for a while (since 1.5.0?) the GDAL support data files have been getting installed in /usr/local/share instead of /usr/local/share/gdal on unix.

Change History (3)

comment:1 Changed 12 years ago by warmerdam

Status: newassigned

The problem appears to be this test. Presumably due to an upgrade to a newer version of autoconf, the datadir value changed to '${datarootdir}' so the test and fix failed.

dnl ---------------------------------------------------------------------------
dnl If datadir is set to @prefix@/share, the modify it to be 
dnl @prefix@/share/gdal.  I wish we could default this.
dnl ---------------------------------------------------------------------------
if test "$datadir" = '${prefix}/share' ; then

comment:2 Changed 12 years ago by warmerdam

Version: unspecified1.5.0

I have confirmed the problem existed since 1.5.0, but does not appear to have afflicted 1.4.x.

Fixed in trunk (r14492) and 1.5 branch (r14493).

comment:3 Changed 12 years ago by warmerdam

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.