NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.


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

Re: problems building netcdf-2.4.3 with the netcdf-3 C library.



> Well, I gave it a try, first on my SGI...
>                                    ^^^
> Following the directions for integrating with version 2.4.3, went back to
> the 2.4.3 tree....
>
>   cd ../../netcdf-2.4.3/src
>   make clean
>   mv libsrc libsrc-ORIG
>   ln -s ../../netcdf-3.1a/src/libsrc .
>
>   make test > & ! make_test.log &
>   tail -f make_test.log
>
> This bombed with:
>   making `test' in directory
/local/home/unidata.ucar.edu/pub/netcdf/netcdf-2.4.3/src/fortran
>
>           ./fortc -L . -O irix5 jackets.src > jackets.c
>           cc -c -O -I../libsrc -DDEBUG jackets.c
>   cfe: Error: jackets.c: 23: Cannot open file local_nc.h for #include
>   *** Error code 1 (bu21)
>   *** Error code 1 (bu21)
>

Sorry. This is an error in the instructions.
We need to have you preserve jackets.o from the 2.4.3 build before you
do a 'make clean' in the 2.4.3 tree, or provide a different (never released)
jackets source that does not depend on the private include file.

I just did a build on an SGI without 'make clean' in the 2.4.3 tree.
I manually deleted fortran/ftest, ncgen/ncgen and ncdump/ncdump, and then
did a 'make' to relink using the 3.1a library.

-glenn