[scribus] help compiling 1.3.5svn under Mac 10.5 Intel?

Allen McBride allencmcbride at gmail.com
Wed Sep 17 06:58:46 CEST 2008


Thanks, Pierre and Craig.  I deleted the scribus build I was trying to  
work with, did the svn check-out thing again, modified those three  
lines as suggested (took out "ppc;" and changed "10.4u" to "10.5"),  
and did cmake, make, and make install again.  Your changes caused the  
whole build process to seemingly go smoothly this time.  (The only  
hitch was that make install tried to put stuff in /Users/username/ 
Applications/Scribus.App, so I modified cmake_install.cmake to put  
things in /Applications/Scribus.App, as I assume was intended.)  But  
alas, when I try to run Scribus I get an error saying, "You can't open  
the application 'Scribus.App' because it is not supported on this  
architecture."

Any ideas?  This seems really weird to me, as the only changes I made  
were to tell the thing to build on precisely my architecture.

(There's only one other thing I can think of that I might have screwed  
up... a way in which I deviated from the official instructions... when  
running cmake the first time around, it seemed to be wanting "boost"  
and "aspell".  So I installed them using MacPorts, even though the  
official Scribus install instructions didn't mention these libraries.   
Should I not have installed these?)

Thanks,
Allen


On Sep 16, 2008, at 2:44 PM, Craig Bradney wrote:

> On Tuesday 16 September 2008 11:21:18 Craig Bradney wrote:
>>> ----- Original Message -----
>>> Subject: Re: [scribus] help compiling 1.3.5svn under Mac 10.5 Intel?
>>> From: Pierre Marchand <capparis at free.fr>
>>> To: "Scribus User Mailing List" <scribus at lists.scribus.net>
>>> Date: 16-09-2008 10:22
>>>
>>> Vous (Allen McBride) avez écrit :
>>>> I Googled about this, and I get the idea that I'm attempting to  
>>>> make a
>>>> Universal binary even though some of my libraries are Intel- 
>>>> only.  The
>>>> solution, I gather, is to tell the process that I don't want a
>>>> universal binary, but I don't know a good way to do this.   
>>>> Apparently
>>>> people encountering this problem with other projects have been  
>>>> able to
>>>> just remove "arch ppc" flags from various commands.  But grep says
>>>> there are 78 instances of "arch ppc" in my build directory tree  
>>>> after
>>>> running cmake, scattered throughout a bunch of subdirectories.  I  
>>>> know
>>>> if I were better at sed and shell scripts I could remove all of
>>>> them... but is there a way to fix the problem upstream by telling
>>>> cmake I don't want a Universal?
>>>
>>> To be honest, Mac users are not very expected to build Scribus by
>>
>> themselves.
>>
>>> So there are some hard-coded directives in CMakeLists.txt to ease  
>>> work of
>>
>> the
>>
>>> Mac bundle maintainer. Conclusion, dig into the file
>>> ($SCRIBUS_SOURCES/CMakeLists.txt) and replace
>>> "
>>>  SET(CMAKE_OSX_ARCHITECTURES "ppc;i386" )
>>>  SET(CMAKE_TRY_COMPILE_OSX_ARCHITECTURES "ppc;i386" )
>>>  SET(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.4u.sdk")
>>> "
>>> with values that fit better to your setup.
>>
>> Changing those values to just show i386 should fix it.
>>
>> I have a fix on my build machine that I will commit tonight.
>>
>
> Committed
>
> Craig
>
> _______________________________________________
> scribus mailing list
> scribus at lists.scribus.net
> http://lists.scribus.net/mailman/listinfo/scribus





More information about the scribus mailing list