[Thuban-list] installing Thuban locally fails

Bernhard Reiter bernhard at intevation.de
Sat May 24 19:38:26 CEST 2008


Hi Tim,

On Friday 23 May 2008 21:58, Tim Michelsen wrote:
> I installed these dependencies with
>
> sudo apt-get build-dep thuban

it might be that those dependencies are not entirely correct 
for your Ubuntu (which would be a problem of the package -
not Thuban itself) and they might prevent
you from building it correctly.

> now the program get's built with
> python setup.py install_local
>
> But when running
> ./thuban.py

>   The following version errors were detected:
>       Thuban was compiled with wx 2.6.3 but wxPython is 2.8.7.1

This still means somehow the wrong packages are being picked up.
You have build Thuban with a different version of wx than
which you are trying to run it.

> FAILED (failures=2)

The two test failures are to be expected (as noted in the Releasenotes.txt).

> Here is a list of wx packages on my system:


> ii  libwxbase2.6-dev                           2.6.3.2.2-2ubuntu4
> ii  libwxgtk2.6-dev                            2.6.3.2.2-2ubuntu4

This was probably picked up as there is no corresponding 2.8-dev package
as far as I can see. 

It seems like both wx versions are installed 

> ii  python-wxgtk2.6                            2.6.3.2.2-2ubuntu4
> ii  python-wxgtk2.8                            2.8.7.1-0ubuntu3

There probably is a way to make your python pick up the right one 
during runtime. Can you try if you have different python versions?
Maybe python2.4 and python2.5?
Start it and find out which wx version is will load at the beginning,
e.g. 
python2.3
Python 2.3.5 (#2, Oct 16 2006, 20:50:39)
[GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
wx.>>> wx.VERSION
(2, 4, 2, 4, '')
>>>

If there is one that has 2.6, try this one like
python2.4 thuban.py

Another idea is to only install one version of wx, if possible.
Variant a)
Deinstall all wx2.8 packages.
Variant b) Install the wx2.8 dev packages and see if Thuban picks them up
           when rebuilding
Variant c) do b) an deinstall all wx 2.6 packages.

> May you please help me to get Thuban running?

We'll do our best to help of course. :)
As I do not have an Ubuntu system of your revision right sitting here,
it might take a few turnarounds, but we'll get there, I am sure!

Best,
Bernhard

-- 
Managing Director - Owner: www.intevation.net       (Free Software Company)
Germany Coordinator: fsfeurope.org. Coordinator: www.Kolab-Konsortium.com.
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-list/attachments/20080524/61adfd1e/attachment.bin


More information about the Thuban-list mailing list

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