Re: configure failure compiling netcdf-c7-4.3.3.1-7

Hanspeter Niederstrasser <[email protected]> Tue, 25 Jul 2023 04:31:25 -0500
Newsgroups gmane.os.apple.fink.beginners
Organization Snaggled Works
Message-ID <[email protected]>
On 7/22/23 10:56 PM, Dan Hitt wrote:
> I attempted to install the package netcdf-c7 in order to get the netcdf
> include files and libraries on my system.
> 
> My command was
> fink install netcdf-c7
> 
> It failed, and left a message that i should run 'fink self-update' and
> fink-configure to set the maximum number of build jobs to 1.  I did this,
> and also ran 'fink update-all', at the request of 'fink self-update'.
> 
> Then i tried again, and failed again.
> 
> The latest transcript is about 357 lines long, and i think the problem
> comes from these lines, which look like part of some configure output:
> checking for library containing H5Fflush... no
> configure: error: Can't find or link to the hdf5 library. Use
> --disable-netcdf-4, or see config.log for errors.
> ### execution of /tmp/fink.gnWKa failed, exit code 1
> ### execution of /tmp/fink.LjGT7 failed, exit code 1
> Removing runtime build-lock...
> Removing build-lock package...
> /opt/sw/bin/dpkg-lockwait -r fink-buildlock-netcdf-c7-4.3.3.1-7
> (Reading database ... 42807 files and directories currently installed.)
> Removing fink-buildlock-netcdf-c7-4.3.3.1-7 ...
> Failed: phase compiling: netcdf-c7-4.3.3.1-7 failed
> 
> This is on a Catalina system.
> Package manager version: 0.45.6
> Distribution version: selfupdate-rsync Sat Jul 22 20:18:37 2023, 10.15,
> x86_64
> Trees: local/main stable/main
> No recognized Xcode.app installed
> Xcode command-line tools: 12.4.0.0.1.1610135815
> Max. Fink build jobs:  1

Can you look for the file 
/opt/sw/src/fink.build/netcdf-c7-4.3.3.1-7/netcdf-c7-4.3.3.1/config.log 
and check around the area where it mentions 'H5Fflush' ? That should 
hopefully provide more diagnostic as to why it's failing to find the 
hdf5 library.

Is there a reason you need the really old netcdf-c7 library? The latest 
version of that library is in the package netcdf-c18.

Hanspeter

-- 
"Of the 22 schools in the top 20..."
   --Unknown



_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners