<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
Juts now I installed CVN binary in the
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-21_01_2012, but
when I compile i get the follwoing error<br>
<br>
gcc
-L/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-21_01_2012/lib
-I/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-21_01_2012/include/grass/
0o main main.c<br>
main.c: In function ‘main’:<br>
main.c:85: error: ‘PACKAGE’ undeclared (first use in this function)<br>
main.c:85: error: (Each undeclared identifier is reported only once<br>
main.c:85: error: for each function it appears in.)<br>
<br>
Thank you in advanced,<br>
Hrach<br>
<br>
On 1/21/12 11:03 PM, Martin Landa wrote:
<blockquote
cite="mid:CA+Ei1OfnPskhmkY0rRJ=EAUV3Ro4Z7hfx1cfRHDs6RNhLuOuWg@mail.gmail.com"
type="cite">
<pre wrap="">Hi,
2012/1/21 Hrachya Astsatryan <a class="moz-txt-link-rfc2396E" href="mailto:hrach@sci.am"><hrach@sci.am></a>:
</pre>
<blockquote type="cite">
<pre wrap="">I have installed successfully the Grass via elgis.repo (see below)
[root@wn1 grass-6.4.1]# yum list|grep grass|more
grass.x86_64 6.4.1-2.el5.elgis
installed
grass-devel.x86_64 6.4.1-2.el5.elgis
installed
grass-libs.x86_64 6.4.1-2.el5.elgis
installed
So What should I do else?
</pre>
</blockquote>
<pre wrap="">
well, GRASS 6.4.2 has been released yet, you could try to compile
GRASS [1] on your own or to wait for 6.4.2 release. Quick solution
could be to copy `Make` directory from SVN [2] to your `include`
directory. Anyway `grass-devel` seems to be incomplete in this repo.
Martin
[1] <a class="moz-txt-link-freetext" href="http://trac.osgeo.org/grass/wiki/BuildingOnUnix">http://trac.osgeo.org/grass/wiki/BuildingOnUnix</a>
[2] <a class="moz-txt-link-freetext" href="http://svn.osgeo.org/grass/grass/tags/release_20110412_grass_6_4_1/include/Make/">http://svn.osgeo.org/grass/grass/tags/release_20110412_grass_6_4_1/include/Make/</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<font color="#666666">
Hrachya Astsatryan <br>
Head of HPC Laboratory,<br>
Institute for Informatics and Automation Problems,<br>
National Academy of Sciences of the Republic of Armenia<br>
1, P. Sevak str., Yerevan 0014, Armenia<br>
t: 374 10 284780<br>
f: 374 10 285812<br>
e: <a class="moz-txt-link-abbreviated" href="mailto:hrach@sci.am">hrach@sci.am</a> </font></div>
</body>
</html>