Hi, > I just tried building Scribus from cvs (25 Oct) on my Slackware 9.1 system. > The first problem I had was with finding the Python header files. Slack 9.1 > has Python 2.3.1 installed, and configure only checks for 2.2 and below.
Probably because RH ships with 2.2. I was unaware that the 2.3 version was properly stable! > I got round this by adding a check for 2.3 in admin/acinclude.m4.in and > rerunning make -f Makefile.dist. Can you email me a diff of this for inclusion? > The line in question in object.h is in the declaration of PyHeapTypeObject: > PyObject *name, *slots; > > Python.h is being included after the QT headers; qt #defines slots to be > nothing; the compiler sees: > PyObject *name, *; > > and reports a syntax error. Where does Qt define slots to be nothing? I can't see it in the source of 3.2.2. It certainly would be an odd thing to have included though. > As a quick fix, I added a #undef slots before every include of Python.h > Scribus then compiled OK If as you say, Qt is defining slots as being nothing, then we'll need to add in another variable for compilation (PYTHON_22 and PYTHON_23). If you can point me in the direction though of the source where slots is defined again, I'd appreciate it. TTFN Paul -- One OS to fool them all One browser to find them One email client to bring them all And through security holes, blind them...
