<div class="gmail_quote">On Sun, Feb 24, 2008 at 5:24 AM, Patrice Dumas <<a href="mailto:pertusus@free.fr">pertusus@free.fr</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">On Sun, Feb 24, 2008 at 10:44:02AM +0200, Steven Weiss wrote:<br>
> Hi Arlindo,<br>
><br>
> OK, udunits did not compile as you suggested. I get the following error below using make make-3.81-66. Any ideas? I'm not that great with Makefiles.<br>
><br>
</div><div class="Ih2E3d">> Makefile:605: *** target pattern contains no `%'. Stop.<br>
> make[2]: Leaving directory `/home/wavescape/grads-1.9.0-rc1/supplibs/src/udunits<br>
<br>
</div>That's a bit strange. </blockquote><div><br class="webkit-block-placeholder"></div><div>Agreed, I see no "%" at all in my Makefile, not sure what automake is doing on SuSe.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
If there is a udunits package on suse, you could<br>
check what patch it has in it. I have just checked the fedora one, there<br>
are some patches, none seems relevant here. Also maybe Arlindo did<br>
already some changes. I attach the 2 patches for reference.<br></blockquote><div><br class="webkit-block-placeholder"></div><div>I haven't applied these particular patches but I managed to cope with the issues they are trying to address. For example, the cfortran issue was addressed from the top GNUmakefile with the CPPFLAGS, while the perl issue was dealt with by not building the perl interface (which we do not need). The 64-bit patch does not seem relevant as we are not installing to the system tree. As much as I can I try not to patch the sources.</div>
<div><br class="webkit-block-placeholder"></div><div>The only patch I made was this one, otherwise I am using plain vanilla udunits v1.12.4:</div><div><br class="webkit-block-placeholder"></div><div><div>===================================================================</div>
<div>RCS file: /cvsroot/opengrads/supplibs/src/udunits/lib/utlib.c,v</div><div>retrieving revision <a href="http://1.1.1.1">1.1.1.1</a></div><div>retrieving revision 1.2</div><div>diff -r1.1.1.1 -r1.2</div><div>2c2</div><div>
< * $Id: utlib.c,v <a href="http://1.1.1.1">1.1.1.1</a> 2007/08/24 15:07:38 dasilva Exp $</div><div>---</div><div>> * $Id: utlib.c,v 1.2 2007/08/25 19:28:06 dasilva Exp $</div><div>1114c1114,1115</div><div>< path = getenv("UDUNITS_PATH");</div>
<div>---</div><div>> /*ams path = getenv("UDUNITS_PATH"); ams*/</div><div>> path = getenv("GADDIR");</div><div><br class="webkit-block-placeholder"></div></div><div> Arlindo</div>
<div><br></div></div><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>