gmurray
1/15/2006 9:51:00 PM
Requirements for using opengl are the opengl LIBRARIES (libGL,libGLU,
and some applications use glut) and the ruby WRAPPER such as
opengl-0.32
and HEADERS for ruby.
You need the headers from one of:
{first look in the libraries /usr/local/lib/ruby/1.8/i686-linux/ruby.h
(substitute for i686-linux your arch)
Ruby should find it if it is there, but you can use a link to it.}
OR
{If it is not there, and ruby on your system is installed from
packages,
the header files are in a separate package with '-dev' in the name.
Install that package.}
OR
{The headers that are required are in the top directory of the ruby
source
package. You can link/copy the files from the ruby source for the
version you are using.}
Older versions of ruby also used some other files that were provided in
the top directory of the source package.
Regarding the 'who knows what make does', there should never be
a file 'Makefile' in the top directory of a package that contains the
file 'extconf.rb' The purpose of executing 'ruby extconf.rb' is to
verify
that requirements have been met on the system. If all conditions are
met,
then a Makefile is created. If not, there is no Makefile.
I do not know about special considerations for Tiger.
There are many examples in the directory 'sample' of the wrapper.
Best regards
Gerald