<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="Arial">Hi Eva,</font><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">It looks like maybe your NetCDF wasn't built with NetCDF 4 classic support turned on.</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">What I recommend is downloading the latest NetCDF 4.1.x version (not 4.0.x), and following the instructions at:</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial"><a href="http://www.ncl.ucar.edu/Download/build_from_src.shtml#NetCDF">http://www.ncl.ucar.edu/Download/build_from_src.shtml#NetCDF</a></font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">It is important to follow the "</font><span class="Apple-style-span" style="line-height: 16px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><font class="Apple-style-span" face="Arial">With classic NetCDF-4 support, with OPeNDAP support" instructions, and make sure you include --enable-netcdf-4 on the compile line.</font></span></span></div><div><span class="Apple-style-span" style="line-height: 16px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><font class="Apple-style-span" face="Arial"><br></font></span></span></div><div><span class="Apple-style-span" style="line-height: 16px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><font class="Apple-style-span" face="Arial">--Mary</font></span></span></div><div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: verdana, sans-serif; font-size: 13px; line-height: 16px; "><b style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br></b></span></div><div><div><div>On Sep 30, 2010, at 7:13 PM, Evi Becerra wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br>Hello all.<br><br>I am trying to install NCL-V.5.2.1, I followed the guide that is available in the web page "How to build NCL".<br>My Linux version is Ubuntu 10 and my PC is AMD64 Dual Core.<br>I installed almost all the packages and only two packages were not installed: Vis5D+ and GDAL/PROJ.4.<br>
The NETCDF-V.4.0.1 and the step 3. With "classic" NetCDF-4 support, with OPeNDAP support.<div class="im">After many times to install it my installation was not successful and I got these errors.<br><div>&nbsp;</div></div>

<br><div><span id="q_12b63d2f997523c0_5" class="h4">- Masquer le texte des messages précédents -</span></div>make[4]: Entering directory `/usr/local/src/ncl_ncarg-5.2.1/ni/src/lib/nio'<br>
gcc -ansi -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O&nbsp; 
-I../../../.././include -I/usr/include/X11 -I/usr/include/X11/extensions
 -I/usr/local/include/cairo -I/usr/local/include/jasper 
-I/usr/local/include/freetype2 -I/usr/local/include/fontconfig 
-I/usr/local/include/curl -I/usr/local/include/hdf 
-I/usr/local/include/X11 -I/usr/local/include/libpng14 
-I/usr/local/include/ -I/usr/local/include/X11/extensions&nbsp; -DLinux 
-DMAJOR=2 -DUSE_NETCDF4 -DBuildHDFEOS&nbsp; -DBuildHDFEOS5&nbsp; -DBuildGRIB2&nbsp;&nbsp;&nbsp; 
-DNIO_LIB_ONLY&nbsp;&nbsp; -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped 
-DNeedFuncProto&nbsp;&nbsp;&nbsp; -c -o NclNetCdf.o NclNetCdf.c<br>

NclNetCdf.c: In function ‘NetCreateFile’:<br>NclNetCdf.c:763: error: ‘NC_64BIT_OFFSET’ undeclared (first use in this function)<br>NclNetCdf.c:763: error: (Each undeclared identifier is reported only once<br>NclNetCdf.c:763: error: for each function it appears in.)<br>


NclNetCdf.c:769: error: ‘NC_NETCDF4’ undeclared (first use in this function)<br>NclNetCdf.c:769: error: ‘NC_CLASSIC_MODEL’ undeclared (first use in this function)<br>make[4]: *** [NclNetCdf.o] Error 1<br>make[4]: Leaving directory `/usr/local/src/ncl_ncarg-5.2.1/ni/src/lib/nio'<br>


make[3]: Leaving directory `/usr/local/src/ncl_ncarg-5.2.1/ni/src/lib'<br>Making ./ni/src/ncl<br>make[4]: Entering directory `/usr/local/src/ncl_ncarg-5.2.1/ni/src/lib/nio'<br>gcc
 -ansi -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O&nbsp; 
