Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#6144 closed defect (fixed)

Python bindings fail to build on Cygwin when GNM is disabled

Reported by: Even Rouault Owned by: bishop
Priority: normal Milestone: 2.1.0
Component: PythonBindings Version: svn-trunk
Severity: normal Keywords:
Cc: bishop

Description

Change History (8)

comment:1 by Bishop, 9 years ago

I'll fixed it. The gnm is hardcoded in setyp.py. This is error.

comment:2 by Even Rouault, 8 years ago

Owner: changed from hobu to bishop

comment:3 by bishop, 8 years ago

Fixed in r32180

comment:4 by bishop, 8 years ago

Resolution: fixed
Status: newclosed

comment:5 by Even Rouault, 8 years ago

Resolution: fixed
Status: closedreopened

This causes a build failure on Windows : https://ci.appveyor.com/project/rouault/gdal-coverage/build/1.0.1587

cd ..
cd swig\python
python setup.py build
Traceback (most recent call last):
File "setup.py", line 249, in <module>
if fetch_config('gnm-enabled', '../../apps/gdal-config') == 'yes':
File "setup.py", line 128, in fetch_config
raise gdal_config_error, e""")
File "<string>", line 4, in <module>
__main__.gdal_config_error: [Error 2] The system cannot find the file specified
Command exited with code 1

comment:6 by Even Rouault, 8 years ago

comment:7 by bishop, 8 years ago

Resolution: fixed
Status: reopenedclosed

Fixed in r32188

comment:8 by Even Rouault, 8 years ago

r32189 "swig/python/setup.py: avoid failure if setup_vars.ini doesn't exist (#6144)"

Note: See TracTickets for help on using tickets.