Gene Buckle wrote:
> /bin/sh ../../libtool ...
>
> ../../libtool: s%^.*/%%: No such file or directory
> ../../libtool: -e: command not found

First off, everyone else's suggestions of using your distribution's
glut are probably the right way to go (unless you are using the glut
from Red Hat 9 with the NVidia binary drivers, which don't get along).

That said, I can reproduce exactly your problem on my Red Hat 9 box.
It looks, maybe, like a bug in the custom libtool shell script that
Mesa is using.  Dunno.

Nonetheless, it's actually not hard to compile by hand.  If I didn't
goof up the line endings below, you should be able to get into the
src-glut directory and paste the following two commands:

gcc -c -I../include -I/usr/X11R6/include glut_8x13.c glut_9x15.c \
  glut_bitmap.c glut_bwidth.c glut_cindex.c glut_cmap.c glut_cursor.c \
  glut_dials.c glut_dstr.c glut_event.c glut_ext.c glut_fbc.c \
  glut_fullscrn.c glut_gamemode.c glut_get.c glut_glxext.c glut_hel10.c \
  glut_hel12.c glut_hel18.c glut_init.c glut_input.c glut_joy.c \
  glut_key.c glut_keyctrl.c glut_keyup.c glut_menu.c glut_menu2.c \
  glut_mesa.c glut_modifier.c glut_mroman.c glut_overlay.c glut_roman.c \
  glut_shapes.c glut_space.c glut_stroke.c glut_swap.c glut_swidth.c \
  glut_tablet.c glut_teapot.c glut_tr10.c glut_tr24.c glut_util.c \
  glut_vidresize.c glut_warp.c glut_win.c glut_winmisc.c layerutil.c

ar clq libglut.a *.o

You can pass a -O2 to gcc to get optimization if you want.  I strongly
doubt that it will matter at all.  You'll also note that this results
in a static library.  This is *definitely* the right way to go if
you're installing something that might be replaced by your
distribution's official copy later on.

Just drop the resulting libglut.a file into /usr/local/lib*, and the
glut.h from the include/GL directory into /usr/local/include/GL, and
you're done.  As always, my preference is to use a custom prefix for
builds rather than /usr/local.  But this is where the
plib/SimGear/FlightGear builds will look by default.

Andy



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to