[GRASS-user] Another error with wxpython GUI in RC6

Peter Gardner geep999 at yahoo.co.uk
Fri Apr 11 14:15:59 EDT 2008


Hi Martin,
I checked out revision 30941.
../configure fails with:
checking if system supports Large Files at all... yes
checking whether to use Python... yes
checking for python-config... /usr/bin/python-config
checking for Python.h... yes
checking for swig... no
configure: error: *** couldn't find swig

Is swig a new dependency?
It is not  installed.

Cheers,

Peter
PS - If useful, here are my compile options:
CHOST="i686-pc-linux-gnu" \
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" \
CXXFLAGS="${CFLAGS}" \
LDFLAGS="-s" \
../configure \
         --with-cxx \
--with-postgres=no \
         --with-sqlite \
--with-sqlite-includes=/usr/local/include \
--with-sqlite-libs=/usr/local/lib \
\
         --with-freetype \
         --with-freetype-includes=/usr/include/freetype2 \
         --with-motif \
         --with-glw=no \
\
 --with-ffmpeg \
--with-ffmpeg-includes=/usr/local/include/ffmpeg \
  --with-proj-includes=/usr/local/include \
  --with-proj-libs=/usr/local/lib \
  --with-proj-share=/usr/local/share/proj \
 --enable-largefile \
\
--with-python \
--with-wxwidgets \
--with-gdal

Martin Landa <landa.martin at gmail.com> wrote: Hi,

please try to compile 6.3.0svn, the same error??

svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_6_3
grass63_release

Regards, Martin

2008/4/11, geep999 :
>  2/ When I try to run it - "grass63 -wxpython" - I get the following Message:
>
>  Starting GRASS ...
>  Traceback (most recent call last):
>   File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 710, in
>  
>     GRASSStartUp = StartUp(0)
>   File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
>  line 7836, in __init__
>     self._BootstrapApp()
>   File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
>  line 7433, in _BootstrapApp
>     return _core_.PyApp__BootstrapApp(*args, **kwargs)
>   File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 694, in
>  OnInit
>     StartUp = GRASSStartup()
>   File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 154, in
>  __init__
>     self._set_properties()
>   File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 193, in
>  _set_properties
>     self.OnSetDatabase(None)
>   File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 579, in
>  OnSetDatabase
>     self.OnSelectLocation(event)
>   File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 561, in
>  OnSelectLocation
>     self.lbmapsets.SetSelection(0)
>   File
>  "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py", line
>  1325, in SetSelection
>     return _controls_.ListBox_SetSelection(*args, **kwargs)
>  wx._core.PyAssertionError: C++ assertion "IsValid(n)" failed at
>  ../src/gtk/listbox.cpp(859) in DoSetSelection(): invalid index in
>  wxListBox::SetSelection
>  Error in GUI startup. If necessary, please
>  report this error to the GRASS developers.
>
>  The tcltk GUI - "grass63 -tcltk" - starts without problems.
>
>  My wxPython is the latest released source from
>  http://www.wxpython.org/download.php,
>  being wxPython-src-2.8.7.1.tar.bz2
>
>  Python: 2.5.2. gcc: 4.2.3
>
>  The Python & wxPython installations seem to be OK, as the example demo.py
>  from wxPython/demo runs OK.
>  i.e. python demo.py
>  Its Help > About wxPython Demo reports:
>  "wxPython 2.8.7.1 (wxGTK, unicode, gtk2, wx-assertions-on, SWIG-1.3.29)
>  Running on Python 2.5.2"
>
>  Any ideas what might be wrong?
>
>  Cheers,
>
>  Peter
>
> --
>  View this message in context: http://www.nabble.com/Another-error-with-wxpython-GUI-in-RC6-tp16627913p16627913.html
>  Sent from the Grass - Users mailing list archive at Nabble.com.
>
>  _______________________________________________
>  grass-user mailing list
>  grass-user at lists.osgeo.org
>  http://lists.osgeo.org/mailman/listinfo/grass-user
>


-- 
Martin Landa  * http://gama.fsv.cvut.cz/~landa *


       
---------------------------------
 Yahoo! for Good helps you make a difference
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080411/45872cfa/attachment.html


More information about the grass-user mailing list