[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #TZL-450905]: Configure failed

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.


  • Subject: [netCDF #TZL-450905]: Configure failed
  • Date: Wed, 28 Mar 2007 05:25:14 -0600

> i did as instructed and this is the new config.log, i'll have to check with
> the fortran compilers
> 

> configure:22895: checking if Fortran "byte" is C "signed char"
> configure:22905: gcc -c  -g -O2  conftest.c
> configure:22908: $? = 0
> configure:22911: /usr/pgi/linux86-64/5.1/bin/pgf77 -g  -c conftestf.f
> configure:22914: $? = 0
> configure:22917: /usr/pgi/linux86-64/5.1/bin/pgf77 -o conftest -g
> conftestf.o conftest.o
> /usr/bin/ld: /crtbegin.o: No such file: No such file or directory
> configure:22920: $? = 2
> configure:22943: error: Could not link conftestf.o and conftest.o

Howdy Roberto!

Looks like your portland group fortran compiler is messed up.

Firstly, do you need the fortran APIs at all? If not, try configure with 
--disable-f77, which will turn off both the F77 and the F90 APIs of netCDF.

If you do need to program with netCDF in fortran, you will have to fix or 
replace your fortran compiler. The GNU fortran compiler which comes with gcc 
works well, or you can contact portland group user support to find out what is 
wrong with your pgf77 compiler, or you can try reinstalling the portland group 
fortran compiler on your machine and try building netCDF again.

Let me know if this helps. 

Thanks,

Ed


Ticket Details
===================
Ticket ID: TZL-450905
Department: Support netCDF
Priority: Normal
Status: Open