Opened 14 years ago
Closed 14 years ago
#3593 closed defect (fixed)
perl binding don't respect installation prefix
Reported by: | dstahlke | Owned by: | Ari Jolma |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | PerlBindings | Version: | 1.7.2 |
Severity: | normal | Keywords: | |
Cc: |
Description
The perl bindings install to the system directories regardless of whether the "--prefix" option was given to configure. An experimentally verified fix is to change the last line of swig/perl/Makefile and swig/perl/GNUmakefile to:
Makefile_Geo__GDAL: perl Makefile.PL INSTALL_BASE=$(INST_PREFIX)
And of course this requires an "include ../../GDALmake.opt" up top.
Note:
See TracTickets
for help on using tickets.
Fixed in r19748. Also fixed a bug due to all: not being the first target in GNUmakefile. Makefile can't include GDALmake.opt since it is meant for MinGW build and for dmake.