Hi,
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
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
main.c: In function 'main':
main.c:85: error: 'PACKAGE' undeclared (first use in this function)
main.c:85: error: (Each undeclared identifier is reported only once
main.c:85: error: for each function it appears in.)
Thank you in advanced,
Hrach
On 1/21/12 11:03 PM, Martin Landa wrote:
Hi,
2012/1/21 Hrachya Astsatryan<hr...@sci.am>:
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?
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] http://trac.osgeo.org/grass/wiki/BuildingOnUnix
[2]
http://svn.osgeo.org/grass/grass/tags/release_20110412_grass_6_4_1/include/Make/
--
Hrachya Astsatryan
Head of HPC Laboratory,
Institute for Informatics and Automation Problems,
National Academy of Sciences of the Republic of Armenia
1, P. Sevak str., Yerevan 0014, Armenia
t: 374 10 284780
f: 374 10 285812
e: hr...@sci.am
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user