[MacPorts] #32961: py27-gdal @1.8.0 fatal error: 'cpl_port.h' file not found

MacPorts noreply at macports.org
Fri Jan 20 11:56:57 PST 2012


#32961: py27-gdal @1.8.0 fatal error: 'cpl_port.h' file not found
-------------------------------+--------------------------------------------
 Reporter:  jea@…              |       Owner:  and.damore@…           
     Type:  defect             |      Status:  new                    
 Priority:  Normal             |   Milestone:                         
Component:  ports              |     Version:  2.0.3                  
 Keywords:  clang              |        Port:  py27-gdal              
-------------------------------+--------------------------------------------

Comment(by jea@…):

 Fixed it! I mean, I don't know how to fix it in macports, but I fixed it
 on my own machine.

 URL for bug report for GDAL fix is here
 http://trac.osgeo.org/gdal/ticket/3375

 so I edited
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-gdal/py27-gdal/work/GDAL-1.7.1/setup.cfg
 to remove the
 {{{
 ../../apps/gdal-config
 }}}
 line, and then tried sudo port install py27-gdal and it worked.

 Would be nice if the package maintainer, or anybody who knows how to
 maintain packages, could somehow put this into the package.

-- 
Ticket URL: <https://trac.macports.org/ticket/32961#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list