Dear all,
I would like to know where can I find instructions on how to compile a grass module (eg. r.example) in a Linux server (in this case Debian) with GRASS 6.4.3)
Thank you
Best regards,
Kat
Dear all,
I would like to know where can I find instructions on how to compile a grass module (eg. r.example) in a Linux server (in this case Debian) with GRASS 6.4.3)
Thank you
Best regards,
Kat
Hello,
Take a look at http://grasswiki.osgeo.org/wiki/Compile_and_Install#Addons.
You will need the source for the addon and the source for GRASS unless an easier way now exists.
good luck,
Stephen
On Fri 26 Apr 2013 06:38:26 AM CDT, katrin eggert wrote:
Dear all,
I would like to know where can I find instructions on how to compile a
grass module (eg. r.example) in a Linux server (in this case Debian)
with GRASS 6.4.3)
Thank you
Best regards,
Kat_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Thank you Stephen
I guess my System manager used GRASS-binary packages which it means that do not support this.
So I should ask to compile and install GRASS using this instructions. Are these commands updated?
Thanks
2013/4/26 Stephen Sefick <ssefick@gmail.com>
Hello,
Take a look at http://grasswiki.osgeo.org/wiki/Compile_and_Install#Addons.
You will need the source for the addon and the source for GRASS unless an easier way now exists.
good luck,Stephen
On Fri 26 Apr 2013 06:38:26 AM CDT, katrin eggert wrote:
Dear all,
I would like to know where can I find instructions on how to compile a
grass module (eg. r.example) in a Linux server (in this case Debian)
with GRASS 6.4.3)
Thank you
Best regards,
Kat
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Thank you Stephen
I guess my System manager used GRASS-binary packages which it means that
do not support this.
Ask him to install the package
grass-dev
Hi all
I finally was able to compile a module but the following was printed in the console.
gcc -L/opt/grass643RC3/grass-6.4.3RC3/lib -Wl,–export-dynamic -Wl,-rpath-link,/opt/grass643RC3/grass-6.4.3RC3/lib -o /opt/grass643RC3/grass-6.4.3RC3/bin/r.example OBJ.x86_64-unknown-linux-gnu/main.o -lgrass_gis.6.4.3RC3 -lgrass_datetime.6.4.3RC3 -lz -lm -lz
make htmlcmd
make[1]: Entering directory /home/grass/r.example' make /opt/grass643RC3/grass-6.4.3RC3/docs/html/r.example.html HTMLSRC=/opt/grass643RC3/grass-6.4.3RC3/bin/r.example make[2]: Entering directory
/home/grass/r.example’
if [ “/opt/grass643RC3/grass-6.4.3RC3/bin/r.example” != “” ] ; then GISRC=/opt/grass643RC3/grass-6.4.3RC3/demolocation/.grassrc64 GISBASE=/opt/grass643RC3/grass-6.4.3RC3 PATH=“/opt/grass643RC3/grass-6.4.3RC3/bin:$PATH” LD_LIBRARY_PATH=“/opt/grass643RC3/grass-6.4.3RC3/bin:/opt/grass643RC3/grass-6.4.3RC3/lib:” LC_ALL=C /opt/grass643RC3/grass-6.4.3RC3/bin/r.example --html-description < /dev/null | grep -v ‘|’ > r.example.tmp.html ; true ; fi
/home/opt/grass643RC3/grass-6.4.3RC3//tools/mkhtml.sh r.example ; mkdir -p /opt/grass643RC3/grass-6.4.3RC3/docs/html ; /usr/bin/install -c -m 644 r.example.tmp.html /opt/grass643RC3/grass-6.4.3RC3/docs/html/r.example.html ; for file in *.png *.jpg ; do head -n 1 $file | grep ‘^#!’ > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/install -c -m 644 $file /opt/grass643RC3/grass-6.4.3RC3/docs/html ; fi done 2> /dev/null ; true
make[2]: Leaving directory /home/grass/r.example' make[1]: Leaving directory
/home/grass/r.example’
make mancmd
make[1]: Entering directory /home/grass/r.example' make /opt/grass643RC3/grass-6.4.3RC3/man/man1/r.example.1 MANSRC=/opt/grass643RC3/grass-6.4.3RC3/docs/html/r.example.html make[2]: Entering directory
/home/grass/r.example’
mkdir -p /opt/grass643RC3/grass-6.4.3RC3/man/man1
GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.4.3RC3 sh /home/opt/grass643RC3/grass-6.4.3RC3//tools/g.html2man /opt/grass643RC3/grass-6.4.3RC3/docs/html/r.example.html /opt/grass643RC3/grass-6.4.3RC3/man/man1/r.example.1 1
Converting: /opt/grass643RC3/grass-6.4.3RC3/docs/html/r.example.html to /opt/grass643RC3/grass-6.4.3RC3/man/man1/r.example.1
make[2]: Leaving directory /home/grass/r.example' make[1]: Leaving directory
/home/grass/r.example’
Is this all ok?
Kat
2013/4/26 katrin eggert <katrineggert1980@gmail.com>
Thank you Stephen
I guess my System manager used GRASS-binary packages which it means that do not support this.
So I should ask to compile and install GRASS using this instructions. Are these commands updated?
Thanks
2013/4/26 Stephen Sefick <ssefick@gmail.com>
Hello,
Take a look at http://grasswiki.osgeo.org/wiki/Compile_and_Install#Addons.
You will need the source for the addon and the source for GRASS unless an easier way now exists.
good luck,Stephen
On Fri 26 Apr 2013 06:38:26 AM CDT, katrin eggert wrote:
Dear all,
I would like to know where can I find instructions on how to compile a
grass module (eg. r.example) in a Linux server (in this case Debian)
with GRASS 6.4.3)
Thank you
Best regards,
Kat
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user