[MacPorts] #28101: gdal +hdf4 install fails

MacPorts noreply at macports.org
Sun Jan 23 15:48:06 PST 2011


#28101: gdal +hdf4 install fails
------------------------------+---------------------------------------------
 Reporter:  gnwiii@…          |       Owner:  seanasy@…        
     Type:  defect            |      Status:  new              
 Priority:  Normal            |   Milestone:                   
Component:  ports             |     Version:  1.9.2            
 Keywords:                    |        Port:  gdal             
------------------------------+---------------------------------------------
Changes (by jmr@…):

  * keywords:  hdf4 =>
  * owner:  macports-tickets@… => seanasy@…
  * port:  => gdal


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

New 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)
 }}}

--

Comment:

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

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


More information about the macports-tickets mailing list