<div class="gmail_quote">On Sun, Feb 24, 2008 at 5:24 AM, Patrice Dumas &lt;<a href="mailto:pertusus@free.fr">pertusus@free.fr</a>&gt; 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>
&gt; Hi Arlindo,<br>
&gt;<br>
&gt; OK, udunits did not compile as you suggested. I get the following error below using make make-3.81-66. Any ideas? I&#39;m not that great with Makefiles.<br>
&gt;<br>
</div><div class="Ih2E3d">&gt; Makefile:605: *** target pattern contains no `%&#39;. &nbsp;Stop.<br>
&gt; make[2]: Leaving directory `/home/wavescape/grads-1.9.0-rc1/supplibs/src/udunits<br>
<br>
</div>That&#39;s a bit strange. </blockquote><div><br class="webkit-block-placeholder"></div><div>Agreed, I see no &quot;%&quot; at all in my Makefile, not sure what automake is doing on SuSe.</div><div>&nbsp;</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&#39;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>
&lt; &nbsp;* $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>&gt; &nbsp;* $Id: utlib.c,v 1.2 2007/08/25 19:28:06 dasilva Exp $</div><div>1114c1114,1115</div><div>&lt; &nbsp; &nbsp; &nbsp; &nbsp; path &nbsp; &nbsp;= getenv(&quot;UDUNITS_PATH&quot;);</div>
<div>---</div><div>&gt; &nbsp; &nbsp; &nbsp; /*ams &nbsp;path &nbsp; &nbsp;= getenv(&quot;UDUNITS_PATH&quot;); ams*/</div><div>&gt; &nbsp; &nbsp; &nbsp; &nbsp; path &nbsp; &nbsp;= getenv(&quot;GADDIR&quot;);</div><div><br class="webkit-block-placeholder"></div></div><div>&nbsp;&nbsp; &nbsp;Arlindo</div>
<div><br></div></div><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>