LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   wxpython build errors (http://www.linuxquestions.org/questions/linux-software-2/wxpython-build-errors-380828/)

bmfan 11-07-2005 01:55 PM

wxpython build errors
 
I have been trying to build wxpython. Im running slackware 10.2 python2.4 when i get to
python setup.py build_ext --inplace --debug
part of the install it allways fails with errors below
Code:

rc/helpers.cpp:2693: error: `PyErr_SetString' cannot be used as a function
src/helpers.cpp: At global scope:
src/helpers.cpp:2700: error: syntax error before `&' token
src/helpers.cpp: In function `PyObject* wxArrayString2PyList_helper(...)':
src/helpers.cpp:2703: error: `arr' undeclared (first use this function)
src/helpers.cpp:2709: error: `PyList_Append' cannot be used as a function
src/helpers.cpp: At global scope:
src/helpers.cpp:2716: error: syntax error before `&' token
src/helpers.cpp: In function `PyObject* wxArrayInt2PyList_helper(...)':
src/helpers.cpp:2721: error: `PyList_Append' cannot be used as a function
error: command 'gcc' failed with exit status 1

I have built wypython 2.5.1 on slackware 10, since that time i have not been able to build it. ive searched this forum before as well as searching google, Ive never been able to get around this error. Ive tried building it acording to the instructions provided on the wxpython website and ive tried with slack.build scripts. always the same error. any ideas whats going on ?

lukebeales 11-21-2005 08:01 AM

I can't help with any solution, but I'm getting that same problem and have tried a few things so far. This is not on slackware either by the way so it's not just limited to that. Did you end up finding anything? If I figure it out I'll post back here.


All times are GMT -5. The time now is 01:56 PM.