Hi all,
Just updated my grass_trunk to revision 47690.
Issued make distclean; configure and make. No errors were reported,
except some warnings about unknown cairo display drivers.
When I run grass70 the welcome screen shows up and I choose my
location / mapset and then I get the error shown below. No gui is
displayed.
I'm running Ubuntu 9.10 (old distro - afraid to upgrade). Anyone knows
what's goin on?
Thanks
Daniel
GRASS 7.0.svn (nc_spm_08):~/grass/grass_trunk > Traceback (most recent
call last):
File "/home/daniel/grass/grass_trunk/dist.i686-pc-linux-gnu/etc/gui/wxpython/wxgui.py",
line 71, in <module>
from gui_modules import colorrules
File "/home/daniel/grass/grass_trunk/dist.i686-pc-linux-gnu/etc/gui/wxpython/gui_modules/colorrules.py",
line 45, in <module>
from nviz_mapdisp import wxUpdateProperties
File "/home/daniel/grass/grass_trunk/dist.i686-pc-linux-gnu/etc/gui/wxpython/gui_modules/nviz_mapdisp.py",
line 45, in <module>
import wxnviz
File "/home/daniel/grass/grass_trunk/dist.i686-pc-linux-gnu/etc/gui/wxpython/gui_modules/wxnviz.py",
line 31, in <module>
from grass.lib.ogsf import *
File "/home/daniel/grass/grass_trunk/dist.i686-pc-linux-gnu/etc/python/grass/lib/ogsf.py",
line 23, in <module>
_libs["grass_ogsf.7.0.svn"] = load_library("grass_ogsf.7.0.svn")
File "/home/daniel/grass/grass_trunk/dist.i686-pc-linux-gnu/etc/python/grass/lib/ctypes_loader.py",
line 57, in load_library
raise ImportError,"%s not found." % libname
ImportError: grass_ogsf.7.0.svn not found.
Hi,
2011/8/17 Daniel Victoria <daniel.victoria@gmail.com>:
I'm running Ubuntu 9.10 (old distro - afraid to upgrade). Anyone knows
what's goin on?
go to `lib/python/ctypes` and run
make clean ; make > log 2>&1
and post the log file to see where it fails.
[...]
File "/home/daniel/grass/grass_trunk/dist.i686-pc-linux-gnu/etc/python/grass/lib/ctypes_loader.py",
line 57, in load_library
raise ImportError,"%s not found." % libname
ImportError: grass_ogsf.7.0.svn not found.
In r47691 wxGUI starts even if GRASS ctypes libs are not available.
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
The log file is attached
Hope it sheds some light into the matter
Daniel
On Wed, Aug 17, 2011 at 9:16 AM, Martin Landa <landa.martin@gmail.com> wrote:
Hi,
2011/8/17 Daniel Victoria <daniel.victoria@gmail.com>:
I'm running Ubuntu 9.10 (old distro - afraid to upgrade). Anyone knows
what's goin on?
go to `lib/python/ctypes` and run
make clean ; make > log 2>&1
and post the log file to see where it fails.
[...]
File "/home/daniel/grass/grass_trunk/dist.i686-pc-linux-gnu/etc/python/grass/lib/ctypes_loader.py",
line 57, in load_library
raise ImportError,"%s not found." % libname
ImportError: grass_ogsf.7.0.svn not found.
In r47691 wxGUI starts even if GRASS ctypes libs are not available.
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
(attachments)
log.ctypes (36.8 KB)
Hi,
2011/8/17 Daniel Victoria <daniel.victoria@gmail.com>:
The log file is attached
Hope it sheds some light into the matter
ogsf library is build successfully?
cd lib/ogsf
make clean; make
?
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
When I isso make on lib/ogsf I get:
make: Nothing to be done for `first`.
and that's all
Daniel
On Wed, Aug 17, 2011 at 10:05 AM, Martin Landa <landa.martin@gmail.com> wrote:
Hi,
2011/8/17 Daniel Victoria <daniel.victoria@gmail.com>:
The log file is attached
Hope it sheds some light into the matter
ogsf library is build successfully?
cd lib/ogsf
make clean; make
?
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
2011/8/17 Daniel Victoria <daniel.victoria@gmail.com>:
When I isso make on lib/ogsf I get:
make: Nothing to be done for `first`.
you must run before `make` `make clean`.
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
I DID run "make clean" before "make"
Just did it again and once more, I get:
make: Nothing to be done for 'first'.
And just to be sure, I went to the grass_trunk directory, issued make
distclean and then went to /lib/ogsf and issued make.
A bunch of directories were created into dist.i686 but nothing was compiled...
Thanks
Daniel
On Wed, Aug 17, 2011 at 10:29 AM, Martin Landa <landa.martin@gmail.com> wrote:
2011/8/17 Daniel Victoria <daniel.victoria@gmail.com>:
When I isso make on lib/ogsf I get:
make: Nothing to be done for `first`.
you must run before `make` `make clean`.
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
Hi,
2011/8/17 Daniel Victoria <daniel.victoria@gmail.com>:
And just to be sure, I went to the grass_trunk directory, issued make
distclean and then went to /lib/ogsf and issued make.
A bunch of directories were created into dist.i686 but nothing was compiled...
no you need to run at least `make libs` from root dir to build other
libraries as gislib or rasterlib - before entering lib/ogsf.
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
Hi,
2011/8/17 Martin Landa <landa.martin@gmail.com>:
no you need to run at least `make libs` from root dir to build other
libraries as gislib or rasterlib - before entering lib/ogsf.
strangely `make libs` just compiles shapelib, it's seems to be a bug.
$ ls dist.i686-pc-linux-gnu/lib/
libgrass_shape.7.0.svn.so libgrass_shape.so
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
Daniel Victoria wrote:
When I isso make on lib/ogsf I get:
make: Nothing to be done for `first`.
OGSF is only built if GRASS was configured --with-opengl.
This looks like a bug in wxGUI, i.e. that it's failing to take account
of the fact that OpenGL support is an optional feature.
--
Glynn Clements <glynn@gclements.plus.com>
Hi,
2011/8/18 Glynn Clements <glynn@gclements.plus.com>:
OGSF is only built if GRASS was configured --with-opengl.
This looks like a bug in wxGUI, i.e. that it's failing to take account
of the fact that OpenGL support is an optional feature.
it has been already fixed in r47691.
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
I ran svn up and I'm now with revision 47742... Compiled Grass
--without-opengl but I still see the grass_ogsf.7.0.svn not found. I'm
also seeing a bunch of Cairo display warnings flash by during
compilation even tough my configure script has --without-cairo.
Anyway, grass 7 is working. Now I'll try to enable opengl and see if I
can get 3D to work
Daniel
On Thu, Aug 18, 2011 at 11:21 AM, Martin Landa <landa.martin@gmail.com> wrote:
Hi,
2011/8/18 Glynn Clements <glynn@gclements.plus.com>:
OGSF is only built if GRASS was configured --with-opengl.
This looks like a bug in wxGUI, i.e. that it's failing to take account
of the fact that OpenGL support is an optional feature.
it has been already fixed in r47691.
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
Hi,
2011/8/18 Daniel Victoria <daniel.victoria@gmail.com>:
I ran svn up and I'm now with revision 47742... Compiled Grass
--without-opengl but I still see the grass_ogsf.7.0.svn not found. I'm
compile GRASS with --with-opengl to get wxNviz or Nviz working.
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
Yeaaa!!!
After setting --with-opengl flag and fixing some dependencies, grass
compiled fine and 3D view is working. The only thing I'm seeing now is
that there are some red points that appear following the mouse pointer
(screenshot shows it). But I believe it might be due to my crappy
video chip [1] in my poor old laptop
Thanks for all the help
Daniel
[1] - Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)
On Thu, Aug 18, 2011 at 12:33 PM, Martin Landa <landa.martin@gmail.com> wrote:
Hi,
2011/8/18 Daniel Victoria <daniel.victoria@gmail.com>:
I ran svn up and I'm now with revision 47742... Compiled Grass
--without-opengl but I still see the grass_ogsf.7.0.svn not found. I'm
compile GRASS with --with-opengl to get wxNviz or Nviz working.
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
(attachments)

Hi,
2011/8/19 Daniel Victoria <daniel.victoria@gmail.com>:
After setting --with-opengl flag and fixing some dependencies, grass
compiled fine and 3D view is working. The only thing I'm seeing now is that
there are some red points that appear following the mouse pointer
(screenshot shows it). But I believe it might be due to my crappy video chip
[1] in my poor old laptop
this is know issues, hope that it will be fixed soon.
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa