having trouble installing wxPython2.6 from source

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

And what are the first ones?

Ricardo

···

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

--- Ricardo Pedroso <ricardo.pedroso@netvisao.pt>
wrote:

output (32.9 KB)

···

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:

And what are the first ones?

Ricardo

---------------------------------------------------------------------

To unsubscribe, e-mail:
wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwidgets.org

__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005

The second line of the attached output is:
sh: line 1: None: command not found

This mean that wxPython cannot found the wx-config script.
This wx-config belongs to wxWidgets and is found
in /where/you/install/wxWidgets/bin

So run in the wxPython something like this:
$ python2.3 setup.py install
WX_CONFIG=/where/you/install/wxWidgets/bin/wx-config

or edit config.py and look for WX_CONFIG and change it's value.

Ricardo

···

On Tue, 2005-09-20 at 11:25 -0700, Milos Dobic wrote:

The output is quite lengthy so I included it in the
attached file called "output". The first few error
line s are the following: