Hi,
this commad:
./configure --prefix=$DIR/netcdf --disable-dap --disable-netcdf-4 --disable-shared
generates some error that can be seen in the configure.log file like:
configure:3922: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
configure:3922: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
configure:3975: gcc -I/home/cc/Build_WRF/LIBRARIES/grib2/include -L/home/cc/Build_WRF/LIBRARIES/grib2/lib conftest.c -lnetcdf -lz >&5
/usr/bin/ld: cannot find -lnetcdf
collect2: error: ld returned 1 exit status
I followed all the steps mentioned before without any error. What is weird is the fact that "-V" option in gcc in not working even in my fedora machine.
Could you please help me?
I've searched in the forum with no luck.
Best,
M
this commad:
./configure --prefix=$DIR/netcdf --disable-dap --disable-netcdf-4 --disable-shared
generates some error that can be seen in the configure.log file like:
configure:3922: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
configure:3922: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
configure:3975: gcc -I/home/cc/Build_WRF/LIBRARIES/grib2/include -L/home/cc/Build_WRF/LIBRARIES/grib2/lib conftest.c -lnetcdf -lz >&5
/usr/bin/ld: cannot find -lnetcdf
collect2: error: ld returned 1 exit status
I followed all the steps mentioned before without any error. What is weird is the fact that "-V" option in gcc in not working even in my fedora machine.
Could you please help me?
I've searched in the forum with no luck.
Best,
M