Hey i’m just trying to install the GLUT package, and I’m fairly new to linux (actually, that’s an understatement, i’m really new).
In any case, I can get to step 6 (of 7) in the README succesfully, however then I approach an ambiguity. Here it is:
STEP 3 READS:
Change into $GLUT_HOME/lib/glut/. and make a backup copy of
the Makefile. Now, take the Makefile out of the archive and
replace the old one.
I’m assuming the following:
archive == glut-3.7/linux/ (i’m installing this for redhate 8.somethingrather)
THEN STEP 6 READS
Now, back up to $GLUT_HOME/. and:
make
This will make all the example programs.
here i’m assuming that $GLUT_HOME/. == $GLUT_HOME/linux
if this is true, then wasn’t i suppose to remove the makefile from the linux directory and place it elsewhere, making step 6 impossible to do.
and even if i left the makefile there, i just get an error message saying i’m missing a particular .o file.
I had to make the second assumption to get to step 6 so I think i’m right there.
anyways, thanks for the help, post in here or email me at alevin@ualberta.ca thanks!
for ease, here is the steps in the README:
-
Change into $GLUT_HOME/. and make a backup copy of the
Glut.cf file. Then, take the copy from this archive and move it
into $GLUT_HOME.-
Run the script to build all the makefiles:
./mkmkfiles.imake
-
Change into $GLUT_HOME/lib/glut/. and make a backup copy of
the Makefile. Now, take the Makefile out of the archive and
replace the old one. -
WHILE STILL IN THE $GLUT_HOME/lib/glut/. DIRECTOR, RUN:
make
This should build the shared library ‘libglut.so.3.7’.
IF YOU HAVE PROBLEMS WITH HEADER FILE DEPENDENCIES, try
doing:make depend
makeThis should rebuild the Makefile dependencies.
If this does not work, remove all the lines in “Makefile” below
the line saying “DO NOT DELETE” (yes, disregard what the line
says). Then try “make depend; make” -
Make two symbolic links:
ln -s libglut.so.3.7 libglut.so.3
ln -s libglut.so.3.7 libglut.so -
Now, back up to $GLUT_HOME/. and:
make
This will make all the example programs.
-
Add the line from archive file ‘path’ to your .profile, or
better to your systemwide (/etc/profile). Then logout out and
back in again (to refresh your path.)
-