Opened 16 years ago

Closed 16 years ago

#2333 closed defect (fixed)

Wrong ifndef

Reported by: frankie Owned by: hobu
Priority: normal Milestone: 1.5.3
Component: ConfigBuild Version: 1.5.2
Severity: normal Keywords:
Cc:

Description

Change History (9)

comment:1 by warmerdam, 16 years ago

Component: defaultConfigBuild
Owner: changed from warmerdam to hobu

Howard, perhaps you will know what this is about?

comment:2 by frankie, 16 years ago

Of course this is an issue also in 1.5.1. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474963 for effects when building for multiple python versions.

comment:3 by hobu, 16 years ago

Frankie,

Could you provide a little more detail why this is a problem? If you ./configure --with-python=the/python/i/care/about, this ifndef will be false. It is set to just be a generic python when none is defined, and its need for being set was an artifact of #2182

in reply to:  3 comment:4 by frankie, 16 years ago

Replying to hobu:

Frankie,

Could you provide a little more detail why this is a problem? If you ./configure --with-python=the/python/i/care/about, this ifndef will be false. It is set to just be a generic python when none is defined, and its need for being set was an artifact of #2182

The makefile syntax is (was?) simply wrong.

diff -urNad gdal-1.5.1~/swig/python/GNUmakefile gdal-1.5.1/swig/python/GNUmakefile --- gdal-1.5.1~/swig/python/GNUmakefile 2008-04-19 13:12:54.000000000 +0200 +++ gdal-1.5.1/swig/python/GNUmakefile 2008-04-19 13:21:27.000000000 +0200 @@ -2,7 +2,7 @@

include ../../GDALmake.opt

-ifndef $(PYTHON) +ifndef PYTHON

PYTHON=python

endif

comment:6 by hobu, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in r14583.

comment:7 by frankie, 16 years ago

Version: svn-trunk1.5.2

Still not fixed in 1.5 branch, anyway.

comment:8 by frankie, 16 years ago

Resolution: fixed
Status: closedreopened

comment:9 by Even Rouault, 16 years ago

Milestone: 1.5.3
Resolution: fixed
Status: reopenedclosed

Backported to branches/1.5 in r15045. Will be 1.5.3

Note: See TracTickets for help on using tickets.