build errors
Posted: 21.05.2002, 15:47
Hello,
I am trying to build celestia under redhat 6.2 and 7.3 and I have not been able to get past ./configure. In both cases it complains about missing gl.h header files and doesn't detect gtk. I have enclosed the stdout of ./configure from the 6.2 machine on which I have Mesa-3.4.1-1, Mesa-devel-3.4.1-1 and gtkglarea-1.2.1-2, gtkglarea-devel-1.2.1-2 installed.
[pmcevoy@portugal celestia-1.2.4]$ ./configure
creating cache ./config.cache
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 host system type... i686-pc-linux-gnu
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 ranlib... ranlib
checking whether to include debugging code... ./configure: test: ==: binary operator expected
no
checking whether to be pedantic... ./configure: test: ==: binary operator expected
no
checking whether to do profiling... ./configure: test: ==: binary operator expected
no
checking whether to disable GTK.... ./configure: test: ==: binary operator expected
yes
./configure: test: ==: binary operator expected
./configure: test: ==: binary operator expected
./configure: test: ==: binary operator expected
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
./configure: test: ==: binary operator expected
checking for GL/gl.h... no
configure: error: No gl.h found. See INSTALL file for ddetails about how to correct this problem.
[pmcevoy@portugal celestia-1.2.4]$
I have also tried running ./configure --with-gl-lib=/usr/X11R6/lib --with-gl-inc=/usr/X11R6/include --with-gtk. This did not seem to have any effect.
Any help you could offer me would be greatly appreciated.
Thank you,
Patrick McEvoy
I am trying to build celestia under redhat 6.2 and 7.3 and I have not been able to get past ./configure. In both cases it complains about missing gl.h header files and doesn't detect gtk. I have enclosed the stdout of ./configure from the 6.2 machine on which I have Mesa-3.4.1-1, Mesa-devel-3.4.1-1 and gtkglarea-1.2.1-2, gtkglarea-devel-1.2.1-2 installed.
[pmcevoy@portugal celestia-1.2.4]$ ./configure
creating cache ./config.cache
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 host system type... i686-pc-linux-gnu
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 ranlib... ranlib
checking whether to include debugging code... ./configure: test: ==: binary operator expected
no
checking whether to be pedantic... ./configure: test: ==: binary operator expected
no
checking whether to do profiling... ./configure: test: ==: binary operator expected
no
checking whether to disable GTK.... ./configure: test: ==: binary operator expected
yes
./configure: test: ==: binary operator expected
./configure: test: ==: binary operator expected
./configure: test: ==: binary operator expected
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
./configure: test: ==: binary operator expected
checking for GL/gl.h... no
configure: error: No gl.h found. See INSTALL file for ddetails about how to correct this problem.
[pmcevoy@portugal celestia-1.2.4]$
I have also tried running ./configure --with-gl-lib=/usr/X11R6/lib --with-gl-inc=/usr/X11R6/include --with-gtk. This did not seem to have any effect.
Any help you could offer me would be greatly appreciated.
Thank you,
Patrick McEvoy