[scribus-dev] Scribus on Lion (Was Re: Leopard OSX 10.5)

Martin Costabel costabel at wanadoo.fr
Sat Nov 26 11:01:10 UTC 2011


On 26/11/11 09:50, Craig Bradney wrote:
> On 11/26/11 9:25 AM, Martin Costabel wrote:
[]
>> gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build
>> 2336.1.00). It is from xcode-4.2.1.
>> I wonder if this can be the reason it doesn't work for me.
>
> Strange .. how is yours newer?

I don't know, maybe xcode-4.2.1 vs -4.2 ?

>> /sw/src/fink.build/scribus-x11-1.4.0-2.rc6/scribus-1.4.0.rc6/scribus/desaxe/digester.cpp:20:
>
> scribus-x11? Is the -x11 because you are building for fink distribution? or?

Yes, but the same problems appear for the aqua variant. I try to 
maintain both variants for Fink. On 10.5 and 10.6, I have no problems 
building both of them.

>> I can compile the file OK with g++-fsf-4.6 from Fink, but I cannot build
>> scribus with gcc-4.6, because the build process insists on placing the
>> flag "-arch x86_64" on the compiler line, which is wrong syntax for
>> gcc-4.6. It does this already in the cmake configure phase which
>> therefore fails, and I have not yet found a way to prevent cmake from
>> doing this.
>
> what's the gcc-4.6 version of this flag?

It is "-march=CPU-TYPE", where "CPU-TYPE" for Lion would be one of 
"nocona", "core2" or perhaps "native" or "corei7". On Lion, there is 
only one architecture, and fsf-gcc does not build fat binaries, so this 
architecture flag is basically useless.

Martin



More information about the scribus-dev mailing list