Grass GIS wxPython startup error
|Reported by:||grruddy||Owned by:|
Grass was installed with the following options:
./configure --prefix=$INSTALL \
--enable-64bit --with-cxx \ --with-mysql \ --with-motif \ --with-cairo --with-freetype --with-readline \ --with-x --enable-shared \ --with-fftw-includes=$FFTW/include \ --with-fftw-libs=$FFTW/lib \ --with-mysql-libs=/usr/lib64/mysql \ --with-mysql-includes=/usr/include/mysql \ --with-proj-includes=$PROJ/include \ --with-proj-libs=$PROJ/lib \ --with-proj-share=$PROJ/share \ --with-gdal=$GDAL/bin/gdal-config \ --with-geos=$GEOS/bin/geos-config \ --with-python=/usr/bin/python-config \ --with-wxwidgets=$WXWIDGETS/bin/wx-config \ --with-cairo-includes=$CAIRO/include/cairo \ --with-cairo-libs="$CAIRO/lib $CAIRO/lib/cairo $pixman_LIBS" \ --with-cairo-ldflags="-lcairo -lpixman-1" \ --with-motif-includes=$LESSTIF/include \ --with-motif-libs=$LESSTIF/lib \ --with-freetype-libs=/usr/lib64 \ --with-freetype-includes="/usr/include/freetype2"
This install uses GCC-4.7.0 and a system packaged version of Python 2.6.6. Because Python is system packaged, the GDAL and wxPython support is appended to the PYTHONPATH environment variable and is not installed directly in the site-packages directory for python2.6. The installation went through without any issues, but now the following error occurs upon startup:
Text only mode works as expected, but the graphical issue needs to be fixed. Any help would be appreciated. Any additional information can be provided as need be. Also, it should be noted that this same installation was successful on a SLES 10 system ( this system is RHEL 6 ). The main difference being the GCC version and the fact that wxPython was installed directly to the site-packages of the SLES 10 Python installation.