Opened 13 years ago

Last modified 12 years ago

#28101 closed defect

gdal +hdf4 install fails — at Initial Version

Reported by: gnw3 Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: gdal

Description

$ 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)

Change History (0)

Note: See TracTickets for help on using tickets.