[GRASS-user] Compiling addons - description.html
John A Stevenson
john.stevenson at manchester.ac.uk
Thu Aug 13 07:12:50 EDT 2009
Markus Neteler wrote:
> g.extension r.denoise
> g.extension r.surf.volcano
>
> and everything should be installed.
>
> If also g.extension fails, there might be a bug in the "install" part.
>
Hi Markus,
I tried with g.extension. I had to change the permissions so that I
owned the directory (previously I'd done all my installation via sudo,
but sudo doesn't work with GRASS commands). It says that it was
successful, but I don't think that it has changed the files for
r.denoise or r.surf.volcano. The HTML pages are dated from when I was
testing yesterday. I tried with v.krige, received a success message,
but neither module or manual page were installed. I've attached sample
output below.
Cheers
John
GRASS 6.5.svn (thingy):~/laptop/grassdata/thingy > g.extension
r.surf.volcano
Fetching r.surf.volcano from GRASS-Addons SVN (be patient)...
A r.surf.volcano/r.surf.volcano
A r.surf.volcano/description.html
A r.surf.volcano/Makefile
Checked out revision 38709.
Compiling r.surf.volcano...
/usr/local/grass-6.5.svn/include/Make/Script.make:47: warning:
overriding commands for target `install'
/usr/local/grass-6.5.svn/include/Make/Rules.make:82: warning: ignoring
old commands for target `install'
if [ ! -d
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/scripts ];
then mkdir -p
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/scripts; fi
/usr/bin/install -c r.surf.volcano
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/scripts/r.surf.volcano
make htmlscript scriptstrings
make[1]: Entering directory
`/media/OS/Users/mbessjs3/Documents/grassdata/thingy/PERMANENT/.tmp/mbessjs3-pc/18662.0/r.surf.volcano'
/usr/local/grass-6.5.svn/include/Make/Script.make:47: warning:
overriding commands for target `install'
/usr/local/grass-6.5.svn/include/Make/Rules.make:82: warning: ignoring
old commands for target `install'
make
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/docs/html/r.surf.volcano.html
HTMLSRC=/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/scripts/r.surf.volcano
make[2]: Entering directory
`/media/OS/Users/mbessjs3/Documents/grassdata/thingy/PERMANENT/.tmp/mbessjs3-pc/18662.0/r.surf.volcano'
/usr/local/grass-6.5.svn/include/Make/Script.make:47: warning:
overriding commands for target `install'
/usr/local/grass-6.5.svn/include/Make/Rules.make:82: warning: ignoring
old commands for target `install'
if [
"/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/scripts/r.surf.volcano"
!= "" ] ; then
GISRC=/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/demolocation/.grassrc65
GISBASE=/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu
PATH="/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/bin:$PATH"
LD_LIBRARY_PATH="/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/bin:/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/lib:/usr/local/grass-6.5.svn/lib"
LC_ALL=C
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/scripts/r.surf.volcano
--html-description < /dev/null | grep -v '</body>\|</html>' >
r.surf.volcano.tmp.html ; true ; fi
/usr/local/grass-6.5.svn/tools/mkhtml.sh r.surf.volcano ; mkdir -p
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/docs/html ;
/usr/bin/install -c -m 644 r.surf.volcano.tmp.html
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/docs/html/r.surf.volcano.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
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/docs/html ; fi
done 2> /dev/null ; true
/bin/sh: /usr/local/grass-6.5.svn/tools/mkhtml.sh: not found
make[2]: Leaving directory
`/media/OS/Users/mbessjs3/Documents/grassdata/thingy/PERMANENT/.tmp/mbessjs3-pc/18662.0/r.surf.volcano'
GISRC=/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/demolocation/.grassrc65
GISBASE=/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu
PATH=/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/bin:$PATH
LD_LIBRARY_PATH="/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/lib:/usr/local/grass-6.5.svn/lib"
g.parser -t r.surf.volcano | sed s/\"/\\\\\"/g | sed 's/.*/_("&")/' >
/usr/local/grass-6.5.svn/locale/scriptstrings/r.surf.volcano_to_translate.c
; true
/bin/sh: cannot create
/usr/local/grass-6.5.svn/locale/scriptstrings/r.surf.volcano_to_translate.c:
Directory nonexistent
make[1]: Leaving directory
`/media/OS/Users/mbessjs3/Documents/grassdata/thingy/PERMANENT/.tmp/mbessjs3-pc/18662.0/r.surf.volcano'
make mancmd
make[1]: Entering directory
`/media/OS/Users/mbessjs3/Documents/grassdata/thingy/PERMANENT/.tmp/mbessjs3-pc/18662.0/r.surf.volcano'
/usr/local/grass-6.5.svn/include/Make/Script.make:47: warning:
overriding commands for target `install'
/usr/local/grass-6.5.svn/include/Make/Rules.make:82: warning: ignoring
old commands for target `install'
make
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/man/man1/r.surf.volcano.1
MANSRC=/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/docs/html/r.surf.volcano.html
make[2]: Entering directory
`/media/OS/Users/mbessjs3/Documents/grassdata/thingy/PERMANENT/.tmp/mbessjs3-pc/18662.0/r.surf.volcano'
/usr/local/grass-6.5.svn/include/Make/Script.make:47: warning:
overriding commands for target `install'
/usr/local/grass-6.5.svn/include/Make/Rules.make:82: warning: ignoring
old commands for target `install'
mkdir -p /usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/man/man1
GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.5.svn sh
/usr/local/src/grass/develbranch_6/tools/g.html2man/g.html2man
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/docs/html/r.surf.volcano.html
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/man/man1/r.surf.volcano.1
1
Converting:
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/docs/html/r.surf.volcano.html
to
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/man/man1/r.surf.volcano.1
make[2]: Leaving directory
`/media/OS/Users/mbessjs3/Documents/grassdata/thingy/PERMANENT/.tmp/mbessjs3-pc/18662.0/r.surf.volcano'
make[1]: Leaving directory
`/media/OS/Users/mbessjs3/Documents/grassdata/thingy/PERMANENT/.tmp/mbessjs3-pc/18662.0/r.surf.volcano'
Installing r.surf.volcano...
/usr/local/grass-6.5.svn/include/Make/Script.make:47: warning:
overriding commands for target `install'
/usr/local/grass-6.5.svn/include/Make/Rules.make:82: warning: ignoring
old commands for target `install'
Installation of <r.surf.volcano> in </usr/local/grass-6.5.svn> successfully
finished.
GRASS 6.5.svn (thingy):~/laptop/grassdata/thingy > g.manual r.surf.volcano
Starting browser <firefox> for module r.surf.volcano...
GRASS 6.5.svn (thingy):~/laptop/grassdata/thingy > ls -l
/usr/local/grass-6.5.svn/docs/html/r.surf.volcano.html
-rw-r--r-- 1 mbessjs3 grass 2730 2009-07-03 17:50
/usr/local/grass-6.5.svn/docs/html/r.surf.volcano.html
--
Dr John Stevenson
Postdoctoral Research Associate
School of Earth, Atmospheric and Environmental Sciences
Williamson Building (Room 2.42)
University of Manchester
Manchester M13 9PL, UK
tel. +44(0)161 306 6585; fax. +44(0)161 306 9361;
john.stevenson at manchester.ac.uk
More information about the grass-user
mailing list