I am trying to make a local installation of ROMS on my computer (Pentium III, O.S = Red Hat 7.2 (Enigma)). I have some problems...
Actually, I started trying to create a grid NetCDF by using the coast and grid packages. I have a problem creating the NetCDF library. I followed the instructions in the UNIDATA INSTALL.html pages. Everything seems to go well until I lunch the "make" command giving:
Code: Select all
make[1]: Entering directory `/usr/local/netcdf-3.5.0/src'
Making `all' in directory /usr/local/netcdf-3.5.0/src/libsrc
make[2]: Entering directory `/usr/local/netcdf-3.5.0/src/libsrc'
cc -c -O -I. -DNDEBUG attr.c
In file included from /usr/include/errno.h:36,
from netcdf.h:39,
from nc.h:16,
from attr.c:8:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
make[2]: *** [attr.o] Error 1
make[2]: Leaving directory `/usr/local/netcdf-3.5.0/src/libsrc'
make[1]: *** [subdir_target] Error 1
make[1]: Leaving directory `/usr/local/netcdf-3.5.0/src'
make: *** [libsrc/all] Error 2
Anyway, also with xpots and xcoast seems that there are some problems:
The Makefile.gcc assumes that my X files are under /usr/local/X11R6, actually they are in /usr/X11R6, so I created a simbolic link before to lunch the "make depend" and "make" command..the result is the same..
Concerning xpots, an interface is created, but is impossible "move" the switches..
Does cpp need to any option to compile correctly the .h files?
Thank you, Davide