Notes on Compiling in Ubuntu 8.04
Posted: 11.07.2008, 07:33
I know that there's an Ubuntu package, this was just for fun... in running "./configure --with-glut" I first got this error message:
configure: error: zlib not found.
Which oddly enough seems to have been fixed by installing X Windows libraries, the packages libxi-dev and libxmu-dev (this was sort of indicated by the output in config.log).
Next error I got was
gl.h not found
which was solved by installing libglut3-dev, then I got
configure: error: jpeg library not found
configure: error: png library not found
which were fixed by installing libjpeg-dev and libpng-dev respectively. After that configure completed successfully, as did make and make install, and I was able to run the resulting binary.
For appropriate Google-mojo here are a couple of pages that helped me along the way:
http://www.redhat.com/archives/fedora-extras-list/2006-January/msg01346.html
http://ubuntuforums.org/showthread.php?t=76441
configure: error: zlib not found.
Which oddly enough seems to have been fixed by installing X Windows libraries, the packages libxi-dev and libxmu-dev (this was sort of indicated by the output in config.log).
Next error I got was
gl.h not found
which was solved by installing libglut3-dev, then I got
configure: error: jpeg library not found
configure: error: png library not found
which were fixed by installing libjpeg-dev and libpng-dev respectively. After that configure completed successfully, as did make and make install, and I was able to run the resulting binary.
For appropriate Google-mojo here are a couple of pages that helped me along the way:
http://www.redhat.com/archives/fedora-extras-list/2006-January/msg01346.html
http://ubuntuforums.org/showthread.php?t=76441