Opened 7 years ago

Closed 7 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 7 years ago by warmerdam

  • Status changed from new to assigned

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 7 years ago by warmerdam

  • Version changed from unspecified to 1.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 7 years ago by warmerdam

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.