<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>On Feb 8, 2010, at 8:58 AM, &lt;<a href="mailto:martin.juckes@stfc.ac.uk">martin.juckes@stfc.ac.uk</a>&gt; &lt;<a href="mailto:martin.juckes@stfc.ac.uk">martin.juckes@stfc.ac.uk</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <div class="Section1"><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">Hello,<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">I am trying to install ncl on my laptop, which has an i686 chip and a ubuntu 9.1 system, with gcc 4.4.1<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">I tried both a binary and a self install of ncl, but neither worked. For the binary, this was perhaps to be expected as I have a different version of gcc to that specified.</span></font></p></div></blockquote><div><br></div>Hi Martin,</div><div><br></div><div>Exactly which binary did you download? It will be much easier for you if we can find a binary that works, instead of trying to build from source code.</div><div><br></div><div><br></div><div>--Mary</div><div><br><blockquote type="cite"><div class="Section1"><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt"><o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">When I try to execute bin/ezmapdemo I get this response:<o:p></o:p></span></font></p><p class="MsoNormal"><i><font size="2" face="Calibri"><span lang="EN-US" style="font-size:11.0pt;font-style:italic">bin/ezmapdemo: error while loading shared libraries: libgfortran.so.1: cannot open shared object file: No such file or directory<o:p></o:p></span></font></i></p><p class="MsoNormal"><i><font size="2" face="Calibri"><span lang="EN-US" style="font-size:11.0pt;font-style:italic"><o:p>&nbsp;</o:p></span></font></i></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">Turning to the self install, after configuration I run make all install &gt;&amp; make-output <o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">The first error I can find in make-output is the following:<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">Making ./ni/src/lib/nio<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">make[5]: Entering directory `/data/u10/fwsrc/ncl/ncl_ncarg-5.1.1/ni/src/lib/nio'<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">created NclTypedouble.c<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">gcc -ansi -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O&nbsp; -I../../../.././include -I/usr/include/X11&nbsp; -DLinux -DMAJOR=2 -DUSE_NETCDF4&nbsp;&nbsp;&nbsp;&nbsp; -DNIO_LIB_ONLY&nbsp; -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto&nbsp;&nbsp;&nbsp; -c -o NclTypedouble.o NclTypedouble.c<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">NclTypedouble.c:24:27: error: NclTypedouble.h: No such file or directory<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">NclTypedouble.c:48:28: error: NclTypelogical.h: No such file or directory<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">NclTypedouble.c:49:26: error: NclTypefloat.h: No such file or directory<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">In file included from cmpf.h:26,<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from NclTypedouble.c:52:<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">niohlu.h:28:18: error: nioc.h: No such file or directory<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">NclTypedouble.c:86: error: expected declaration specifiers or ‘...’ before ‘NclScalar’<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">NclTypedouble.c:86: error: expected declaration specifiers or ‘...’ before ‘NclScalar’<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">NclTypedouble.c:86: error: expected declaration specifiers or ‘...’ before ‘NclTypeClass’<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">[end of included output]<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">Some of these include files are in the distribution, just not in the path of this particular compile statement, but I cannot find the nioc.h file anywhere.<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">The full make-output file is 1.4Mb, but I can send it if that is helpful,<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">Sincerely,<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span lang="EN-US" style="font-size: 11.0pt">Martin Juckes<o:p></o:p></span></font></p> </div> <br><p>-- <br>Scanned by iCritical. </p> <br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ncl-install mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">List instructions, subscriber options, unsubscribe:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a></div> </blockquote></div><br></body></html>