Follow this guide:
[link|http://www.dizwell.com/prod/node/52|http://www.dizwell.com/prod/node/52]
But add "libmotif3" to the list of packages to install at the beginning, and add these two commands:
ln -s /lib/libgcc_s.so.1 /lib/libgcc_s.so
ln -s /usr/bin/basename /bin/basename
Doing so gets rid of the 2 installation errors he talks about.