Hi,
I'm trying to install ncarg-4.4.1 on an FC2 machine with the latest version (6.0-5) of the PGI compilers. However, the software does not build correctly for me. Here are the relevant error messages:
-------------
In file included from w_idt.c:37:
/usr/include/stdio.h:77: error: conflicting types for `va_list'
/usr/local/pgi/linux86/6.0/include/stdarg.h:37: error: previous declaration of `va_list'
w_idt.c: In function `main':
w_idt.c:590: warning: return type of `main' is not `int'
make[5]: *** [w_idt.o] Error 1
make[5]: Leaving directory `/usr/src/redhat/SOURCES/ncarg-4.4.1/ncarg-4.4.1/ncarview/src/bin/idt'
Making ./ncarview/src/bin/rasview
make[5]: Entering directory `/usr/src/redhat/SOURCES/ncarg-4.4.1/ncarg-4.4.1/ncarview/src/bin/rasview'
make[5]: *** No rule to make target `../../../.././ncarview/src/lib/libncarg_ras/libncarg_ras.a', needed by `rasview'. Stop.
make[5]: Leaving directory `/usr/src/redhat/SOURCES/ncarg-4.4.1/ncarg-4.4.1/ncarview/src/bin/rasview'
Making ./ncarview/src/bin/rasls
make[5]: Entering directory `/usr/src/redhat/SOURCES/ncarg-4.4.1/ncarg-4.4.1/ncarview/src/bin/rasls'
make[5]: *** No rule to make target `../../../.././ncarview/src/lib/libncarg_ras/libncarg_ras.a', needed by `rasls'. Stop.
make[5]: Leaving directory `/usr/src/redhat/SOURCES/ncarg-4.4.1/ncarg-4.4.1/ncarview/src/bin/rasls'
Making ./ncarview/src/bin/rasgetpal
make[5]: Entering directory `/usr/src/redhat/SOURCES/ncarg-4.4.1/ncarg-4.4.1/ncarview/src/bin/rasgetpal'
make[5]: *** No rule to make target `../../../.././ncarview/src/lib/libncarg_ras/libncarg_ras.a', needed by `rasgetpal'. Stop.
make[5]: Leaving directory `/usr/src/redhat/SOURCES/ncarg-4.4.1/ncarg-4.4.1/ncarview/src/bin/rasgetpal'
Making ./ncarview/src/bin/rassplit
make[5]: Entering directory `/usr/src/redhat/SOURCES/ncarg-4.4.1/ncarg-4.4.1/ncarview/src/bin/rassplit'
make[5]: *** No rule to make target `../../../.././ncarview/src/lib/libncarg_ras/libncarg_ras.a', needed by `rassplit'. Stop.
make[5]: Leaving directory `/usr/src/redhat/SOURCES/ncarg-4.4.1/ncarg-4.4.1/ncarview/src/bin/rassplit'
Making ./ncarview/src/bin/ras2ccir601
make[5]: Entering directory `/usr/src/redhat/SOURCES/ncarg-4.4.1/ncarg-4.4.1/ncarview/src/bin/ras2ccir601'
make[5]: *** No rule to make target `../../../.././ncarview/src/lib/libncarg_ras/libncarg_ras.a', needed by `ras2ccir601'. Stop.
-------------
At the end of the 'make' process, I get the message 'NOT Making ./ni'. I get most of the executables built, but ctrans and ictrans do not build for me. Here are the relevant sections if the config/LINUX file:
-------------
#define HdfDefines -DLINUX
#define StdDefines -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped
#define ByteSwapped
#define Cstatic
#define Cdynamic
#define CppCommand '/usr/bin/cpp -traditional'
#define CCompiler pgcc
#define FCompiler pgf90
#define CtoFLibraries -lg2c -lgcc -lm -lpgc -lpgf90 -lpgf90_rpm1 -lpgf902 -lpgftnrtl
#define CcOptions -ansi
#define XToolLibrary -lXt -lSM -lICE
#define BuildShared NO
#define XLibrary -lX11 -lXext
--------------
I tried the default values for CtoFLibraries, and I tried changing the CCompiler to gcc, but neither of them worked. I saw related threads on the list about this topic, and these were the two changes (CCompiler and FtoCLibraries) that were discusses there, but neither of them worked for me.
Also, the configure file has options to ask for UDUNITS and Vis5d support. Should I get that option after I've said yes to building in HDF support? Because I don't.
Could anybody point me towards where I'm going wrong? Do I need to provide any more information?
Thanks,
Saurabh
-- -------------------------------------------------------------------------- "Yours is to work. The results will take care of themselves" -- Swami Vivekanand --------------------------------------------------------------------------Saurabh Barve sa@atmos.colostate.edu (970)491-7714
_______________________________________________ ncarg-talk mailing list ncarg-talk@ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
This archive was generated by hypermail 2b29 : Wed Nov 02 2005 - 21:35:14 MST