[MacPorts] #28101: gdal +hdf4 install fails

MacPorts noreply at macports.org
Sun Jan 23 12:37:42 PST 2011


#28101: gdal +hdf4 install fails
------------------------------+---------------------------------------------
 Reporter:  gnwiii@…          |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.9.2                                
 Keywords:  hdf4              |        Port:                                       
------------------------------+---------------------------------------------
 $ port update outdated

 This failed in gdal with an errors in hdf4imagedataset.cpp.  I was able in
 install without hdf4.  Then I tried:

 $ port install gdal +hdf4
 --->  Computing dependencies for gdal
 --->  Fetching gdal
 --->  Verifying checksum(s) for gdal
 --->  Extracting gdal
 --->  Applying patches to gdal
 --->  Configuring gdal
 --->  Building gdal
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Log for gdal is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_gdal/main.log

 The log has the following errors:

 :info:build hdf4imagedataset.cpp: In member function 'void
 HDF4ImageDataset::GetSwatAttrs(int32)':
 :info:build hdf4imagedataset.cpp:1506: error: 'SWsdid' was not declared in
 this scope
 :info:build hdf4imagedataset.cpp: In member function 'void
 HDF4ImageDataset::GetGridAttrs(int32)':
 :info:build hdf4imagedataset.cpp:1616: error: 'GDsdid' was not declared in
 this scope

 $ port installed hdf4 gdal
 The following ports are currently installed:
   gdal @1.7.3_1+hdf5+netcdf+python26 (active)
   hdf4 @4.2.5_1 (active)

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


More information about the macports-tickets mailing list