<div dir="ltr"><div><div><div><div><div>Group,<br></div>I need your help after all to compile the example code provided "r.example".  In the Makefile, i defined MODULE_TOPDIR to point to the location where Module.make is stored. However, when I key in "make Makefile" (from the directory where main.c Makefile and r.example.html are located) the response was<br></div>make: Nothing to be done for 'Makefile'<br><br></div>Any help to compile r.example and run it under GRASS is appreciated.<br><br></div>Regards,<br><br></div>Alassane<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 6, 2015 at 7:35 PM, alassane toure <span dir="ltr"><<a href="mailto:atourej@gmail.com" target="_blank">atourej@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Thank you all for your help.  The compilation went through without any error!<br></div>Now I need to compile an example program.  I hope your help will not be necessary.<br><br></div>My regards,<br></div>Alassane<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 6, 2015 at 3:39 PM, Blumentrath, Stefan <span dir="ltr"><<a href="mailto:Stefan.Blumentrath@nina.no" target="_blank">Stefan.Blumentrath@nina.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="NO-BOK">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hei Alassane,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US">As a general strategy, when I get this kind of compilation errors I use the locate command in order to find the file ./configure
 is searching for in this case:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US">locate ft2build.h<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US">It will print the folder where this file can be found on your system (if the relevant module/package is installed), so
 you can point ./configure to that, like Eric showed. If locate does not find the required file either, you are missing the module/package and have to install it in order to meet the dependencies.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US">Cheers<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US">Stefan<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> <a href="mailto:grass-user-bounces@lists.osgeo.org" target="_blank">grass-user-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:grass-user-bounces@lists.osgeo.org" target="_blank">grass-user-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>alassane toure<br>
<b>Sent:</b> 6. mai 2015 18:07<br>
<b>To:</b> Vaclav Petras<br>
<b>Cc:</b> GRASS user list<br>
<b>Subject:</b> Re: [GRASS-user] grass program compilation<u></u><u></u></span></p><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Correct!  Configure did fail ....unable to locate FreeType includes.<br>
<br>
checking for location of FreeType includes... <br>
checking for ft2build.h... no<br>
configure: error: *** Unable to locate FreeType includes.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Any suggestions from this point?  Thanks!<u></u><u></u></p>
</div>
<p class="MsoNormal">Alassane<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, May 6, 2015 at 9:59 AM, Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
On Wed, May 6, 2015 at 11:53 AM, alassane toure <<a href="mailto:atourej@gmail.com" target="_blank">atourej@gmail.com</a>> wrote:<br>
><br>
> Group,<br>
> I am still not making any progress compiling Grass70 on Ubuntu.  Here is where i am at:<br>
> 1. able to run configure without any problem (with your help);<br>
> 2. unable to compile using the following commands:<br>
> make -j2  &&  sudo make install  &&  sudo ldconfig<br>
><br>
> And the system response was ....<br>
><br>
> include/Make/Vars.make:1: include/Make/Platform.make: No such file or directory<br>
> make: *** No rule to make target `include/Make/Platform.make'.  Stop.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">What was the output of configure? Perhaps it fails. Make cannot find a makefile which should be generated by configure.<u></u><u></u></p>
</div>
<p class="MsoNormal">Note that for running make, you need to be in the directory with the source code (as needed for configure).<u></u><u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><br>
> Your help is appreciated.<br>
><br>
> Alassane<br>
><br>
> On Tue, May 5, 2015 at 2:13 PM, alassane toure <<a href="mailto:atourej@gmail.com" target="_blank">atourej@gmail.com</a>> wrote:<br>
>><br>
>> Great! ./configure worked!   However compilation and installation did not.<br>
>><br>
>> I run the following command:<br>
>> make -j2  &&  sudo make install  &&  sudo ldconfig<br>
>><br>
>> and the system response was:<br>
>> include/Make/Vars.make:1: include/Make/Platform.make: No such file or directory<br>
>> make: *** No rule to make target `include/Make/Platform.make'.  Stop.<br>
>><br>
>> I appreciate your comments/suggestions.<br>
>><br>
>> Alassane<br>
>><br>
>><br>
>> On Tue, May 5, 2015 at 2:03 PM, Markus Neteler <<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>> wrote:<br>
>>><br>
>>> On Tue, May 5, 2015 at 9:59 PM, alassane toure <<a href="mailto:atourej@gmail.com" target="_blank">atourej@gmail.com</a>> wrote:<br>
>>> > Great! ./configure worked!<br>
>>><br>
>>> great!<br>
>>><br>
>>> > However compilation and installation did not.<br>
>>> > I run the following command:<br>
>>> > make -j2  &&  sudo make install  &&  sudo ldconfig<br>
>>> ><br>
>>> > and the system response was:<br>
>>> > include/Make/Vars.make:1: include/Make/Platform.make: No such file or<br>
>>> > directory<br>
>>> > make: *** No rule to make target `include/Make/Platform.make'.  Stop.<br>
>>> ><br>
>>> > I appreciate your comments/suggestions.<br>
>>><br>
>>> please send it to the list, I am on Fedora...<br>
>>><br>
>>> Markus<br>
>><br>
>><br>
><br>
><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">> _______________________________________________<br>
> grass-user mailing list<br>
> <a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><u></u><u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>

</blockquote></div><br></div>
</div></div></blockquote></div><br></div>