[GRASS-user] Problems starting wxpython GUI under SUSE 10.3

Lars Forseth lars.forseth at bluezone.no
Fri Apr 18 16:59:37 EDT 2008


Hi all!
Seeing all the traffic on the list about the new wxpython GUI I wanted to try 
too. No such luck however.

I'm using Suse 10.3 on a Intel based pc.

Usually I have compiled GRASS63 from source. This evening I did likewise, and 
activated python etc to see if the new GUI could start. See config string at 
the end of the post. There was an error; in vdigit. Tried to run make in that 
dir; no luck - but I thought this were not a prerequisite for running 
wxpython GUI in GRASS?

So I tried to run "grass63 -wxpython". The terminal welcome screen comes up; 
but no GUI! No error messages . Tried to restart GUI  with g.gui wxpython; 
same shit; nothing happens; literaly nothing; no errors, nada, it just waits 
for a second, then nothing. (The tcltk GUI runs - I have checked that!)

Looking at  '/usr/local/grass-6.3.0RC6/gui/wxpython' I notice that the .py 
files are not executable. So I changed their permissions to executable; but 
still no luck! Nothing happens when I run g.gui wxpython! (I tried this 
because for other scripts this has been a problem from time to time; there is 
also sometimes missing binaries in the bin dir; witch I then have to copy 
from their directories were they are compiled). 

Anyone have a suggestion?

Regards
larsf

