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

Craig Bradney cbradney at zip.com.au
Sat Nov 26 08:50:30 UTC 2011


On 11/26/11 9:25 AM, Martin Costabel wrote:
> On 25/11/11 07:06, Craig Bradney wrote:
> []
>> $ gcc -v
>> Using built-in specs.
>> Target: i686-apple-darwin11
>> Configured with:
>> /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure
>> --disable-checking
>> --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man
>> --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm-
>> --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
>> --with-slibdir=/usr/lib --build=i686-apple-darwin11
>> --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local
>>
>> --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11
>> --target=i686-apple-darwin11
>> --with-gxx-include-dir=/usr/include/c++/4.2.1
>> Thread model: posix
>> gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build
>> 2335.15.00)
>>
>> thats on my iMac which was upgraded from Snow Leopard.. but it also
>> works on my Air which was Lion
>> from the start.
> 
> Good for you. It doesn't help me, unfortunately. My llvm version is
> slightly higher:
> 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?

> /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?

> 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?

thanks
Craig




More information about the scribus-dev mailing list