<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head><meta http-equiv="Content-Type" content="text/html;">
<title>Scalix message content</title>
<style type="text/css">
<!--
.Normal {  text-align: left; text-indent:0pt; margin-top:0pt; margin-bottom:0pt; font-family: Arial; font-size: 12pt; }
.Default_Paragraph_Font {font-family: Arial; color: Black; background-color: white ; font-size: 12pt; font-weight: normal;  font-style: normal; font-variant: normal; vertical-align: normal; text-decoration: none;}
div.ltTOCtitle { font-family: Verdana; font-size: 8pt; font-weight: bold; text-align: center;}
div.ltTOCl1 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:32pt; text-indent:-32pt;}
div.ltTOCl2 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:40pt; text-indent:-32pt;}
div.ltTOCl3 {  font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:48pt; text-indent:-32pt;}
div.ltTOCl4 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:56pt; text-indent:-32pt;}
div.ltTOCl5 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:64pt; text-indent:-32pt;}
div.ltTOCl6 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:72pt; text-indent:-32pt;}
-->
</style>
</head>

<body>
<div class="Normal"><span style='font-size: 10pt; '>Hallo Martin</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Wenn Du im Modul v.overlay
etwas ge&auml;ndert hast kompiliere doch den gesamten GRASS source neu. Was
passiert dann. Eigentlich m&uuml;sste das aus meiner Sicht zum Erfolg
f&uuml;hren.</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Gruss</span><br><span style='font-size: 10pt; '>Horst</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>------------------------------------------------</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Dr. Horst
D&uuml;ster</span><br><span style='font-size: 10pt; '>Stv. Amtschef /
GIS-Koordinator </span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Kanton
Solothurn</span><br><span style='font-size: 10pt; '>Bau- und
Justizdepartement</span><br><span style='font-size: 10pt; '>Amt f&uuml;r
Geoinformation</span><br><span style='font-size: 10pt; '>SO!GIS
Koordination</span><br><span style='font-size: 10pt; '>R&ouml;tistrasse
4</span><br><span style='font-size: 10pt; '>CH-4501 Solothurn</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Telefon ++41(0)32 627 25
32</span><br><span style='font-size: 10pt; '>Mobil   ++41(0)79 511 54
12</span><br><span style='font-size: 10pt; '>Telefax ++41(0)32 627 22
14</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>mailto:horst.duester@bd.so.ch</span><br><span style='font-size: 10pt; '>http://www.agi.so.ch</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>-----Urspr&uuml;ngliche
Nachricht-----</span><br><span style='font-size: 10pt; '>Von: Martin Schweizer
[mailto:schweizermartin@students.unibe.ch]</span><br><span style='font-size: 10pt; '>Gesendet
am: Dienstag, 26. Januar 2010
19:26</span><br><span style='font-size: 10pt; '>An: Grass-de
Mailingliste</span><br><span style='font-size: 10pt; '>Betreff: [Fossgis-talk]
Modul installieren</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Hallo
allerseits</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Ich habe da ein kleines
Problem. Ich habe beim Modul v.overlay in main.c etwas
</span><br><span style='font-size: 10pt; '>abge&auml;ndert und m&ouml;chte das
jetzt nat&uuml;rlich kompilieren und ausprobieren. Leider
</span><br><span style='font-size: 10pt; '>ist das aber nicht so einfach wie
gedacht. Quellcode ist "grass-6.4.0RC5" und
</span><br><span style='font-size: 10pt; '>dieser Ordner ist in
/opt/grass</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>In der Installationshilfe
(INSTALL) steht folgendes: </span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>To compile (self-made) GRASS
modules or to compile modified
modules</span><br><span style='font-size: 10pt; '>at least the GRASS libraries
have to be compiled locally. This
is</span><br><span style='font-size: 10pt; '>done by launching:</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>    make libs</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Then change into the
module's directory and launch the "make"
</span><br><span style='font-size: 10pt; '>command. The installation can be
either done with "make install"
from</span><br><span style='font-size: 10pt; '>the main source code directory or
locally with </span><br><span style='font-size: 10pt; '>    "INST_NOW=y
make"</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>You may want to define an
alias for this:</span><br><span style='font-size: 10pt; '>    alias
gmake6='INST_NOW=y make'</span><br><span style='font-size: 10pt; '>Then simply
compile/install the current module
with</span><br><span style='font-size: 10pt; '>    gmake6</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Note: If you keep your
module source code outside the standard
GRASS</span><br><span style='font-size: 10pt; '>source code directory structure,
you will have to change the
relative</span><br><span style='font-size: 10pt; '>path(s) in the Makefile to
absolute path(s).</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Das heisst, im Prinzip
sollte ich doch, wenn ich schon im Ordner v.overlay
</span><br><span style='font-size: 10pt; '>bin, einfach eingeben k&ouml;nnen:
"make"  bzw. "make install" und dann sollte das
</span><br><span style='font-size: 10pt; '>funktionieren. Tut es aber nicht. Die
Ausgabe ist dann folgende:</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Nanduhirion:/opt/grass/grass-6.4.0RC5/vector/v.overlay
# make                                          
</span><br><span style='font-size: 10pt; '>gcc
-I/usr/src/packages/BUILD/grass-6.4.0SVN20091010/dist.x86_64-unknown-</span><br><span style='font-size: 10pt; '>linux-gnu/include
-O2    -I/usr/include    -DPACKAGE=\""grassmods"\" 
-</span><br><span style='font-size: 10pt; '>I/usr/src/packages/BUILD/grass-6.4.0SVN20091010/dist.x86_64-unknown-linux-</span><br><span style='font-size: 10pt; '>gnu/include
-o OBJ.x86_64-unknown-linux-gnu/area_area.o -c area_area.c                      
</span><br><span style='font-size: 10pt; '>area_area.c:12:23: error:
grass/gis.h: Datei oder Verzeichnis nicht gefunden                              
</span><br><span style='font-size: 10pt; '>area_area.c:13:24: error:
grass/dbmi.h: Datei oder Verzeichnis nicht gefunden                             
</span><br><span style='font-size: 10pt; '>area_area.c:14:24: error:
grass/Vect.h: Datei oder Verzeichnis nicht gefunden                             
</span><br><span style='font-size: 10pt; '>area_area.c:15:27: error:
grass/glocale.h: Datei oder Verzeichnis nicht
</span><br><span style='font-size: 10pt; '>gefunden                            
</span><br><span style='font-size: 10pt; '>In file included from area_area.c:16:
</span><br><span style='font-size: 10pt; '>(Und dann noch jede Menge weitere
Fehler)</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Weil grass/gis.h etc. nicht
gefunden wird, glaube ich, dass ich im falschen
</span><br><span style='font-size: 10pt; '>Ordner versuche zu kompilieren (Also
nicht im "standard GRASS source code
</span><br><span style='font-size: 10pt; '>directorie"). </span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Die Frage ist: Wie bzw. wo
w&uuml;rde ich es richtig machen? Wohin muss ich den
</span><br><span style='font-size: 10pt; '>Ordner v.overlay verschieben, um
main.c des moduls v.overlay richtig zu
</span><br><span style='font-size: 10pt; '>kompilieren und dann auch an zu
wenden?</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Vielen Dank und viele
Gr&uuml;sse</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Martin</span><br><span style='font-size: 10pt; '>_______________________________________________</span><br><span style='font-size: 10pt; '>Fossgis-talk-liste
mailing
list</span><br><span style='font-size: 10pt; '>Fossgis-talk-liste@fossgis.de</span><br><span style='font-size: 10pt; '>https://lists.fossgis.de/mailman/listinfo/fossgis-talk-liste</span></div>



</body>

</html>