For a computer graphics class , I needed to build PBRT . Being a Mac guy, I decided to build it for Mac OS X. In addition, I wanted to make sure I was using the latest version of at least PBRT (it's at 1.0.3 as of this writing). I also wanted to use Fink as much as possible for any dependencies. Getting the PBRT source code To do this, you will at least need to grab the source code for v1.0.3 from PBRT's downloads page . If you want to try and of the sample scenes, however, you will need to grab them from the CD that came with the book. After unpacking it, I moved the new folder to ~/pbrt . If you want it somewhere else, make sure to change the PBRT_SEARCHPATH environmental variable in the next step accordingly. Setting the environmental variables In Mac OS X, I believe that if a .profile file exists in your user folder, any .bashrc file is ignored. It could also be that .bashrc is just plain ignored. In any case, Bash in Mac OS X likes using .profile , so putting this...