http://macdylibbundler.sourceforge.net/
My suspicion is that you guys are getting the segfault because I compiled the executable for OS 10.8 Unfortunately I don't see how compiling xboard with min os to 10.6 will help because GTK and cairo and all 6 trillion of their supporting libraries were setup in macports for my OS... unless you have an idea?
[EDIT]
Actually i have one!
follow my steps and we can create one specifically for os 10.6 then it should work for later OS's.
I guess step one would be to setup mac ports properly
ports I used and in this order
Code: Select all
sudo port install automake
sudo port install autoconf
sudo port -v install pango +builtin_modules +quartz
sudo port -v install gtk2 +quartz
sudo port -v install librsvg +quartz
it's not a bad idea to go to gtk/xboard.h and edit to find its conf file in the executable's directory.
#define SETTINGS_FILE "."
./configure --with-gtk
make
rename executable to xboard-bin and copy replace bin inside my app under
Xboard.app/Contents/MacOS/
delete the old lib folder under
Xboard.app/Contents/Resources/lib
Then download the dylib package tool
http://macdylibbundler.sourceforge.net/
sudo make install
run this command
Code: Select all
dylibbundler -od -cd -b -x <directory>/xboard.app/Contents/MacOS/xboard-bin -d <dirctory>/xboard.app/Contents/Resources/lib -p @executable_path/../Resources/lib
then you would have to compile fairymax using
cc -O2 -s -DINI_FILE=\"./data/fmax.ini\" fmaxi.c -o fmax
copy that bin as well into
Xboard.app/Conetents/MacOS
and that should be it. Everything else should be actually already compiled with 10.6 as target. As they were from my previous install and rigged to be so.