#9 configure fails on Redhat 6.2 with DRI Voodoo3 X

open
nobody
None
5
2000-08-13
2000-08-13
Anonymous
No

Configure fails on Redhat 6.2 with DRI Voodoo3 X
however if compiled with the Makefile.X11 it compiles and runs fine.

Great pice of software!!

checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for glNewList in -lGL... yes
checking for gluLookAt in -lGLU... no
checking for gluLookAt in -lMesaGLU... no
configure: error: GLU library was not found

config.log
configure:2545: checking for gluLookAt in -lGLU
configure:2564: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lGLU -lGL -lSM -lICE -L/usr/X11R6/lib -lXmu -lXi -lXext -lX11 1>&5
/usr/X11R6/lib/libGLU.so: undefined reference to `tan'
/usr/X11R6/lib/libGLU.so: undefined reference to `acos'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2553 "configure"
#include "confdefs.h"

Discussion

  • neil prockter
    neil prockter
    2001-03-14

    Logged In: YES
    user_id=130080

    looks like its missing -lm

    the maths library