Opened 14 years ago
Closed 5 years ago
#3375 closed defect (wontfix)
python egg fails to easy_install due to gdal-config default
Reported by: | ltucker | Owned by: | hobu |
---|---|---|---|
Priority: | normal | Milestone: | closed_because_of_github_migration |
Component: | PythonBindings | Version: | 1.7.0 |
Severity: | normal | Keywords: | |
Cc: |
Description
The setup.cfg distributed with the gdal python package listed on PyPI sets the default value of gdal_config to:
../../apps/gdal-config
This probably makes sense in some larger build context, but it appears to cause normal easy_installs to fail. At least for the PyPI distribution, it seems more sensible to leave this out and assume that gdal-config is in the user's PATH.
e.g.
$ easy_install GDAL Searching for GDAL Reading http://pypi.python.org/simple/GDAL/ Reading http://www.gdal.org Best match: GDAL 1.7.0 Downloading http://pypi.python.org/packages/source/G/GDAL/GDAL-1.7.0.tar.gz#md5=3f737981ffe05c53af64a31172550b51 Processing GDAL-1.7.0.tar.gz Running GDAL-1.7.0/setup.py -q bdist_egg --dist-dir /var/folders/7E/7EDHz-XAFYiqlZDjAGvbGk+++TI/-Tmp-/easy_install-mNJCvA/GDAL-1.7.0/egg-dist-tmp-DhDs0F Could not run gdal-config!!!! ... chaos ensues $ which gdal-config /opt/local/bin/gdal-config
The correct gdal-config is used if the offending section of setup.cfg is removed.
Change History (3)
comment:1 by , 14 years ago
comment:3 by , 5 years ago
Milestone: | → closed_because_of_github_migration |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.
I'm running in to this consistently as well.