gzip -dc ./AFNI_latest.tgz | /sw/bin/tar -xf - --no-same-owner --no-same-permissions cd afni_src cp ../Makefile.macosx_10.4_ppc64 ./Makefile # make and log warnings, since some will help in debugging 64-bit problems (like pointer/integer casts) echo "Compiling AFNI..." date >> ../make_all_stderr.log make all 2>> ../make_all_stderr.log echo "Compiling AFNI plugins..." date >> ../make_plugins_stderr.log make plugins >> ../make_plugins_stderr.log echo "Compiling SUMA..." date >> ../make_suma_exec_stderr.log make suma_exec >> ../make_suma_exec_stderr.log echo "To install, cd to the afni_src directory, then:" echo "'make install' to install AFNI" echo "'make install_lib' to install AFNI static libs" echo "'make install_plugins' to install AFNI plugins" echo "'make suma_install' to install SUMA" echo "Everything is installed into afni_src/macosx_10.4_ppc64" echo "Copy/move them to wherever you want AFNI installed afterwards."