[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20040206: netcdf install problems
- Subject: 20040206: netcdf install problems
- Date: Tue, 10 Feb 2004 08:56:08 -0700
Kevin,
> To: address@hidden
> From: "Kevin Werner" <address@hidden>
> Subject: netcdf install problems
> Organization: NOAA
> Keywords: 200402062112.i16LCsp1001642 netCDF insall
The above message contained the following:
> I'm trying to install netcdf on a linux machine. However the make file
> results in an error. I've looked through your email support archives but
> haven't found anything like this.
>
> Your website requested the following information:
> A. The standard output of the command "uname -a".
>
> Linux pc87.wrh.noaa.gov 2.4.20-6 #1 Thu Feb 27 10:06:59 EST 2003 i686
> i686 i386 GNU/Linux
>
> B. The contents of the file VERSION, which is in the top-level source
> directory.
>
> 3.5.0
>
> C. The file "macros.make", which is created in the top-level source
> directory by the configure script during step 6 above.
>
> Attached
>
> D. The absolute pathnames of all compilers (C, Fortran, C++) used in the
> build process if they are not in the file "macros.make" (use the type(1)
> or which(1) utility to determine this).
>
> gcc is /usr/bin/gcc
> f77 is /usr/bin/f77
> c++ is /usr/bin/c++
>
> E. The file "configure.log" from step 6 above.
>
> Attached
>
> F. The file "config.log", which is created in the top-level source
> directory by the configure script during step 6 above.
>
> Attached
>
> G. The file "make.log" from step 7 above.
>
> Attached
Here's the file "make.log" that you sent:
> make[1]: Entering directory `/home/kevin.werner/apps/netcdf-3.5.0/src'
>
> Making `all' in directory /home/kevin.werner/apps/netcdf-3.5.0/src/libsrc
>
> make[2]: Entering directory `/home/kevin.werner/apps/netcdf-3.5.0/src/libsrc'
> c89 -c -O -I. -DNDEBUG attr.c
> c89 -c -O -I. -DNDEBUG dim.c
> c89 -c -O -I. -DNDEBUG error.c
> c89 -c -O -I. -DNDEBUG -DVERSION=`cat ../VERSION` libvers.c
> c89 -c -O -I. -DNDEBUG nc.c
> c89 -c -O -I. -DNDEBUG ncio.c
> c89 -c -O -I. -DNDEBUG ncx.c
> c89 -c -O -I. -DNDEBUG putget.c
> c89 -c -O -I. -DNDEBUG string.c
> c89 -c -O -I. -DNDEBUG v1hpg.c
> c89 -c -O -I. -DNDEBUG v2i.c
> c89 -c -O -I. -DNDEBUG var.c
> ar cru libnetcdf.a attr.o dim.o error.o libvers.o nc.o ncio.o ncx.o putget.o
> string.o v1hpg.o v2i.o var.o
> ranlib libnetcdf.a
> make[2]: Leaving directory `/home/kevin.werner/apps/netcdf-3.5.0/src/libsrc'
>
> Returning to directory /home/kevin.werner/apps/netcdf-3.5.0/src
>
> make[1]: Leaving directory `/home/kevin.werner/apps/netcdf-3.5.0/src'
> make[1]: Entering directory `/home/kevin.werner/apps/netcdf-3.5.0/src'
>
> Making `all' in directory /home/kevin.werner/apps/netcdf-3.5.0/src/fortran
>
> make[2]: Entering directory `/home/kevin.werner/apps/netcdf-3.5.0/src/fortran'
> c89 -c -O -I../libsrc -DNDEBUG fort-attio.c
> make[2]: Leaving directory `/home/kevin.werner/apps/netcdf-3.5.0/src/fortran'
> make[1]: Leaving directory `/home/kevin.werner/apps/netcdf-3.5.0/src'
This is too short: there should be more in the file. There is also no
indication as to why this file is truncated: there is no error message.
Was the standard error stream redirected to this file during the "make"
step?
As a guess as to why the "make" failed, please ensure that the
environment variable CPPFLAGS contains the string "-Df2cFortran" before
executing the configure script.
Please let me know if this helps.
Regards,
Steve Emmerson