<div class="gmail_quote">On Feb 20, 2008 4:17 AM, Paolo Ciraci <<a href="mailto:info@paolociraci.it">info@paolociraci.it</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Thank you very much Arlindo, your FreeBSD binary worked fine (FreeBSD<br>6.1 and 6.3).<br><br>Anyway I'd like to "discover" why I can't compile it myself. I've tried<br>
to use your GNUmakefile in standard wgrib2 directory but it does not<br>work.</blockquote>
<div> </div>
<div>Did you download the supplibs-2.0.1 and followed instructions in the INSTALL file? </div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span id=""></span>Then I tried to replace your sources in wgrib2 directory and it<br>does not work (a lot of errors). I think I can't mix the standard wgrib2<br>
distribution and OGA distribution, correct? </blockquote>
<div> </div>
<div>I shouldn't be a problem provided you specify the location of the supplibs explicitly:</div>
<div> </div>
<div>gmake SUPPLIBS=/some/path</div>
<div> </div>
<div>The main point is: it does not use the grib2lib, png, etc bundled with the standard wgrib2 distro. </div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span id=""></span>Moreover I have gcc version<br>3.4.6 on the FreeBSD 6.1 testing machine, is it a problem?<br>
</blockquote>
<div> </div>
<div>This should not be a problem. The particular version of gcc becomes more of an issue when dealing with C++ code (such as OPeNDAP in gradsdap/gradsdods).</div>
<div> </div>
<div>BTW, we just completed the first "configure" script for wgrib2. We are still testing it and will be submitting to Wes for possible adoption.</div>
<div> </div>
<div> Arlindo</div>
<div><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a> </div></div>