PowerBook Configuration Log

by Kevin Beason

OS X 10.4 Tiger Update

Installed 10.4 upgrade
Installed XCode Tools on Tiger disc
Using Apple's X11
Wiped /sw (fink) clean, installed new fink and fink commander

Installed software on PowerBooks

McAfee Virex
Adobe CS
Microsoft Office
VirtualPC
Windows XP
Internet Explorer
Divx
Yahoo Messenger
CPUStatus
Fink (unix package installer)
XFree86 (from Fink I believe)
Xcode Tools 1.5 from connect.apple.com under Development Tools (includes gcc)
Other fink packages: sawfish, KDE, imagemagick, octave, jed, netpbm, libpng, 
  libpng3, make, openmotif3, libjpeg, freetype2, and freetype2-dev.
World of Warcraft
Neverball
Coin3D (unnecessary)

Configured

In System Prefs:
  Wireless
  Desktop background
Set hostname
Enabled root
Terminal

To configure XDarwin

Place this in ~/.xinitrc
#!/bin/sh

. /sw/bin/init.sh
xterm &
sawfish

To install SGI's Open Inventor

This manual is based upon information found here

Estimated time: 1 hour
Estimated time for me to figure it out: 4 hours

Download inventor from CVS (as of 5/2/2005) and apply the patch from the above page, mirred here. Note that this patch just changes files in apps/examples, make/ivcommondefs, and make/localrules.apple. Also, be sure to install the following fink packages: make, openmotif3, libjpeg, freetype2, and freetype2-dev.

setenv CVSROOT :pserver:oss.sgi.com:/cvs
cvs login      # (pw:cvs)
cvs checkout inventor
wget http://kevinbeason.com/scs/log/2006/ivpatch
patch -p 0 < ivpatch

Edit inventor/make/ivcommondefs to contain the following corrected definition:

IVAPPLOADDIR = $(IVROOT)/$(X11DIR)/lib/X11/app-defaults

Then configure, compile, and install inventor:

su
cd inventor
setenv IVROOT /usr/local/OpenInventor
setenv DYLD_LIBRARY_PATH $IVROOT/usr/lib
setenv FREETYPE 1
make install

# to compile examples
cd apps/examples
make

To get fonts to work, extract Microsoft TrueType fonts (found in ~beason/c/data/mscorefonts.tar.gz) to /usr/share/data/fonts, and run the inventor font linking script:

mkdir /usr/share/data
mkdir /usr/share/data/fonts
scp username@hallway-a.csit.fsu.edu:~beason/c/data/mscorefonts.tar.gz .
tar xvzf mscorefonts.tar.gz
mv mscorefonts/* /usr/share/data/fonts
rmdir mscorefonts mscorefonts.tar.gz
inventor/libFL/freetype/linkTrueType.sh
Finally, put this in your .bashrc:
export PATH=$PATH:/usr/local/OpenInventor/usr/bin
export DYLD_LIBRARY_PATH=/usr/local/OpenInventor/usr/lib
export MANPATH=$MANPATH:/usr/local/OpenInventor/usr/man

Installing Pane

From Garret Reece:

Edit /usr/include/gcc/darwin/3.3/c++/cmath, moving the two lines:

#undef isinf
#undef isnan
so that they occur after the second
#if _GLIBCPP_USE_C99
namespace __gnu_cxx
{
...
}
#endif
block.

Thanks, Garret.