[Fwd: Install issue for CygWIN.]

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed Mar 24 2010 - 06:08:31 MDT

Maybe he should try the beta 5.2.0?
D

attached mail follows:


Good day!

I'm trying to build NCL 5.1.1 from source code. I have a WinXP SP2 machine with CygWin 1.7.1 installed on it.

Here's an issue, I've found during installation process. I'm installing NCL without support of any additional libraries like GRIB2, etc.
I'm unpacking sources to my sources location. At this step there is no makefiles nowhere (and it shouldn't be). After that I'm editing CYGWIN config file at $NCARG/config to apply my changes fo C to Fortran libraries. So I change
#define CtoFLibraries -lg2c -lm
to
#define CtoFLibraries -L/lib/gcc/i686-pc-cygwin/3.4.4 -lg2c -lm

At this step everything seems to be ok. After that I run commands to check if my system is recognized by NCL build environment.
So I run the following commands:

cd $NCARG/config
make -f Makefile.ini
./ymake -config `pwd`

These commands doesn't produce no output, so everything seems to be ok. But if I take a look at makefile file, created, I see that
CtoFLibraries defined variable differs from what I used.

CTOFLIBS = -L/lib/gcc/1-pc-cygwin/3.4.4 lg2c -lm

I have no idea where this "1-pc-cygwin" appeared.
After running configure script, each makefile created has the same CTOFLIBS variable.
Unfortunately, with fatal errors for the linker, which can't recognise -lg2c key.

Could you provide me a solution for this problem? I checked all the files for "1-pc-cygwin" in your source code, but found none. So it's some kind of magic for me at the moment.

Best regards,
   Andrey Leskin
   Software Developer
____________________________________________

RDC ScanEx
Department of Software Development
5/22 Rossolimo Street, Moscow, 119021, Russia

Web: www.ScanEx.com
E-Mail: aleskin@scanex.ru
Phone: +7 (495) 739-73-85

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Wed Mar 24 06:09:00 2010

This archive was generated by hypermail 2.1.8 : Thu Apr 01 2010 - 11:31:26 MDT