Hello everybody...
I'm new in the GRASSLIST, GRASS and GIS.
I have successifully run Generic GRASS 5.0.2 but I'm afraid I need some
help to run XServer GRASS 5.0.0. I have downloaded binary winGRASS XServer
and install script .sh. In the same way for xtcltk.
I have choosen XFree86 and installed it completely.
And, then, since I just completed the GRASS package installation,
I have been tried to run 'grass5' on the GYGWIN shell, however
unsuccessifully!
This has been the error message for running <grass5> in the shell:
$ grass5
GISDBASE:: not found
GRASS_GUI:: not found
Does any of you have any idea of how to solve this problem?
Thank you in advance
José Anderson
JAN Batista
Estudante de Doutorado em Hidráulica Ambiental
CRHEA/USP
On Thu, May 08, 2003 at 02:43:55PM -0300, José Anderson wrote:
Hello everybody...
I'm new in the GRASSLIST, GRASS and GIS.
I have successifully run Generic GRASS 5.0.2 but I'm afraid I need some
help to run XServer GRASS 5.0.0. I have downloaded binary winGRASS XServer
and install script .sh. In the same way for xtcltk.
I have choosen XFree86 and installed it completely.
And, then, since I just completed the GRASS package installation,
I have been tried to run 'grass5' on the GYGWIN shell, however
unsuccessifully!
This has been the error message for running <grass5> in the shell:
$ grass5
GISDBASE:: not found
GRASS_GUI:: not found
Does any of you have any idea of how to solve this problem?
Yesterday we also have installed the winGRASS XServer version (note,
there is a 5.0.2 out now, please try that one first!).
You may not install the Cygwin tcltk but the xtcltk from the GRASS web
site, winGRASS section.
Results:
- graphical startup doesn't work -> bug in Init.sh?
- interactive text startup works
- cmd line startup with path to GISDBASE doesn't work -> bug in Init.sh?
- inside GRASS
- d.mon works
- tcltkgrass works
- nviz works (yes!!)
Aparts from a strange problem in the Init.sh, it runs well.
Recommendation for above problem:
- remove the 5.0.0x you have and install 5.0.2
- remove $HOME/.grassrc5
- try again
Markus Neteler
Markus Neteler wrote:
- graphical startup doesn't work -> bug in Init.sh?
- cmd line startup with path to GISDBASE doesn't work -> bug in Init.sh?
Odd. At first I thought that it might be due to the use of
bash-specific features (Cygwin's /bin/sh is ash) but, apart from an
unrelated bug, it works with ash on Linux.
The unrelated bug is:
trap "echo 'User break!' ; exit" 2 3 9 15
Signal 9 is SIGKILL, which can't be caught. bash seems to ignore this,
but it causes total failure under ash (attempting to run external
programs fails).
Can you provide more details regarding the failures? You can get
debugging information by using "sh -x ...", i.e.
GISBASE=/usr/local/grass5
export GISBASE
sh -x /usr/local/grass5/etc/Init.sh /path/to/gisdbase/location/mapset
--
Glynn Clements <glynn.clements@virgin.net>
I just installed GRASS 5.0.2 over an earlier installation of 5.0.0 from the Open OSX CD, and now NVIZ quits with the following error:
dyld: /usr/local/grass5/etc/nviz2.2/NVWISH2.2 can't open library: /usr/local/lib/libdl.1.dylib (No such file or directory, errno = 2)
child killed: trace trap
while executing
"exec /usr/local/grass5/etc/nviz2.2/NVWISH2.2 -f /usr/local/grass5/etc/nviz2.2/scripts/nviz2.2_script el=dem.city.2 -name NVIZ >&@stdout"
It's looking for /usr/local/lib/libdl.1.dylib. I have libdl.0.dylib, and libdl.dylib, but no .1. What program installs this?
Thanks,
Nick Cahill
Dept. of Art History
Univ. of Wisconsin
Nick Cahill wrote:
I just installed GRASS 5.0.2 over an earlier installation of 5.0.0 from
the Open OSX CD, and now NVIZ quits with the following error:
dyld: /usr/local/grass5/etc/nviz2.2/NVWISH2.2 can't open library:
/usr/local/lib/libdl.1.dylib (No such file or directory, errno = 2)
child killed: trace trap
while executing
"exec /usr/local/grass5/etc/nviz2.2/NVWISH2.2 -f
/usr/local/grass5/etc/nviz2.2/scripts/nviz2.2_script el=dem.city.2
-name NVIZ >&@stdout"
It's looking for /usr/local/lib/libdl.1.dylib. I have libdl.0.dylib,
and libdl.dylib, but no .1. What program installs this?
libdl is a system library, i.e. it will be installed as part of MacOSX
itself.
I suspect that you may need an OS upgrade (unless OpenOSX decide to
release a GRASS CD which works with older OS versions).
--
Glynn Clements <glynn.clements@virgin.net>
Glynn Clements wrote:
> It's looking for /usr/local/lib/libdl.1.dylib. I have libdl.0.dylib,
> and libdl.dylib, but no .1. What program installs this?
libdl is a system library, i.e. it will be installed as part of MacOSX
itself.
I suspect that you may need an OS upgrade (unless OpenOSX decide to
release a GRASS CD which works with older OS versions).
It appears that I was mistaken. libdl is a system library on "typical"
Unix systems (e.g. Linux, Solaris). MacOSX provides a different API,
but there is a third-party libdl "emulation":
http://www.opendarwin.org/projects/dlcompat/
My (updated) guess is that the OpenOSX port uses this library (or a
similar library from another source), but they forgot to include it on
the CD.
Copying or renaming libdl.0.dylib to libdl.1.dylib *might* work,
although a change to the version number is normally made to indicate
incompatibility (i.e. to prevent programs from using an incompatible
library).
If it doesn't work, the only options are to either ask OpenOSX.com to
provide the library which they used, or to build it yourself.
--
Glynn Clements <glynn.clements@virgin.net>
Installing the latest version of dlcompat (available at http://www.opendarwin.org/projects/dlcompat/) fixed this. You need to have the (free) developer's tools from Apple installed. Dlcompat is a tiny download; the developer's tools is a huge download (300 meg or something). If anyone would like I can email them the libdl.1.dylib file; just putting that in /usr/local/lib might work, although I can't test this myself.
For what it's worth, GRASS 5.0.2 running under Apple's X11 is *much* faster than 5.0.0 under the older version of XDarwin. It's probably the hardware acceleration in Apple X11; the difference is striking.
Nick Cahill
On Wednesday, May 14, 2003, at 11:44 PM, Glynn Clements wrote:
Glynn Clements wrote:
It's looking for /usr/local/lib/libdl.1.dylib. I have libdl.0.dylib,
and libdl.dylib, but no .1. What program installs this?
libdl is a system library, i.e. it will be installed as part of MacOSX
itself.
I suspect that you may need an OS upgrade (unless OpenOSX decide to
release a GRASS CD which works with older OS versions).
It appears that I was mistaken. libdl is a system library on "typical"
Unix systems (e.g. Linux, Solaris). MacOSX provides a different API,
but there is a third-party libdl "emulation":
http://www.opendarwin.org/projects/dlcompat/
My (updated) guess is that the OpenOSX port uses this library (or a
similar library from another source), but they forgot to include it on
the CD.
Copying or renaming libdl.0.dylib to libdl.1.dylib *might* work,
although a change to the version number is normally made to indicate
incompatibility (i.e. to prevent programs from using an incompatible
library).
If it doesn't work, the only options are to either ask OpenOSX.com to
provide the library which they used, or to build it yourself.
--
Glynn Clements <glynn.clements@virgin.net>