Re: (no subject)

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Feb 22 2013 - 07:25:32 MST

Dear Zilore,

In the future, please post your installation questions to ncl-install.

http://mailman.ucar.edu/mailman/listinfo/ncl-install

If "yum install" didn't work for you, then you can try downloading one of our LINUX binaries. We have several to choose from, so there's likely one that will work on your system.

http://www.ncl.ucar.edu/Download/

If you want to continue down the source route, then I will need more information.

I can't tell from the output below what the problem is. It looks like your NCL include files didn't get generated properly, which usually indicates there's some problem with a configuration file.

Can you sent me the full make-output file and your $NCARG/config/LINUX file?

--Mary

On Feb 21, 2013, at 4:38 PM, zilore mumba wrote:

> I hope I can get assistance as my question is not about ncl functioning/development but installing from source.
> I am running fedora 15 in a virtual machine on a Windows host. Each time I did "yum install ncl", so I decided to go the build from source route. I installed all the packages indicated on the site, except vis5d+ (and flex) which gave an error. However "make All &>make-output" (not being the first attempt gives the erros below.
>
> My entries in config/LINUX are also appended beolw.
> After these attempts, now yum installs ncl but it gives errors in "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl". Any assistance/advice would be welcome.
> Zilore Mumba
>
> make[5]: Entering directory `/usr/local/ncl_ncarg-6.1.2/ni/src/lib/nfp'
> gcc -ansi -fPIC -O -I../../ncl -I../../../.././include -I/usr/local/include -DBuildUdunits -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -DNDEBUG -c -o areavolW.o areavolW.c
> In file included from areavolW.c:3:0:
> wrapper.h:6:28: fatal error: ncarg/ncl/defs.h: No such file or directory
> compilation terminated.
> make[5]: *** [areavolW.o] Error 1
> make[5]: Leaving directory `/usr/local/ncl_ncarg-6.1.2/ni/src/lib/nfp'
> Making ./ni/src/lib/nfpfort
> make[5]: Entering directory `/usr/local/ncl_ncarg-6.1.2/ni/src/lib/nfpfort'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/usr/local/ncl_ncarg-6.1.2/ni/src/lib/nfpfort'
> Making ./ni/src/lib/nio
> make[5]: Entering directory `/usr/local/ncl_ncarg-6.1.2/ni/src/lib/nio'
> make[5]: *** No rule to make target `data_h.sh', needed by `NclTypeobj.h'. Stop.
> make[5]: Leaving directory `/usr/local/ncl_ncarg-6.1.2/ni/src/lib/nio'
> make[4]: Leaving directory `/usr/local/ncl_ncarg-6.1.2/ni/src/lib'
> Making ./ni/src/ncl
> make[4]: Entering directory `/usr/local/ncl_ncarg-6.1.2/ni/src/ncl'
> gcc -ansi -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O -I../../.././include -I/usr/local/include -DLinux -DMAJOR=2 -DUSE_NETCDF4 -DUSE_NETCDF4_FEATURES -DBuildHDF5 -DBuildGRIB2 -DBuildGDAL -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -DNDEBUG -c -o Ncl.o Ncl.c
> Ncl.c:28:27: fatal error: TypeSupport.h: No such file or directory
> compilation terminated.
> make[4]: *** [Ncl.o] Error 1
> make[4]: Leaving directory `/usr/local/ncl_ncarg-6.1.2/ni/src/ncl'
> Making ./ni/src/mkwrap
> make[4]: Entering directory `/usr/local/ncl_ncarg-6.1.2/ni/src/mkwrap'
> gcc -ansi -fPIC -O -I../../.././include -I/usr/local/include -DLinux -DMAJOR=2 -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -DNDEBUG -c -o y.tab.o y.tab.c
> wrapit.y:5:28: fatal error: ncarg/ncl/defs.h: No such file or directory
> compilation terminated.
> make[4]: *** [y.tab.o] Error 1
> make[4]: Leaving directory `/usr/local/ncl_ncarg-6.1.2/ni/src/mkwrap'
> Making ./ni/src/db
>
> config/LINUX
> #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 gcc
> #define FCompiler gfortran
> #define CtoFLibraries -lgfortran -lm
> #define CcOptions -ansi -fPIC
> #define FcOptions -fPIC -fno-second-underscore
> #define XToolLibrary -lXt -lSM -lICE
> #define BuildShared NO
> #define XLibrary -lX11 -lXext
> #define ExtraExportFlags -rdynamic
>
> #define ArchRecIncSearch -I/usr/local/include
>
> FC = $(F77)
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Feb 22 07:25:47 2013

This archive was generated by hypermail 2.1.8 : Fri Feb 22 2013 - 17:42:16 MST