Hello, I have a following problem. I am trying to
install wxPython2.6.1.0 from source and so far I have
managed to compile and install wxWidgets. However,
when I try to run the "python2.3 setup.py install" in
wxPython/ directory, I get quite a bit of error
messages. Here are the last dozen or so lines that are
printed out:
src/gtk/_core_wrap.cpp:1661: error: invalid conversion
from `PyObject*(*)(const
wxPyCallbackHelper&, PyObject*)' to
`PyObject*(*)(...)'
src/gtk/_core_wrap.cpp:1661: error: invalid conversion
from `void
(*)(wxPyCallbackHelper*)' to `PyObject*(*)(...)'
src/gtk/_core_wrap.cpp:1661: error: invalid conversion
from `PyObject*(*)(...)'
to `void (*)(wxPyClientData*)'
src/gtk/_core_wrap.cpp:1661: error: invalid conversion
from `PyObject*(*)(...)'
to `void (*)(wxPyUserData*)'
src/gtk/_core_wrap.cpp:1661: error: invalid conversion
from `void (*)(const
char*, const char*)' to `void
(*)(wxPyOORClientData*)'
src/gtk/_core_wrap.cpp:1661: error: invalid conversion
from `bool
(*)(PyObject*, int*, int*)' to
`wxPyCBInputStream*(*)(PyObject*, bool)'
src/gtk/_core_wrap.cpp:1661: error: invalid conversion
from `bool
(*)(PyObject*, int*, int*, int*, int*)' to `
wxPyCBInputStream*(*)(wxPyCBInputStream*)'
src/gtk/_core_wrap.cpp:1661: error: invalid conversion
from `PyObject*(*)(...)'
to `bool (*)(PyObject*)'
src/gtk/_core_wrap.cpp:1661: error: invalid conversion
from `PyObject*(*)(...)'
to `bool (*)(PyObject*)'
src/gtk/_core_wrap.cpp:1661: error: invalid conversion
from `void
(*)(wxPyClientData*)' to `bool (*)()'
src/gtk/_core_wrap.cpp:1661: confused by earlier
errors, bailing out
error: command 'gcc' failed with exit status 1
I am running Xandros 3.0 and I installed GTK2.0 from
their deb package repository (the version is 2.6.2-4)
Does anyone have a clue as to what I sould do or if I
did something wrong?
Thanks, Milos
···
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
On Tue, 2005-09-20 at 07:29 -0700, Milos Dobic wrote:
Hello, I have a following problem. I am trying to
install wxPython2.6.1.0 from source and so far I have
managed to compile and install wxWidgets. However,
when I try to run the "python2.3 setup.py install" in
wxPython/ directory, I get quite a bit of error
messages. Here are the last dozen or so lines that are
printed out:
The output is quite lengthy so I included it in the
attached file called "output". The first few error
line s are the following:
In file included from src/gtk/_core_wrap.cpp:1482:
include/wx/wxPython/wxPython_int.h:19:19: wx/wx.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:21:25:
wx/busyinfo.h: No such file or directory
include/wx/wxPython/wxPython_int.h:22:22: wx/caret.h:
No such file or directory
include/wx/wxPython/wxPython_int.h:23:25:
wx/choicebk.h: No such file or directory
include/wx/wxPython/wxPython_int.h:24:24:
wx/clipbrd.h: No such file or directory
include/wx/wxPython/wxPython_int.h:25:25:
wx/colordlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:26:23: wx/config.h:
No such file or directory
include/wx/wxPython/wxPython_int.h:27:23: wx/cshelp.h:
No such file or directory
include/wx/wxPython/wxPython_int.h:28:25:
wx/dcmirror.h: No such file or directory
include/wx/wxPython/wxPython_int.h:29:21: wx/dcps.h:
No such file or directory
On Tue, 2005-09-20 at 07:29 -0700, Milos Dobic > wrote:
> Hello, I have a following problem. I am trying to
> install wxPython2.6.1.0 from source and so far I
have
> managed to compile and install wxWidgets. However,
> when I try to run the "python2.3 setup.py install"
in
> wxPython/ directory, I get quite a bit of error
> messages. Here are the last dozen or so lines that
are
> printed out: