wxPython on IRIX6.5

Michel Sanner sanner at scripps.edu
Thu Oct 5 22:32:43 EDT 2000


Hello !

has anyone succeeded in building wxPython for sgi IRIX6.5 ???
I have spent some quality time here trying to get this sthing running !

after I painfully got glib1.2.7 and gtk+-1.2.7 to build and install I managed
to build wxGTK (after a good number of make clean, configure, make loops !)

I finally got to build wxPython ... but I am stuck !
when I try to compile it, any Python C-API function creates an error saying
that the function should have no arguments !

 CC  -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD -I. `wx-config --cflags`
-I/tsri/python/share/include/python1.5
-I/tsri/python/sgi4DIRIX646/include/python1.5
-I/mgl/prog/src/gtk/wxPython-2.2.1/src -O -OPT:Olimit=0 `gtk-config --cflags`
 -c helpers.cpp
"/usr/include/stdarg.h", line 119: warning(1047): macro redefined differently
  #define va_start(vp, parmN) (vp = ((va_list)&parmN + sizeof(parmN)))
          ^

"/usr/include/stdarg.h", line 124: warning(1047): macro redefined differently
  #define va_arg(vp,mode)       ((mode *)(void *)( vp = (va_list) \
          ^

"helpers.h", line 85: error(1136): too many arguments in function call
          Py_DECREF(m_obj);
          ^

"helpers.cpp", line 136: error(1136): too many arguments in function call
      PyObject* sysargv = PySys_GetObject("argv");

"helpers.cpp", line 137: error(1136): too many arguments in function call
      int argc = PyList_Size(sysargv);
                             ^

"helpers.cpp", line 141: error(1136): too many arguments in function call
          argv[x] = PyString_AsString(PyList_GetItem(sysargv, x));
                                                     ^


and it goes on and on ! ....
I have built many extensions for Python wrapping C and C++ code .. but I have
no clue what the problem is here :( HELLLLLP

-michel


-- 

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

>>>>>>>>>> AREA CODE CHANGE <<<<<<<<< we are now 858 !!!!!!!

Michel F. Sanner Ph.D.                   The Scripps Research Institute
Assistant Professor			Department of Molecular Biology
					  10550 North Torrey Pines Road
Tel. (858) 784-2341				     La Jolla, CA 92037
Fax. (858) 784-2860
sanner at scripps.edu                        http://www.scripps.edu/sanner
-----------------------------------------------------------------------





More information about the Python-list mailing list