R: [GRASS-user] Compile and install 6.4.2RC2

Aldo Clerici aldo.clerici at unipr.it
Thu Dec 29 12:05:21 EST 2011


Markus,
rpm -qa | grep wx | sort    reports:

wxBase-2.8.10-5.fc10.i386
wxGlade-0.6.3-2.fc10.noarch
wxGTK-2.8.10-5.fc10.i386
wxGTK-gl-2.8.10-5.fc10.i386
wxMaxima-0.8.2-3.fc10.i386
wxPython-2.8.9.1-1.fc10.i386


Best
Aldo

-----Messaggio originale-----
Da: neteler.osgeo at gmail.com [mailto:neteler.osgeo at gmail.com] Per conto di
Markus Neteler
Inviato: giovedì 29 dicembre 2011 17:49
A: Aldo Clerici
Cc: GRASS user list
Oggetto: Re: [GRASS-user] Compile and install 6.4.2RC2

On Thu, Dec 29, 2011 at 1:33 PM, Aldo Clerici <aldo.clerici at unipr.it> wrote:
> Thanks to Martin and Markus for the quick answers.
> As I don't know where is the package which contains `wxversion` on Fedora,
I

It is
rpm -qf /usr/lib64/python2.7/site-packages/wxversion.py
wxPython-2.8.12.0-1.fc16.x86_64

> 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.

I noted in your previous message that you use Fedora 10 which is
fairly old. Probably that's why some packages are missing.

https://admin.fedoraproject.org/pkgdb/acls/name/wxPython
-> only goes back to Fedora 14.

> 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
...
>  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

Please report what this outputs:

rpm -qa | grep wx | sort

best,
Markus



More information about the grass-user mailing list