Hi all,
first of all: Congratulations! Building and testing this beta went
very smooth on my cygwin system with a self-built g95 compiler from
www.g95.org .
The only problem I encountered was due to a bug in the install script
that did not expect that the ncdump and ncgen executables have an
.exe ending on cygwin:
% make install
...
make[2]: Entering directory
`/usr/local/src/packages/netcdf-3_6_0-beta6/src/ncdump'
gcc -o ncdump -g -Os -pipe ncdump.o vardata.o dumplib.o
../libsrc/libnetcdf.a
Info: resolving _opterr by linking to __imp__opterr (auto-import)
Info: resolving _optarg by linking to __imp__optarg (auto-import)
Info: resolving _optind by linking to __imp__optind (auto-import)
cp ncdump /usr/local/bin/ncdump
cp: `ncdump' and `/usr/local/bin/ncdump' are the same file
make[2]: *** [/usr/local/bin/ncdump] Error 1
make[2]: Target `install' not remade because of errors.
make[2]: Leaving directory
`/usr/local/src/packages/netcdf-3_6_0-beta6/src/ncdump'
make[1]: *** [subdir_target] Error 1
A possible solution for Windows/Cygwin systems: define a variable
EXEEXT in the top-level Makefile which is set to EXEEXT by configure
(and left empty for real Unix systems), and fix the Makefiles in the
ncgen and ncdump directories accordingly.
Cheers,
-ha
--
Harald Anlauf
Deutscher Wetterdienst (DWD) | Phone: +49-(0)69/8062-4941
FE1/AP03 - Assimilation & Modelle | Fax: +49-(0)69/8062-4954
63067 Offenbach | e-Mail: harald.anlauf@xxxxxx