Can't build GNU Octave because of missing/broken hdf5?

Ryan Schmidt ryandesign at macports.org
Wed Sep 5 03:48:42 PDT 2007


On Sep 5, 2007, at 04:25, Bernard Desgraupes wrote:

> Ryan Schmidt wrote:
>
>> On Sep 5, 2007, at 02:53, Erik de Castro Lopo wrote:
>>
>>> I'm trying to build GNU Octave, but one of the pre-requisites hdf5
>>> seems broken:
>>>
>>> --->  Fetching hdf5
>>> --->  Attempting to fetch hdf5-1.6.5.tar.gz from ftp://  
>>> ftp.hdfgroup.org/HDF5/current/src/
>>> --->  Attempting to fetch hdf5-1.6.5.tar.gz from http://  
>>> svn.macports.org/repository/macports/distfiles/hdf5
>>> --->  Attempting to fetch hdf5-1.6.5.tar.gz from http://  
>>> svn.macports.org/repository/macports/distfiles/general/
>>> --->  Attempting to fetch hdf5-1.6.5.tar.gz from http://  
>>> svn.macports.org/repository/macports/downloads/hdf5
>>> Error: Target org.macports.fetch returned: fetch failed
>>> Error: The following dependencies failed to build: hdf5
>>> Error: Status 1 encountered during processing.
>>>
>>> What should I do to fix it?
>>
>> A bug about hdf5 has already been filed:
>>
>> http://trac.macosforge.org/projects/macports/ticket/12592
>>
>> The maintainer has not yet responded.
>
> I have built octave two days ago and have met this same problem.  
> Here's the recipe. To work around it, edit the Portfile (/opt/local/ 
> var/macports/sources/rsync.macports.org/release/ports/science/hdf5/ 
> Portfile)
> and modify two things:
> * the version : replace 1.6.5  by 1.6.6
> * the checksum: I did not keep a copy of the new checksum, but  
> after you changed the version and tried again to "port install  
> hdf5" there will be an error message in which the checksum is  
> printed. So replace the current value by the expected one. No the  
> build should go fine.
>
> When hdf5 has completed its build, execute
> sudo port install octave
> to finish the job.

Then perhaps you could attach a diff to the ticket?




More information about the macports-users mailing list