----------------Python version -----------------------------------------------
Python 2.5.1 (r251:54863, Jan 10 2008, 18:01:57)
[GCC 4.2.1 (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> wx.__version__
'2.8.4.0'
-----------------------------------------------------------------------------------

-----------------------------config string--------------------------
./configure --with-python --with-freetype --with-freetype-includes=/usr/include/freetype2/ 
--with-odbc --with-postgres --with-postgres-includes=/usr/include/pgsql/ 
--with-postgres-libs=/usr/lib/  --with-sqlite --with-wxwidgets=/usr/bin/wx-config 
--with-readline
------------------------------------------------------------------------

-----------------------------config output ---------------------------
r2d2:/usr/local/grass-6.3.0RC6 
# ./configure --with-python --with-freetype --with-freetype-includes=/usr/include/freetype2/ --with-odbc --with-postgres --with-postgres-includes=/usr/include/pgsql/ --with-postgres-libs=/usr/lib/  --with-sqlite --with-wxwidgets=/usr/bin/wx-config --with-readline
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for full floating-point support... yes
checking for pwd... /bin/pwd
checking for source directory... /usr/local/grass-6.3.0RC6
checking for build directory... /usr/local/grass-6.3.0RC6
checking for MacOSX App... no
checking how to build libraries... shared
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... Linux-2.6.22.17-0.1-default
checking for dlopen in -ldl... yes
checking for ar... ar
checking for additional include dirs...
checking for additional library dirs...
checking for a BSD compatible install... /usr/bin/install -c
checking for flex... flex
checking for yywrap in -lfl... yes
checking for bison... bison -y
checking for ranlib... ranlib
checking for ar... ar
checking for env... /etc/bash.bashrc
checking for perl... /usr/bin/perl
checking for ANSI C header files... yes
checking for limits.h... yes
checking for termio.h... yes
checking for termios.h... yes
checking for unistd.h... yes
checking for values.h... yes
checking for f2c.h... no
checking for g2c.h... no
checking for sys/ioctl.h... yes
checking for sys/mtio.h... yes
checking for sys/resource.h... yes
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for sys/types.h... yes
checking for sys/utsname.h... yes
checking for libintl.h... yes
checking for iconv.h... yes
checking for langinfo.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for off_t... yes
checking for uid_t in sys/types.h... yes
checking return type of signal handlers... void
checking for Cygwin environment... no
checking for ftime... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for lseek... yes
checking for nice... yes
checking for time... yes
checking for uname... yes
checking for seteuid... yes
checking for setpriority... yes
checking for setreuid... yes
checking for setruid... no
checking for drand48... yes
checking for putenv... yes
checking for setenv... yes
checking for nanosleep... yes
checking whether setpgrp takes no argument... yes
checking for long long int... yes
checking for W11... no
checking for X... libraries , headers
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether to use Curses... yes
checking for curses.h... yes
checking curses.h WINDOW structure component... _maxy
checking for initscr in -lncurses... yes
checking for keypad in -lncurses... yes
checking for gtty in -lcompat... no
checking for gtty in -lbsd-compat... yes
checking for library containing cuserid... none required
checking for xdrmem_create... yes
checking for asprintf... yes
checking for atan... no
checking for atan in -lm... yes
checking for dlsym... no
checking for dlsym in -ldl... yes
checking for iconv... yes
checking for socket... yes
checking for location of zlib includes...
checking for zlib.h... yes
checking for location of zlib library...
checking for deflate in -lz... yes
checking for location of External PROJ.4 includes...
checking for proj_api.h... yes
checking External PROJ.4 version... 460
checking for location of External PROJ.4 library...
checking for pj_get_def in -lproj... yes
checking for location of External PROJ.4 data files...
configure: warning: *** External PROJ.4 directory not specified; default will 
be used
checking for /usr/local/share/proj/epsg... no
configure: warning: *** Unable to locate PROJ data files.
checking for nad2bin... /usr/bin/nad2bin
checking whether to use Readline... yes
checking for location of Readline includes...
checking for readline/readline.h... yes
checking for readline/history.h... yes
checking for location of Readline library...
checking for readline in -lreadline... yes
checking for add_history in -lhistory... yes
checking whether to use JPEG... yes
checking for location of JPEG includes...
checking for jpeglib.h... yes
checking for location of JPEG library...
checking for jpeg_start_compress in -ljpeg... yes
checking whether to use GDAL... yes
checking for gdal-config... /usr/bin/gdal-config
checking for GDALOpen... yes
checking whether to use TIFF... yes
checking for location of TIFF includes...
checking for tiffio.h... yes
checking for location of TIFF library...
checking for TIFFOpen in -ltiff... yes
checking whether to use PNG... yes
checking for location of PNG includes...
checking for png.h... yes
checking for location of PNG library...
checking for png_read_image in -lpng... yes
checking whether to use Tcl/Tk... yes
checking for location of Tcl/Tk includes...
checking for tcl.h... yes
checking for tk.h... yes
checking Tcl version... 8.4
checking Tk version... 8.4
checking for location of Tcl/Tk library...
checking for Tcl_Init in -ltcl... no
checking for Tcl_Init in -ltcl... no
checking for Tcl_Init in -ltcl8.4... yes
checking for Tk_MainWindow in -ltk... no
checking for Tk_MainWindow in -ltk... no
checking for Tk_MainWindow in -ltk8.4... yes
checking whether to use PostgreSQL... yes
checking for location of PostgreSQL includes... /usr/include/pgsql/
checking for libpq-fe.h... yes
checking for location of PostgreSQL library... /usr/lib/
checking for PQsetdbLogin in -lpq... yes
checking for PQcmdTuples in -lpq... yes
checking whether to use MySQL... no
checking whether to use SQLite... yes
checking for location of SQLite includes...
checking for sqlite3.h... yes
checking for location of SQLite library...
checking for sqlite3_open in -lsqlite3... yes
checking whether to use FFMPEG... no
checking whether to use OpenGL... yes
checking for location of OpenGL includes...
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for location of OpenGL library...
checking for glBegin in -lGL... yes
checking for gluBeginCurve in -lGLU... yes
checking for glXCreatePbuffer... yes
checking for glXCreateGLXPixmap... yes
checking whether to use ODBC... yes
checking for location of ODBC includes...
checking for sql.h... yes
checking for location of ODBC library...
checking for SQLConnect in -lodbc... yes
checking whether to use FFTW... yes
checking for location of FFTW includes...
checking for fftw3.h... no
checking for fftw.h... yes
checking for location of FFTW library...
checking for fftw_execute in -lfftw3... no
checking for fftwnd_one in -lfftw... no
checking for fftwnd_one in -ldfftw... yes
checking whether to use BLAS... no
checking whether to use LAPACK... no
checking whether to use Motif... no
checking whether to use GLw... no
checking whether to use FreeType... yes
checking for location of FreeType includes... /usr/include/freetype2/
checking for ft2build.h... yes
checking for location of FreeType library...
checking for FT_Init_FreeType in -lfreetype... yes
checking whether to use NLS... no
checking whether to use C++... no
checking whether to use openDWG... no
checking if system supports Large Files at all... no
checking whether to use Python... yes
checking for python-config... /usr/bin/python-config
checking for Python.h... yes
checking whether to use wxWidgets... yes
checking for wx-config... /usr/bin/wx-config
checking wxWidgets version... 2.8.7
checking for wx/wxprec.h... yes
checking for wx/wxPython/pseudodc.h... yes
creating ./config.status
creating include/Make/Grass.make
creating include/Make/Platform.make
creating include/version.h
creating include/winname.h
creating swig/perl/Makefile.PL
creating swig/perl2/make.pl
creating swig/python/Makefile
creating grass.pc
creating include/config.h
include/config.h is unchanged
Copying config.status to config.status.i686-pc-linux-gnu

GRASS is now configured for:  i686-pc-linux-gnu

 Source directory:            /usr/local/grass-6.3.0RC6
 Build directory:             /usr/local/grass-6.3.0RC6
 Installation directory:      ${prefix}/grass-6.3.0RC6
 Startup script in directory: ${exec_prefix}/bin
 C compiler:                  gcc -g -O2
 C++ compiler:
 Building shared libraries:   yes
 64bit support:               no
 OpenGL platform:             X11

  NVIZ:                       yes

  BLAS support:               no
  C++ support:                no
  DWG support:                no
  FFMPEG support:             no
  FFTW support:               yes
  FreeType support:           yes
  GDAL support:               yes
  GLw support:                no
  JPEG support:               yes
  LAPACK support:             no
  Large File Support (LFS):   no
  Motif support:              no
  MySQL support:              no
  NLS support:                no
  ODBC support:               yes
  OGR support:                yes
  OpenGL support:             yes
  PNG support:                yes
  PostgreSQL support:         yes
  Python support:             yes
  Readline support:           yes
  SQLite support:             yes
  Tcl/Tk support:             yes
  wxWidgets support:          yes
  TIFF support:               yes
  X11 support:                yes
  MacOSX application:         no
---------------------------------------------------------------------------------

----------------------------compile errors ---------------------------
--
Errors in:
/usr/local/grass-6.3.0RC6/gui/wxpython/vdigit
--


More information about the grass-user mailing list