-I../../../.././include -I/usr/include/X11 -I/usr/include/X11/extensions
 -I/usr/local/include/cairo -I/usr/local/include/jasper 
-I/usr/local/include/freetype2 -I/usr/local/include/fontconfig 
-I/usr/local/include/curl -I/usr/local/include/hdf 
-I/usr/local/include/X11 -I/usr/local/include/libpng14 
-I/usr/local/include/ -I/usr/local/include/X11/extensions&nbsp; -DLinux 
-DMAJOR=2 -DUSE_NETCDF4 -DBuildHDFEOS&nbsp; -DBuildHDFEOS5&nbsp; -DBuildGRIB2&nbsp;&nbsp;&nbsp; 
-DNIO_LIB_ONLY&nbsp;&nbsp; -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped 
-DNeedFuncProto&nbsp;&nbsp;&nbsp; -c -o NclNetCdf.o NclNetCdf.c<br>

NclNetCdf.c: In function ‘NetCreateFile’:<br>NclNetCdf.c:763: error: ‘NC_64BIT_OFFSET’ undeclared (first use in this function)<br>NclNetCdf.c:763: error: (Each undeclared identifier is reported only once<br>NclNetCdf.c:763: error: for each function it appears in.)<br>


NclNetCdf.c:769: error: ‘NC_NETCDF4’ undeclared (first use in this function)<br>NclNetCdf.c:769: error: ‘NC_CLASSIC_MODEL’ undeclared (first use in this function)<br>make[4]: *** [NclNetCdf.o] Error 1<br>make[4]: Leaving directory `/usr/local/src/ncl_ncarg-5.2.1/ni/src/lib/nio'<br>


make[3]: Leaving directory `/usr/local/src/ncl_ncarg-5.2.1/ni/src/lib'<br>Making ./ni/src/ncl<br>make[3]: Entering directory `/usr/local/src/ncl_ncarg-5.2.1/ni/src/ncl'<br>gcc
 -ansi -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-I/usr/local/include -O&nbsp; -I../../.././include -I/usr/include/X11 
-I/usr/include/X11/extensions -I/usr/local/include/cairo 
-I/usr/local/include/jasper -I/usr/local/include/freetype2 
-I/usr/local/include/fontconfig -I/usr/local/include/curl 
-I/usr/local/include/hdf -I/usr/local/include/X11 
-I/usr/local/include/libpng14 -I/usr/local/include/ 
-I/usr/local/include/X11/extensions&nbsp; -DLinux -DMAJOR=2 
-DUSE_NETCDF4 -DBuildHDFEOS&nbsp; -DBuildHDFEOS5&nbsp; -DBuildGRIB2&nbsp;&nbsp;&nbsp;&nbsp; -DSYSV 
-D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto&nbsp;&nbsp;&nbsp; -c -o 
NclNetCdf.o NclNetCdf.c<br>

NclNetCdf.c: In function ‘NetCreateFile’:<br>NclNetCdf.c:763: error: ‘NC_64BIT_OFFSET’ undeclared (first use in this function)<br>NclNetCdf.c:763: error: (Each undeclared identifier is reported only once<br>NclNetCdf.c:763: error: for each function it appears in.)<br>


NclNetCdf.c:769: error: ‘NC_NETCDF4’ undeclared (first use in this function)<br>NclNetCdf.c:769: error: ‘NC_CLASSIC_MODEL’ undeclared (first use in this function)<br>make[3]: *** [NclNetCdf.o] Error 1<br><br>I checked the binaries list and only two are missing: bin/MakeNcl and bin/ncl.<br>


<br>Could you help me please I do not understand what I did wrong.<br><br>Thanks so much.<br><font color="#888888"><br>Evi Becerra<br>Western Kentucky University. </font>
_______________________________________________<br>ncl-install mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br></blockquote></div><br></div></body></html>