Re: configure failure compiling netcdf-c7-4.3.3.1-7
Dan Hitt <[email protected]> Tue, 25 Jul 2023 10:05:18 -0700
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Message-ID | <CAOphizKHieVqmwEQTcs+B_WkjOjDb0X=aNrTy+_g6t4wQLS30A@mail.gmail.com> |
On Tue, Jul 25, 2023 at 2:31 AM Hanspeter Niederstrasser < [email protected]> wrote: > 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 > Thanks Hanspeter. To your second question, i needed netcdf and netcdf-c7 was the first package i found. I didn't realize that -c7 and -c18 were versions and i was choosing the worst version. So i tried netcdf-c8 and it at least installed /opt/sw/include/netcdf.h. So next time i'll try to be more cautious with the package names. (Now, to your first point, the config.log file has a simple test program which just wraps a call to HD5Fflush, and that program does not link. But i guess that's completely moot, unless somebody comes along that really does need an old netcdf version.) Thanks for your help!! dan > > -- > "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