R: [GRASS-user] Compile and install 6.4.2RC2
Aldo Clerici
aldo.clerici at unipr.it
Thu Dec 29 07:33:10 EST 2011
Thanks to Martin and Markus for the quick answers.
As I don't know where is the package which contains `wxversion` on Fedora, I
followed the Markus suggestions executing step by step what's in 'Compile
and Install', hoping it includes the installing of the requested package.
First:
yum install proj-devel libjpeg-devel gdal-devel sqlite-devel ffmpeg-devel
mesa-libGL-devel mesa-libGLU-devel libXmu-devel tcl-devel fftw-devel
lesstif-devel wxGTK-devel
All the packages were installed or updated, but with this message:
No package ffmpeg-devel available.
Then:
./configure --with-cxx --with-gdal=/usr/local/bin/gdal-config
--with-proj --with-sqlite --with-nls
--with-wxwidgets=/usr/local/bin/wx-config --with-fftw
--with-python=/usr/local/bin/python-config --with-freetype
--with-freetype-includes=/usr/include/freetype2 --enable-largefile
--without-odbc
With the following result:
GRASS is now configured for: i686-pc-linux-gnu
Source directory: /home/clerici/GRASSprograms/grass-6.4.2RC2
Build directory: /home/clerici/GRASSprograms/grass-6.4.2RC2
Installation directory: ${prefix}/grass-6.4.2RC2
Startup script in directory: ${exec_prefix}/bin
C compiler: gcc -g -O2
C++ compiler: c++ -g -O2
Building shared libraries: yes
64bit support: no
OpenGL platform: X11
MacOSX application: no
MacOSX architectures:
MacOSX SDK:
Tcl/Tk NVIZ: yes
BLAS support: no
C++ support: yes
Cairo support: no
DWG support: no
FFMPEG support: no
FFTW support: yes
FreeType support: yes
GDAL support: yes
GEOS support: no
GLw support: no
JPEG support: yes
LAPACK support: no
Large File support (LFS): yes
Motif support: no
MySQL support: no
NLS support: yes
ODBC support: no
OGR support: yes
OpenGL support: yes
PNG support: yes
PostgreSQL support: no
Python support: yes
Readline support: no
SQLite support: yes
Tcl/Tk support: yes
wxWidgets support: yes
TIFF support: yes
X11 support: yes
Then: make
with No errors detected
And: su -c 'make install' that seemed to work fine.
But, as usual, when I enter: grass64 -wxpython
Cleaning up temporary files ...
Starting GRASS ...
ERROR: wxGUI requires wxPython. No module named wxversion
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now.
Hit RETURN to continue...
So I think I need to know how to install the package with wxversion.
Best.
A. Clerici
-----Messaggio originale-----
Da: neteler.osgeo at gmail.com [mailto:neteler.osgeo at gmail.com] Per conto di
Markus Neteler
Inviato: mercoledì 28 dicembre 2011 16:13
A: Aldo Clerici
Cc: GRASS user list
Oggetto: Re: [GRASS-user] Compile and install 6.4.2RC2
Aldo,
On Wed, Dec 28, 2011 at 1:16 PM, Martin Landa <landa.martin at gmail.com>
wrote:
> 2011/12/28 Aldo Clerici <aldo.clerici at unipr.it>:
>> ERROR: wxGUI requires wxPython. No module named wxversion
>>
...
>> Where did I go wrong?
>
> you need to install package which contains `wxversion`. On Debian
> GNU/Linux it's eg. `python-wxversion`.
please see also
http://grass.osgeo.org/wiki/Compile_and_Install#Fedora
Best
Markus
More information about the grass-user
mailing list