Opened 11 years ago

Closed 11 years ago

#4950 closed defect (fixed)

Missing DESTDIR prefix in some build stage

Reported by: guyou Owned by: warmerdam
Priority: normal Milestone: 1.10.0
Component: ConfigBuild Version: svn-trunk
Severity: minor Keywords: make install
Cc:

Description

As I'm currently trying to package gdal in order to install it under a specific path, I discovered a typo in the main GNUmakfile: the LIBTOOL_FINISH related rule is missing a DESTDIR prefix. See source:/trunk/gdal/GNUmakefile@24988#L182

The matter occurs when we use a not-yet-existing path for --prefix: libtool complain about a wrong argument.

A sort of patch is:

-         $(LIBTOOL_FINISH) $(INST_LIB)
+         $(LIBTOOL_FINISH) $(DESTDIR)$(INST_LIB)

Change History (1)

comment:1 by Even Rouault, 11 years ago

Component: defaultConfigBuild
Milestone: 1.10.0
Resolution: fixed
Status: newclosed

Fixed in trunk in r25512 (in my testing, this only made a difference when using explicitely "make install DESTDIR=/some/path", regular make install after a ./configure --prefix=/some/path worked)

Note: See TracTickets for help on using tickets.