Cool.
I have Solaris 10 installed now, and have managed to cobble together enough of my "required" apps that I can work on it while I try to get this stuff working. I’m actually unable to get the `gcc’ from sunfreeware.com to work - I can’t find critical headers like ’new’ in the package. However, I just got Qt built with the compiler in /usr/sfw/bin.
I was able to fix that problem you were having by changing ’CS’ to ’CSx’ wherever it’s used in src/xml/qxml.cpp . It turns out that somewhere, somebody has done a:
#define CS 15
resulting in preprocessed output like this:
bool QXmlSimpleReader::parseChoiceSeq() { const signed char Init = 0;
const signed char Ws1 = 1;
const signed char 15 = 2; <-- oops!
const signed char Ws2 = 3;
const signed char More = 4;
instead of:
bool QXmlSimpleReader::parseChoiceSeq() { const signed char Init = 0;
const signed char Ws1 = 1;
const signed char CS = 2;
const signed char Ws2 = 3;
const signed char More = 4;
and causing that bizarre error message. I expect a ’#undef CS’ for that file might be safe too, but figured changing the variable name would be safer since it’s just a local variable.
Anyway, now that that’s working, on to trying to make Scribus build.—Craig