This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Yay! No problem, glad I was able to help :-) Sean > It worked!!!! > > If you were here I'll invite you to have a beer to celebrate it!! > > Thanks a lot! really, you saved my day! > > Cheers > > Maria > > > ________________________________________ > De: Unidata netCDF Support [address@hidden] > Enviado el: lunes, 13 de junio de 2011 18:13 > Para: Martin Calvo, Maria > CC: address@hidden > Asunto: [netCDF #KVV-602932]: installation problems > > Hi Maria, > > > Thanks for answering so quickly!...but still, the error doesn't go.. > > > > It looks like you set FFFLAGS instead of FFLAGS (added an extra F): > > lt_cv_ld_force_load=no CFLAGS="-arch x86_64 -g -O2" CXXFLAGS="-arch x86_64 -g > -O2" FCFLAGS="-m64 -g -O2" FFFLAGS="-m64 -g -O2" ./configure > --prefix=/home/mmartinc/local --disable-netcdf-4 > > and so FFLAGS didn't get correctly set again. Give this one a try: > > lt_cv_ld_force_load=no CFLAGS="-arch x86_64 -g -O2" CXXFLAGS="-arch x86_64 -g > -O2" FCFLAGS="-m64 -g -O2" FFLAGS="-m64 -g -O2" ./configure > --prefix=/home/mmartinc/local --disable-netcdf-4 > > > Sorry for bothering you so much! > > > > No bother at all - we'll get this fixed up! > > Sean > > > Cheers > > > > Maria > > > > > > Maria Martin Calvo > > Marie Curie Early-Stage Researcher > > address@hidden > > > > Imperial College (Silwood Park Campus) > > SL5 7PY Ascot, Berkshire > > UK > > ________________________________________ > > De: Unidata netCDF Support [address@hidden] > > Enviado el: lunes, 13 de junio de 2011 17:26 > > Para: Martin Calvo, Maria > > CC: address@hidden > > Asunto: [netCDF #KVV-602932]: installation problems > > > > Hi Maria, > > > > It looks like the FFLAGS variable didn't get set= with -m64. > > > > configure:24283: checking FFLAGS > > configure:24285: result: -g -O2 > > > > There was a typo in the command I sent you in setting FFLAGS (sorry about > > that - need more coffee). Try: > > > > lt_cv_ld_force_load=no CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" > > FCFLAGS="-m64" FFLAGS="-m64" ./configure --prefix=/home/mmartinc/local > > --disable-netcdf-4 > > > > I had FFLAGS="=-m64" instead of FFLAGS="-m64". You could also add "-g -O2" > > to each of those flags as well (e.g. CFLAGS="-arch x86_64 -g -O2"). > > > > I tested this on my mac with the same gcc and gfortran and it worked (for > > 32 and 64 bit). Hopefully we can get it going for you too. I did find that > > if I removed FFLAGS, then the config failed where it fails for you. > > > > Cheers! > > > > Sean > > > Sorry, I forgot to send you the output of the ./configure > > > > > > Thank you!! > > > > > > Maria > > > > > > ________________________________________ > > > De: Unidata netCDF Support [address@hidden] > > > Enviado el: lunes, 13 de junio de 2011 16:34 > > > Para: Martin Calvo, Maria > > > CC: address@hidden > > > Asunto: [netCDF #KVV-602932]: installation problems > > > > > > Greetings and good morning to you as well Maria! > > > > > > > Good morning, > > > > > > > > I've been trying to install the netcdf libraries for some days, > > > > following > > > > the recommendations from your website and some forums. > > > > > > > > I'm using a Mac 64 bit machine, and I've tried different versions of > > > > the netcdf files, with similar results. > > > > > > > > I send you the outputs from running ./configure and the consecuent > > > > config.log from the netcdf beta version (4.1.3-rc1). > > > > > > > > I always get the same error (checking if Fortran "byte" is C "signed > > > > char". .. configure: error: Could not link conftestf.o and conftest.o), > > > > and following the instructions for similar cases just leads me to > > > > different errors. (doing FC=g95, export FC> configure:error:fortran > > > > could not compile f90 files) > > > > > > > > > > Please give this a try: > > > > > > lt_cv_ld_force_load=no CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" > > > FCFLAGS="-m64" FFLAGS="=-m64" ./configure --prefix=/home/mmartinc/local > > > --disable-netcdf-4 > > > > > > The lt_cv_ld_force_load=no will take care of a problem that you would > > > have ran into during `make` if you were able to get `configure` to run > > > (it's an issue with differences in `libtool` and `ld` on the Mac). The > > > rest are compile flags (assuming you want 64bit, otherwise change x96_64 > > > to i386 and -m64 to -m32). > > > > > > If this works for you, be sure to run `make check` after `make` to see if > > > it passes the tests. > > > > > > Cheers! > > > > > > Sean Arms > > > > > > > > > > Thank you in advance for any help...this is driving me crazy! > > > > > > > > Best regards > > > > > > > > Maria > > > > > > > > > > > > > > > > > > > > > Ticket Details > > > =================== > > > Ticket ID: KVV-602932 > > > Department: Support netCDF > > > Priority: Normal > > > Status: Open > > > > > > > > > > > > > > > Ticket Details > > =================== > > Ticket ID: KVV-602932 > > Department: Support netCDF > > Priority: Normal > > Status: Open > > > > > > > > > Ticket Details > =================== > Ticket ID: KVV-602932 > Department: Support netCDF > Priority: Normal > Status: Open > > > Ticket Details =================== Ticket ID: KVV-602932 Department: Support netCDF Priority: Normal Status: Closed