building NCG from source under CYGWIN

From: <Malcolm.Haylock_at_nyahnyahspammersnyahnyah>
Date: Wed, 11 Feb 2009 10:35:56 +0100

Dear All,

I'm the closest I've ever been to being able to build NCG under CYGWIN
using gfortran and gcc but am having the problem where libncarg_c and its
dependents (e.g. ncargpath) are not being built.

Here's what I'm doing:

download and unpack the source to /temp/ncl_ncarg-5.0.0/
export NCARG='/temp/ncl-ncarg-5.0.0'
export FC='gfortran'
export CC='gcc'
mkdir /usr/local/ncarg
add -D__UNIXOS2__ to the "StdDefines" line in $NCARG/config/CYGWIN
cd $NCARG
./Configure -v (answer defaults except for no to NCL and HDF)
make Everything

the process runs to completion but there is no libncarg_c
the error in the make output is:

******************************
Making ./common/src/bin/ncargpath
make[5]: Entering directory
`/cygdrive/c/temp/ncl_ncarg-5.0.0/common/src/bin/ncargpath'
gcc -ansi -O -I../../../.././include -I/usr/X11R6/include -DSYSV
-D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -D__UNIXOS2__
-DNeedFuncProto -c -o ncargpath.o ncargpath.c
ncargpath.c: In function 'main':
ncargpath.c:64: warning: incompatible implicit declaration of built-in
function 'exit'
ncargpath.c:72: warning: incompatible implicit declaration of built-in
function 'exit'
ncargpath.c:77: warning: incompatible implicit declaration of built-in
function 'exit'
make[5]: *** No rule to make target
`../../../.././common/src/libncarg_c/libncarg_c.a', needed by `ncargpath'.
 Stop.
make[5]: Leaving directory
`/cygdrive/c/temp/ncl_ncarg-5.0.0/common/src/bin/ncargpath'
******************************

Any help would be much appreciated.

Thanks,
Malcolm Haylock
Atmospheric Scientist
CAT Research
PartnerRe
Bellerivestrasse 36
CH-8034 Zurich
Switzerland

Ph: +41-44-3853696
Fax: +41-44-3853407


 
DISCLAIMER: This e-mail contains information solely intended for named recipients and is confidential and proprietary to PartnerRe. If you are not one of the intended recipients of this message, you must not read, use or disseminate the information in it and should notify the sender by replying to this message and deleting it afterwards from your mail system. Please be aware that unauthorized reproduction or distribution of this communication is prohibited.

_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Wed Feb 11 2009 - 02:35:56 MST

This archive was generated by hypermail 2.2.0 : Fri Apr 24 2009 - 15:34:18 MDT