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

Allen McBride allencmcbride at gmail.com
Tue Sep 16 07:29:00 CEST 2008


Louis, thanks for your advice about my last problem... I decided to  
try 1.3.5svn to see if that might help, but I'm having some trouble.   
I'm getting the following errors when running make:

Linking CXX executable Scribus
ld: warning in /opt/local/lib/libcairo.dylib, file is not of required  
architecture
ld: warning in /opt/local/lib/libz.dylib, file is not of required  
architecture
ld: warning in /opt/local/lib/libfreetype.dylib, file is not of  
required architecture
ld: warning in /opt/local/lib/libfontconfig.dylib, file is not of  
required architecture
ld: warning in /opt/local/lib/liblcms.dylib, file is not of required  
architecture
ld: warning in /opt/local/lib/libxml2.dylib, file is not of required  
architecture
ld: warning in /opt/local/lib/libtiff.dylib, file is not of required  
architecture
ld: warning in /opt/local/lib/libjpeg.dylib, file is not of required  
architecture
ld: in /opt/local/lib/libJPEG.dylib, file is not of required  
architecture for architecture ppc
collect2: ld returned 1 exit status
ld: warning, duplicate dylib /opt/local/lib/libxml2.2.dylib
ld: warning, duplicate dylib /opt/local/lib/libz.1.dylib
lipo: can't open input file: /var/folders/FS/FSw4HtNEEGWI3zVaysUGaU++ 
+TI/-Tmp-//ccjeEP8W.out (No such file or directory)
make[2]: *** [scribus/Scribus] Error 1
make[1]: *** [scribus/CMakeFiles/Scribus.dir/all] Error 2
make: *** [all] Error 2

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?

Thanks,
Allen





More information about the scribus mailing list