Hi John,
On Thu, Aug 13, 2009 at 1:12 PM, John A
Stevenson<john.stevenson@manchester.ac.uk> wrote:
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,
(I personally never install but just use GRASS from the
compile directory, for convenience I added a link to
/usrlocal/bin/)
but sudo doesn't work with GRASS commands).
I darkly remember some discussion on this but don't recall
the tricks (see mailing list archive).
It says that it was successful, but I
don't think that it has changed the files for r.denoise or r.surf.volcano.
While you have 2730 bytes for r.surf.volcano.html, I have 5244.
It's strange that you don't see an error but also no complete file.
Apparently the install part fails when using a real installation
like you. Frankly, my take at getting "make install" working may
be flawed since I am no (good) Makefile programmer but so
far noone else picked it up. In GRASS 7 things are organized
differently, so we cannot easily borrow from there.
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.
...
/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
... above should create the complete manual page.
then it is installed:
...
/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
...
Doh! "mkhtml.sh: not found!" That's no good.
So I see that I have a local copy in my dist directory but that the
Makefile doesn't reflect this (so apparently I copied it over manually
and then forgot about this).
@devs: how is tools/mkhtml.sh best copied into the binary tree?
Markus