Thursday, October 06, 2005

Smack that SAS...

After hours upon hours of compiling, updating and otherwise working my laptop into the ground... I have SAS 6.1.0 working under 10.4.

I can't take much of the credit... I followed this and merely adapted it to 10.4 (instead of 10.3 or 10.2 as in the instructions).

Here is how it went:

Download the most up to date version of xmm-newton-sas from here.

There are four files needed:

xmmsas_XXXXXXXX_1832-common-config.tar.gz

xmmsas_XXXXXXXX_1832-common-doc.tar.gz

xmmsas_XXXXXXXX_1832-powerpc-apple-darwin6.8-bin.tar.gz

xmmsas_XXXXXXXX_1832-powerpc-apple-darwin6.8-libextra.tar.gz

The X's are replaced with the date of the most recent build. If you go through the ftp site, the path is pretty simple to follow.

Extract everything to some folder, such as ~/SAS/.

Use the following commands to set your paths:

export SAS_DIR=~/SAS/xmmsas_20041122_1832
export SAS_PATH=$SAS_DIR
. $SAS_DIR/sas-setup.sh
export DYLD_LIBRARY_PATH=$SAS_DIR/libextra:$DYLD_LIBRARY_PATH

replace ~/SAS/ with your path, and xmmsas_blah blah with the version you have.

After you get THAT working... make sure your fink(and X11.app) installation is up to date. If so, get the qt3 package.

sudo fink install qt3

Then go watch a movie. Depending on the state and speed of your system, this could take a while to d/l and compile the necessary packages. On my 867mhz G4 it took roughly 2.5-3 hours.

export DYLD_LIBRARY_PATH=/sw/lib:$DYLD_LIBRARY_PATH

to update tell your SAS installation to use your newly compiled DYLD libraries instead of the older ones that came with sas.

If you get something similar to this error:

dyld: Symbol not found: __cg_jpeg_resync_to_restart .... then do:

sudo fink remove libjpeg.

Updating libtool might help as well (sudo fink update libtool).

Don't ask me WHY removing libjpeg works... I'm not really sure. Hope this helps.

No comments: