[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



>From: address@hidden (Steve Harder)
>Organization: Texas A&M University
>Keywords: 199406222124.AA06096 netCDF 2.3.2 on NeXT

Steve,

>I'm installing the netCDF package on a NeXTstation and I am having a problem
>getting the Makefile to make for nextos.  I've appended to the log generated
>by the make 'test'.  Do you have any suggestions?

See the end of this message.

>making `test' in directory /usr/local/gmt/netcdf-2.3.2/xdr
>
>./xdrtest > xdrtest_out.new
>diff xdrtest_out.new testout.sav
>*** XDR passes formatted test ***
>cmp test.xdr test_xdr.sav
>*** XDR passes binary test ***
>
>returning to directory /usr/local/gmt/netcdf-2.3.2
>
>
>making `test' in directory /usr/local/gmt/netcdf-2.3.2/libsrc
>
>cc -O -c   -DNDEBUG -O cdftest.c
>cc -O -c   -DNDEBUG -O array.c
>cc -O -c   -DNDEBUG -O attr.c
>cc -O -c   -DNDEBUG -O cdf.c
>cc -O -c   -DNDEBUG -O dim.c
>cc -O -c   -DNDEBUG -O file.c
>cc -O -c   -DNDEBUG -O iarray.c
>cc -O -c   -DNDEBUG -O error.c
>cc -O -c   -DNDEBUG -O globdef.c
>cc -O -c   -DNDEBUG -O putget.c
>cc -O -c   -DNDEBUG -O putgetg.c
>cc -O -c   -DNDEBUG -O sharray.c
>cc -O -c   -DNDEBUG -O string.c
>cc -O -c   -DNDEBUG -O var.c
>cc -O -c   -DNDEBUG -O xdrposix.c
>ar rcuv libnetcdf.a array.o attr.o cdf.o dim.o file.o iarray.o error.o  globde
> f.o putget.o putgetg.o sharray.o string.o var.o  xdrposix.o
>r - array.o
>r - attr.o
>r - cdf.o
>r - dim.o
>r - file.o
>r - iarray.o
>r - error.o
>r - globdef.o
>r - putget.o
>r - putgetg.o
>r - sharray.o
>r - string.o
>r - var.o
>r - xdrposix.o
>ranlib libnetcdf.a
>cc -O -O cdftest.o libnetcdf.a -o cdftest
>./cdftest > cdftest_out.new
>nccreate: filename "test.cdf": File exists
>trying again
>diff cdftest_out.new testout.sav
>*** netCDF passes formatted test ***
>cmp test.cdf test_cdf.sav
>*** netCDF passes binary test ***
>
>returning to directory /usr/local/gmt/netcdf-2.3.2
>
>
>making `test' in directory /usr/local/gmt/netcdf-2.3.2/nctest
>
>cc -O -c -I../libsrc -DNDEBUG -O varget.c
>cc -O -c -I../libsrc -DNDEBUG -O vargetg.c
>cc -O -c -I../libsrc -DNDEBUG -O varput.c
>cc -O -c -I../libsrc -DNDEBUG -O varputg.c
>cc -O -c -I../libsrc -DNDEBUG -O vardef.c
>cc -O -c -I../libsrc -DNDEBUG -O vartests.c
>cc -O -c -I../libsrc -DNDEBUG -O vputget.c
>cc -O -c -I../libsrc -DNDEBUG -O vputgetg.c
>cc -O -c -I../libsrc -DNDEBUG -O driver.c
>cc -O -c -I../libsrc -DNDEBUG -O cdftests.c
>cc -O -c -I../libsrc -DNDEBUG -O dimtests.c
>cc -O -c -I../libsrc -DNDEBUG -O rec.c
>cc -O -c -I../libsrc -DNDEBUG -O atttests.c
>cc -O -c -I../libsrc -DNDEBUG -O misctest.c
>cc -O -c -I../libsrc -DNDEBUG -O add.c
>cc -O -c -I../libsrc -DNDEBUG -O error.c
>cc -O -c -I../libsrc -DNDEBUG -O val.c
>cc -O -c -I../libsrc -DNDEBUG -O slabs.c
>cc -O -O varget.o vargetg.o varput.o varputg.o vardef.o vartests.o vputget.o v
> putgetg.o driver.o cdftests.o dimtests.o rec.o atttests.o misctest.o add.o er
> ror.o emalloc.o val.o slabs.o ../libsrc/libnetcdf.a -o nctest
>./nctest
>*** Testing nccreate ...       ok ***
>*** Testing ncopen ...         ok ***
>*** Testing ncredef ...                ok ***
>*** Testing ncendef ...                ok ***
>*** Testing ncclose ...                ok ***
>*** Testing ncinquire ...      ok ***
>*** Testing ncsync ...         ok ***
>*** Testing ncabort ...                ok ***
>*** Testing ncdimdef ...       ok ***
>*** Testing ncdimid ...                ok ***
>*** Testing ncdiminq ...       ok ***
>*** Testing ncdimrename ...    ok ***
>*** Testing ncvardef ...       ok ***
>*** Testing ncvarid ...                ok ***
>*** Testing ncvarinq ...       ok ***
>*** Testing ncvarput1 ...      ok ***
>*** Testing ncvarget1 ...      ok ***
>*** Testing ncvarput ...       ok ***
>*** Testing ncvarget ...       ok ***
>*** Testing ncvarputg ...      ok ***
>*** Testing ncvargetg ...      ok ***
>*** Testing ncrecinq ...       ok ***
>*** Testing ncrecput ...       ok ***
>*** Testing ncrecget ...       ok ***
>*** Testing ncvarrename ...    ok ***
>*** Testing ncattput ...       ok ***
>*** Testing ncattinq ...       ok ***
>*** Testing ncattget ...       ok ***
>*** Testing ncattcopy ...      ok ***
>*** Testing ncattname ...      ok ***
>*** Testing ncattrename ...    ok ***
>*** Testing ncattdel ...       ok ***
>*** Testing nctypelen ...      ok ***
>
>returning to directory /usr/local/gmt/netcdf-2.3.2
>
>
>making `test' in directory /usr/local/gmt/netcdf-2.3.2/fortran
>
>Make:  Don't know how to make nextos.  Stop.
>*** Exit 1
>Stop.
>*** Exit 1
>Stop.

The problem here is that your operating system is identifying itself as
nextos.  The M4 macro defined in the fortran subdirectory is named next.m4.
If you:

cp next.m4 nextos.m4

and then rerun

make test

it should continue past this point.

>From address@hidden Fri Jun 24 07: 44:49 1994
re: copying next.m4 to nextos.m4
>Thanks for your help. I figured this out anyway and my installation is up and
>running. Again, thanks for your help.

Tom Yoksas