#32961: py27-gdal @1.8.0 fatal error: 'cpl_port.h' file not found -------------------------------+-------------------------------------------- Reporter: jea@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang gdal cpl | Port: py27-gdal -------------------------------+-------------------------------------------- Trying to install py27-gdal. Lion 10.7.2 Server, XCode 4.2.1 Seems to be a problem with clang, or maybe a problem with gdal-config {{{ :info:build Could not run gdal-config!!!! :info:build building 'osgeo._gdal' extension :info:build /Developer/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict- prototypes -arch x86_64 -I../../port -I../../gcore -I../../alg -I../../ogr/ -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/include -c extensions/gdal_wrap.cpp -o build/temp.macosx-10.7-x86_64-2.7/extensions/gdal_wrap.o :info:build extensions/gdal_wrap.cpp:2228:11: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] :info:build res = SWIG_AddCast(res); :info:build ~~~ ^ ~~~ :info:build extensions/gdal_wrap.cpp:2231:11: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] :info:build res = SWIG_AddCast(res); :info:build ~~~ ^ ~~~ :info:build extensions/gdal_wrap.cpp:2813:10: fatal error: 'cpl_port.h' file not found :info:build #include "cpl_port.h" }}} -- Ticket URL: <https://trac.macports.org/ticket/32961> MacPorts <http://www.macports.org/> Ports system for Mac OS