[GRASS-user] cvs - error Ubuntu 7.10

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Tue Nov 20 10:39:25 EST 2007


Hi Christine!

I really don't know how to help with this errors. 

However,

a. Why don't sudo apt-get install grass (GRASS 6.2 is in the Gutsy
repositories)


or

b.Why don't you try to re-compile GRASS from source (?).
----------------------------------------------------------------

. Decide where you want to put your grass source code

e.g. /usr/local/src

Go there and create a directory (e.g. GRASS63)

* Give the appropriate rights... "sudo chown yourloginid:yourloginid
/usr/local/src/GRASS63" and "sudo chmod a+rx GRASS63/"

. Download the source code via cvs
 [ You need cvs tool -- install with "sudo apt-get install cvs" ]

* Before trying to compile the source code, check the pre-requisities &
configure. There is a script (written for Ubuntu 6.06 -- link is below ) in
which  all necessary steps are described. 

. Download and check it out "less makegrass.sh"

Hope this helps.
---

http://grass.gdf-hannover.de/wiki/Compile_and_Install#Ubuntu_6.06

Christine Sandmeier wrote:
> 
> Hello
> 
> I upgraded from Ubuntu 6.06 to 7.10 and since then I got 
> 
> 
> child process exited abnormally
> Error in startup script: can't read "parts(w)": no such variable
>     while executing
> "set $parts(w) [expr round($parts(w)/$parts(ewres))*$parts(ewres)]"
>     (procedure "MapCanvas::zoom_gregion" line 16)
>     invoked from within
> "MapCanvas::zoom_gregion $mon"
>     (procedure "MapCanvas::create" line 40)
>     invoked from within
> "MapCanvas::create"
>     (procedure "Gm::startmon" line 11)
>     invoked from within
> "Gm::startmon"
>     (procedure "Gm::create" line 79)
>     invoked from within
> "Gm::create"
>     (procedure "main" line 30)
>     invoked from within
> "main $argc $argv"
>     (file "/usr/local/grass-6.3.cvs/etc/gm/gm.tcl" line 640)
> 
> when I tried to enter location mapset.
> 
> Then I updated my grass cvs and got following errors:
> 
> 
> Started compilation: Di 20. Nov 16:10:14 CET 2007
> --
> Errors in:
> /home/chrischne/grass6/lib/form
> /home/chrischne/grass6/vector/v.digit
> 
> 
> root at Iggel:~/grass6# cd lib/form/
> root at Iggel:~/grass6/lib/form# make
> gcc -L/home/chrischne/grass6/dist.i686-pc-linux-gnu/lib
> -Wl,--export-dynamic
> -Wl,-rpath-link,/home/chrischne/grass6/dist.i686-pc-linux-gnu/lib    -o
> /home/chrischne/grass6/dist.i686-pc-linux-gnu/etc/form/form
> OBJ.i686-pc-linux-gnu/form.o -lgrass_dbmiclient -lgrass_dbmibase
> -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz     
> -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz       -lgrass_gis
> -lgrass_datetime -lz     -lgrass_datetime \
>                                  -ltk8.4 -lm  -ltcl8.4 -lm -lm  -lz
> OBJ.i686-pc-linux-gnu/form.o: In function `main':
> /home/chrischne/grass6/lib/form/form.c:296: undefined reference to
> `Tk_Main'
> collect2: ld gab 1 als Ende-Status zurück
> make: *** [/home/chrischne/grass6/dist.i686-pc-linux-gnu/etc/form/form]
> Fehler 1
> root at Iggel:~/grass6/lib/form#  
> 
> 
> How do I solve these problems to get grass running again?
> 
> Thanks in advance
> Christine
> -- 
> Psssst! Schon vom neuen GMX MultiMessenger gehört?
> Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
> 
> 

-- 
View this message in context: http://www.nabble.com/cvs---error-Ubuntu-7.10-tf4844145.html#a13859371
Sent from the Grass - Users mailing list archive at Nabble.com.



More information about the grass-user mailing list