RE: [ncl-install] installation problem with gcc 4.4.1

From: <martin.juckes_at_nyahnyahspammersnyahnyah>
Date: Wed Feb 10 2010 - 03:05:31 MST

Hello Mary,

 

Sorry for missing that vital information:

 

ncl_ncarg-5.1.1.Linux_i686_opendap_gcc412.tar.gz

 

Which had the highest gcc version in the opendap enabled section, but, I
have just noticed there is a binary for gcc 4.3.2 without opendap
enabled:

 

ncl_ncarg-5.1.1.Linux_i686_gcc432.tar.gz - and this appears to work.

 

I would like to use opendap eventually - is the opendap enabled version
of the above binary likely to be available in the next 3-6 months?

 

Martin

 

 

 

 

From: Mary Haley [mailto:haley@ucar.edu]
Sent: 09 February 2010 16:39
To: Juckes, Martin (STFC,RAL,SSTD)
Cc: ncl-install@ucar.edu
Subject: Re: installation problem with gcc 4.4.1

 

 

On Feb 8, 2010, at 8:58 AM, <martin.juckes@stfc.ac.uk>
<martin.juckes@stfc.ac.uk> wrote:

Hello,

 

I am trying to install ncl on my laptop, which has an i686 chip and a
ubuntu 9.1 system, with gcc 4.4.1

 

I tried both a binary and a self install of ncl, but neither worked. For
the binary, this was perhaps to be expected as I have a different
version of gcc to that specified.

 

Hi Martin,

 

Exactly which binary did you download? It will be much easier for you if
we can find a binary that works, instead of trying to build from source
code.

 

 

--Mary

 

When I try to execute bin/ezmapdemo I get this response:

bin/ezmapdemo: error while loading shared libraries: libgfortran.so.1:
cannot open shared object file: No such file or directory

 

Turning to the self install, after configuration I run make all install
>& make-output

 

The first error I can find in make-output is the following:

 

Making ./ni/src/lib/nio

make[5]: Entering directory
`/data/u10/fwsrc/ncl/ncl_ncarg-5.1.1/ni/src/lib/nio'

created NclTypedouble.c

gcc -ansi -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O
-I../../../.././include -I/usr/include/X11 -DLinux -DMAJOR=2
-DUSE_NETCDF4 -DNIO_LIB_ONLY -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE
-DByteSwapped -DNeedFuncProto -c -o NclTypedouble.o NclTypedouble.c

NclTypedouble.c:24:27: error: NclTypedouble.h: No such file or directory

NclTypedouble.c:48:28: error: NclTypelogical.h: No such file or
directory

NclTypedouble.c:49:26: error: NclTypefloat.h: No such file or directory

In file included from cmpf.h:26,

                 from NclTypedouble.c:52:

niohlu.h:28:18: error: nioc.h: No such file or directory

NclTypedouble.c:86: error: expected declaration specifiers or '...'
before 'NclScalar'

NclTypedouble.c:86: error: expected declaration specifiers or '...'
before 'NclScalar'

NclTypedouble.c:86: error: expected declaration specifiers or '...'
before 'NclTypeClass'

 

[end of included output]

 

Some of these include files are in the distribution, just not in the
path of this particular compile statement, but I cannot find the nioc.h
file anywhere.

 

The full make-output file is 1.4Mb, but I can send it if that is
helpful,

 

Sincerely,

Martin Juckes

 

-- 
Scanned by iCritical. 
 
_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
 
-- 
Scanned by iCritical.

Received on Wed Feb 10 03:23:48 2010

This archive was generated by hypermail 2.1.8 : Thu Feb 18 2010 - 10:34:27 MST