[Thuban-list] Problem with recompile Thuban on Fedora Core 2

Marcin Zajączkowski mszpak at wp.pl
Sat Aug 21 20:33:29 CEST 2004


Hi,

After upgrade from FC1 to FC2 I had problem with run Thuban. Problem was 
resolved by upgrade wxPythonFTP to Python 2.3 support, but in a meantime 
I noticed problem with version *recompiled by me*.

[szpak at szpak szpak]$ thuban
No thubanstart module available
Segmentation fault

I tried compilation by hand from sources and from src.rpm.
I found post on the user mailing that version Python have to be the same 
with this which was used to compile it. It's true with my compilation! 
(2.3 and 2.3)
Maybe Thuban is incompatible with Python 2.3? Ability to biuld Thuban 
can be useful in the future.

I have:
wxPythonGTK-py2.3-2.4.2.4-1
wxGTK-2.4.2-4.1.fc2.fr
wxPythonGTK-devel-2.4.2.4-1
wxGTK-devel-2.4.2-4.1.fc2.fr
pysqlite-0.4.3-1.i386.rpm
sqlite-2.8.13-1.i386.rpm
proj-devel-4.4.7-1
proj-4.4.7-1
python-2.3.3-6
python-devel-2.3.3-6


Strange is fact (but I'm happy with this) that version 1.0.0 for RedHat 
7.2 works (I have Python 2.3 and RH 7.2 uses 2.2 :) ).

I add that in version 1.0.0 for *RedHat 7.2* I see (what is expected):

[szpak at szpak szpak]$ thuban
/usr/lib/thuban/Thuban/../Lib/shapelib.py:2: RuntimeWarning: Python C 
API version mismatch for module shapelibc: This Python has API version 
1012, module shapelibc has version 1011.
   import shapelibc
/usr/lib/thuban/Thuban/Model/data.py:21: RuntimeWarning: Python C API 
version mismatch for module shptree: This Python has API version 1012, 
module shptree has version 1011.
   import shptree
/usr/lib/thuban/Thuban/../Lib/dbflib.py:2: RuntimeWarning: Python C API 
version mismatch for module dbflibc: This Python has API version 1012, 
module dbflibc has version 1011.
   import dbflibc
/usr/lib/thuban/Thuban/../Lib/Projection.py:2: RuntimeWarning: Python C 
API version mismatch for module Projectionc: This Python has API version 
1012, module Projectionc has version 1011.
   import Projectionc
/usr/lib/thuban/Thuban/UI/renderer.py:25: RuntimeWarning: Python C API 
version mismatch for module wxproj: This Python has API version 1012, 
module wxproj has version 1011.
   from wxproj import draw_polygon_shape, draw_polygon_init
No thubanstart module available

but it works.

Regards
Marcin




More information about the Thuban-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)