We chose to build mesa. The source code from mesa3d.org includes glut. Make sure you get both the lib and the demos packages.
The configure script may barf with the message:
checking host system type... configure: error: can not guess host type; you must specify one
The fix is to get a new copy of config.guess and config.sub. Copy these files to the top of the mesa sources, and re-run configure.
In late July 2001, Mesa 3.5 failed to build; using mesa 3.4.2.
Run ranlib on /usr/local/lib/libglut.a and libGLU.a (maybe more?)
Must build mesa with xfree86 4.1, otherwise no GLX extensions.
This is not MNI software, but it was convenient to include in the bundle. The NetCDF library is from UCAR. We include version 3.5.0, built with prefix=/usr/local/mni.
minc ---- Built unreleased CVS version. Configure using --prefix=/usr/local/mni progs/minccalc does not build; lack of floorf() function. Run ranlib on libminc.a and libvolume_io.a after install. bicpl ----- Built version 1.3.6. Configure using --disable-shared Does not build things in tools; lack of drand48() function. * just ignore the error Display ------- In line 174 of menu/menu.c, change the source from static STRING default_menu_string = #include "Display.menu.include" ; to static STRING default_menu_string = "";