Opened 14 years ago

Closed 13 years ago

#28101 closed defect (fixed)

gdal +hdf4 install fails

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

Description (last modified by jmroot (Joshua Root))

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

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: hdf4 removed
Owner: changed from macports-tickets@… to seanasy@…
Port: gdal added

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer.

comment:2 Changed 14 years ago by gnw3

Cc: gnwiii@… added

Cc Me!

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Cc: gnwiii@… removed
Resolution: fixed
Status: newclosed

Can't reproduce. Probably fixed by subsequent updates.

Note: See TracTickets for help on using tickets.