[Scribus] Solaris 10 - getting really close

Rainer Heilke rheilke
Wed Mar 9 15:13:31 CET 2005


Craig Ringer wrote:

>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.
>  
>
Cool. Sorry about not responding last night--ran later than planned.

The headers issue sounds like the mkheaders thing. Do:

find /usr/local -name mkhead\* -print

and, as root, run the command whereever it finds it.

I'll try to follow up more tonight. Running late for work...

Rainer




More information about the scribus mailing list