[ncl-install] Some corrections to NCL installation troubleshooting
Mary Haley
haley at ucar.edu
Fri Aug 1 15:57:41 MDT 2008
Hi Jan,
Thanks for pointing out these inaccuracies. The HDF one has me a
little puzzled, because in our current versions of NclHDF.c and
NclHDFEOS.c, we are not including netcdf.h in any fashion. I imagine
there are some changes needed, like to another *.h file. I'll try to
track this down.
As for the "wrapit.c" problem: when you copied it to
$NCARG/ni/src/mkwrap, did it have an older date than the other files
in that directory? I think that might have caused it not to rebuild
correctly. Still, it's a good idea for us to add to those instructions
that a "make clean" should be done first.
--Mary
On Fri, 1 Aug 2008, Jan Ploski wrote:
> Hello,
>
> Today I had to install NCL 5.0.0 from source again. I took it as an
> opportunity to test the workarounds described here:
> http://www.ncl.ucar.edu/Download/build_from_src.shtml
>
> I noticed some inaccuracies, explained below.
>
> 1) The workaround described in the following paragraph is insufficient:
>
>> then you need to edit the two files:
>> $NCARG/ni/src/ncl/NclHDF.c
>> $NCARG/ni/src/ncl/NclHDFEOS.c
>> and remove the line:
>> #include <hdf/netcdf.h>
>
> Besides of removing the said #include lines, I had to add #include<netcdf.h>
> at the very beginning of the includes list in both source files. (It didn't
> work when I put it at the same line where hdf/netcdf.h used to be.)
>
> 2) The workaround with downloading wrapit.c turned out to be insufficient,
> too. I had first to "rm *.o y.tab.* lex.yy.*" in the ni/src/mkwrap, then
> download your version of wrapit.c, and finally recompile as suggested.
> Without the first cleanup step I was getting this new error:
>
> wrapit.o(.text+0x22): In function `FType':
> : multiple definition of `FType'
>
> Regards,
> Jan Ploski
> _______________________________________________
> ncl-install mailing list
> ncl-install at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
More information about the ncl-install
mailing list