[GRASS-user] Instructions on how to compile a grass module in a Linux server (DEBIAN)

katrin eggert katrineggert1980 at gmail.com
Tue Apr 30 04:20:20 PDT 2013


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 '</body>\|</html>' > 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 at 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 at gmail.com>
>
>> Hello,
>>
>> Take a look at http://grasswiki.osgeo.org/**wiki/Compile_and_Install#**
>> Addons <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 at lists.osgeo.org
>>> http://lists.osgeo.org/**mailman/listinfo/grass-user<http://lists.osgeo.org/mailman/listinfo/grass-user>
>>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130430/3d776c2c/attachment.html>


More information about the grass-user mailing list