-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot compile in Debian 10 #399
Comments
I also tried to compile netcdf-c-4.9.2 apparently no problem, and when trying to build netcdf-fortran-4.6.0 i get this error: any ideas? thanks E_VPRINTF=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SSIZE_T=1 -DHAVE_PTRDIFF_T=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DSIZEOF_FLOAT=4 -DSIZEOF_DOUBLE=8 -DSIZEOF_OFF_T=8 -DSIZEOF_SIZE_T=8 -DSIZEOF_PTRDIFF_T=8 -I. -I. -g -O2 -c module_netcdf_nf_data.F90 -fPIC -o .libs/module_netcdf_nf_data.o Integer, Parameter :: NF_NOQUANTIZE = NC_NOQUANTIZE Integer, Parameter :: NF_QUANTIZE_BITGROOM = NC_QUANTIZE_BITGROOM |
Thanks; I'm taking a look at this now. |
Can you provide the |
I think I also have similar problems associated with these statements. The error message says: module_netcdf_nf_data.F90(167): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NC_NOQUANTIZE] I attached bash scripts, error, and output log and config.log, libnetcdf.settings in a zip file. |
Thank you; I'm wondering if this is specific to the |
I'm experiencing the same issue with
|
I'll take a look at this; thanks for confirming use case with |
@WardF For what's it worth, I installed |
I'm seeing the same thing trying to build in an Ubuntu jammy container with gfortran, netcdf-4.9.2, and netcdf-fortran-4.6.1.
Just through trial and error I found I could get |
I'm trying to compile this library in Debian 10, what version should i build? i'm trying to build netcdf-fortran-4.5.3 and i'm getting this error, but i understand Debian 10 is not the latest version of Debian and 4.5.3 i not the latest version of the library.
I'm trying with these commands:
cd ../netcdf-fortran-4.5.3
export NETCDF=/usr/local
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$NETCDF/lib
./configure --prefix=/usr/local
make
sudo make install
The error is:
-DHAVE_ALLOCA=1 -DHAVE_SSIZE_T=1 -DHAVE_PTRDIFF_T=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DSIZEOF_FLOAT=4 -DSIZEOF_DOUBLE=8 -DSIZEOF_OFF_T=8 -DSIZEOF_SIZE_T=8 -DSIZEOF_PTRDIFF_T=8 -I. -I. -g -O2 -c module_netcdf_nf_interfaces.F90 -o module_netcdf_nf_interfaces.o >/dev/null 2>&1
/bin/bash ../libtool --tag=FC --mode=compile gfortran -I. -g -O2 -c -o module_netcdf_f03.lo module_netcdf_f03.f90
libtool: compile: gfortran -I. -g -O2 -c module_netcdf_f03.f90 -fPIC -o .libs/module_netcdf_f03.o
f951: Fatal Error: Reading module ‘netcdf_nf_interfaces’ at line 1834 column 18: Unexpected EOF
compilation terminated.
make[1]: *** [Makefile:797: module_netcdf_f03.lo] Error 1
make[1]: se sale del directorio '/nfs/home/cluster/instaladores/netcdf-fortran-4.5.3/fortran'
make: *** [Makefile:581: all-recursive] Error 1
cluster@cebollati:~/instaladores/netcdf-fortran-4.5.3$ gfortran --version
GNU Fortran (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The text was updated successfully, but these errors were encountered: