[Scribus] Solaris 10 - getting really close

Craig Ringer craig
Tue Mar 8 18:22:51 CET 2005


On Mon, 2005-03-07 at 22:32 -0700, Rainer Heilke wrote:

> I won't be able to play more until Thursday, but at that point I can try 
> playing with font paths.

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 Ringer





More information about the scribus mailing list