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
http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/python/GNUmakefile?rev=13720
ifndef PYTHON
thanks
Change History (9)
comment:1 by , 16 years ago
Component: | default → ConfigBuild |
---|---|
Owner: | changed from | to
comment:2 by , 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.
follow-up: 4 comment:3 by , 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
comment:4 by , 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:5 by , 16 years ago
Bah, damn forms ...
See http://svn.debian.org/viewsvn/pkg-grass/packages/gdal/trunk/debian/patches/pythonmakefile.dpatch?rev=1546&view=auto for the patch
comment:8 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:9 by , 16 years ago
Milestone: | → 1.5.3 |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Backported to branches/1.5 in r15045. Will be 1.5.3
Howard, perhaps you will know what this is about?