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:
make: Entering directory `/usr/local/netcdf-3.5.0/src'
Making `all' in directory /usr/local/netcdf-3.5.0/src/libsrc
make: 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,
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
make: *** [attr.o] Error 1
make: Leaving directory `/usr/local/netcdf-3.5.0/src/libsrc'
make: *** [subdir_target] Error 1
make: Leaving directory `/usr/local/netcdf-3.5.0/src'
make: *** [libsrc/all] Error 2
So I cannot compile ROMS program because the NetCDF library hasn't been built.
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