[GRASS5] Debian and d.m/d.zoom bug - /etc/ld.so.conf
Markus Neteler
neteler at itc.it
Wed Dec 1 04:02:18 EST 2004
On Wed, Dec 01, 2004 at 07:57:10AM +0100, Stephan Holl wrote:
> Hello Markus,
>
> On Tue, 30 Nov 2004 18:12:33 +0100 Markus Neteler <neteler at itc.it>
> wrote:
>
> > Any suggestions how to proceed? Maybe the xterm doesn't work as
> > desired under Debian (why does it then with strace)?
>
> Maybe it is a security reason, because xtrem has the s bit set. I am not
> quite sure about that, but isnt it that $LD_LIBRARY_PATH is unloaded
> for s-bittet programms?!
>
>
> See former posting from Glynn Clements on a similar problem:
> http://grass.itc.it/pipermail/grass5/2004-September/015409.html
OK, now in CVS:
grass57/tools/grass-run.sh
Howver, the proposed xterm line causes problems:
can't read "env(GISBASE)": no such variable
Not sure how to implement it correctly:
diff -u -r1.27 d.m.tcl
--- d.m.tcl 14 Sep 2004 16:48:38 -0000 1.27
+++ d.m.tcl 1 Dec 2004 09:00:14 -0000
@@ -85,7 +85,7 @@
###############################################################################
proc term {cmd args} {
- eval exec -- xterm -e $cmd $args &
+ eval exec -- xterm -e $env(GISBASE)/etc/grass-run.sh $cmd $args &
}
Markus
More information about the grass-dev
mailing list