Author Topic: compiling Scribus with CMAKE under mac osx (ppc)  (Read 3361 times)

nufets

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
compiling Scribus with CMAKE under mac osx (ppc)
« on: March 30, 2011, 10:26:13 pm »
hello,

i've downloaded the last release candidate from sourceforge and as i'm still on ppc i tried to compile the program for ppc (os 10.5.8) with CMAKE. basically that went fine and i was able to build scribus with the following build-sequence:
Code: [Select]
cmake -DCMAKE_OSX_ARCHITECTURES="ppc" -DCMAKE_INSTALL_PREFIX:PATH=/Applications && make installhowever, when starting up the rogram it immediatly crashed. the crashlog gave me the following:
Code: [Select]
Dyld Error Message:
  Library not loaded: /usr/local/lib/libfreetype.6.dylib
  Referenced from: /Applications/Scribus1.4.0.rc3.app/Contents/MacOS/Scribus
  Reason: image not found
... of course there's no libfreetype.6.dylib in /usr/local/lib but there's one in /opt/local/lib (must have installed it from macports. don't remember when or why). so, what does a proper build-sequence have to look like so this library is being looked up in the right place? ( i tried  -DFREETYPE_INCLUDE_DIR=/opt/local/lib but that doesn't seem to be right ...).

any hints highly appreciated. thanks!

stefan
« Last Edit: March 30, 2011, 10:27:49 pm by nufets »