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:


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:

    perl Makefile.PL INSTALL_BASE=$(INST_PREFIX)

And of course this requires an "include ../../GDALmake.opt" up top.

Change History (1)

comment:1 by Ari Jolma, 14 years ago

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.