I met problem on installing wxpython on test pc (10.15.4.44)? Did you
erver encounter this problem before?
[root@hadoop-datanode44 bld]# cat /etc/issue
CentOS release 4.8 (Final)
Kernel \r on an \m
[root@hadoop-datanode44 bld]# python --version
Python 2.6.2
[root@hadoop-datanode44 wxPython-src-2.8.10.1]# rpm -q gtk2-devel
gtk2-devel-2.4.13-24.el4
Before installing cario, wx can be built successfully but “python
setup.py install” can not be executed correctly:
à src/gtk/_gdi_wrap.cpp:31407: error: 'class wxGraphicsRenderer' has
no member named 'CreateBitmap'
I noticed there is similar issue discussed on
http://groups.google.com/group/wxPython-users/browse_thread/thread/129ba27e2f868c3c?pli=1 .
However, the stub file has been patched.
After installing cario, wx can not be built successfully:
à gdk_cario_create is undeclared
Robin
April 6, 2010, 5:35pm
2
I met problem on installing wxpython on test pc (10.15.4.44)? Did you
erver encounter this problem before?
[root@hadoop-datanode44 wxPython-src-2.8.10.1]# rpm -q gtk2-devel
gtk2-devel-2.4.13-24.el4
...
After installing cario, wx can not be built successfully:
� gdk_cario_create is undeclared
I think the minimum recommended GTK version for wx these days is somewhere in the 2.6.x series, and using at least 2.8 would be better.
Before installing cario, wx can be built successfully but �python
setup.py install� can not be executed correctly:
� src/gtk/_gdi_wrap.cpp:31407: error: 'class wxGraphicsRenderer' has
no member named 'CreateBitmap'
I noticed there is similar issue discussed on
http://groups.google.com/group/wxPython-users/browse_thread/thread/129ba27e2f868c3c?pli=1 .
However, the stub file has been patched.
Do you still get the error after making the patch in that thread above?
···
On 4/6/10 2:55 AM, metalzong wrote:
--
Robin Dunn
Software Craftsman
Now build and install is ok without graphical context support.
But since our tool depends GraphicalConext in wxPython hence I still
have problem.
Seems I have to upgrade GTK to 2.8 or later. Do you know how to
upgrade GTK - there are lots of dependencies.
···
On 4月7日, 上午1时35分, Robin Dunn <ro...@alldunn.com> wrote:
On 4/6/10 2:55 AM, metalzong wrote:
> I met problem on installing wxpython on test pc (10.15.4.44)? Did you
> erver encounter this problem before?
> [root@hadoop-datanode44 wxPython-src-2.8.10.1]# rpm -q gtk2-devel
> gtk2-devel-2.4.13-24.el4
...
> After installing cario, wx can not be built successfully:
> gdk_cario_create is undeclared
I think the minimum recommended GTK version for wx these days is
somewhere in the 2.6.x series, and using at least 2.8 would be better.
> Before installing cario, wx can be built successfully but python
> setup.py install can not be executed correctly:
> src/gtk/_gdi_wrap.cpp:31407: error: 'class wxGraphicsRenderer' has
> no member named 'CreateBitmap'
> I noticed there is similar issue discussed on
>http://groups.google.com/group/wxPython-users/browse_thread/thread/12 …
> However, the stub file has been patched.
Do you still get the error after making the patch in that thread above?
--
Robin Dunn
Software Craftsmanhttp://wxPython.org
Robin
April 7, 2010, 5:08pm
4
Aren't there packages for it available in your distro's package repositories? If they're not in the official repository then there will likely be some 3rd party repositories that will have updated packages. If not then you may want to think about updating to a newer version of the linux distro. GTK+ 2.4 is over 6 years old.
···
On 4/6/10 9:55 PM, metalzong wrote:
Now build and install is ok without graphical context support.
But since our tool depends GraphicalConext in wxPython hence I still
have problem.
Seems I have to upgrade GTK to 2.8 or later. Do you know how to
upgrade GTK - there are lots of dependencies.
--
Robin Dunn
Software Craftsman