compiling Scribus with CMAKE under mac osx (ppc)

Previous topic - Next topic

nufets

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:
cmake -DCMAKE_OSX_ARCHITECTURES="ppc" -DCMAKE_INSTALL_PREFIX:PATH=/Applications && make install
however, when starting up the rogram it immediatly crashed. the crashlog gave me the following:
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