Author Topic: Help a linux n00b, part 1,771,561  (Read 2250 times)

0 Members and 1 Guest are viewing this topic.

Offline Annorax

  • 27
  • Wistful General
    • Steam
Help a linux n00b, part 1,771,561
Compiling via directions on the wiki. Autogen.sh step fails with this odd OpenGL feature error. How can I fix it?

Code: [Select]
annorax@squirrel-debian:~/fs2_open$ ./autogen.sh
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

processing .
Running aclocal-1.9  ...
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
Running automake-1.9 --add-missing --copy --foreign  ...
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
code/Makefile.am: installing `./depcomp'
configure.ac:13: installing `./config.guess'
configure.ac:13: installing `./config.sub'
Running autoconf...
Running ./configure ...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
Using Unix defines (for linux-gnu)
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for socklen_t... yes
checking for std::ios_base... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.6... yes
checking for glBindBufferARB in -lGL... no
configure: error: *** OpenGL version does not have the required features!! (ie.glBindBufferARB()) ***

 
Re: Help a linux n00b, part 1,771,561
Unless I'm mistaken, it looks as if you don't have a recent enough version of OpenGL.  What sort of video card do you have, and have you installed the proprietary drivers for it?

 

Offline Annorax

  • 27
  • Wistful General
    • Steam
Re: Help a linux n00b, part 1,771,561
Video card's an ancient 128mb nVidia GeForce 3. Proprietary drivers were just installed two days ago, so I know it's not that.

I do know I'm still running a 2.4.x kernel... do I need 2.6.x?

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Help a linux n00b, part 1,771,561
Kernel version wouldn't matter.  Most likely it's just seeing the default GL libs installed with X (Mesa3D) and not the NVIDIA versions.  Did you use NVIDIA's installer or some other method?  If you used NVIDIA's installer then you might want to install again and see if it can fix the problem automatically.  If you used special packages for your distribution instead then make sure that there isn't a startup script to ready the libs or something.  I know that the Fedora Core NVIDIA drivers (from livna.org) have an init script that must be run before the drivers/libs are actually active.

 
Re: Help a linux n00b, part 1,771,561
In case you're using drivers obtained from the Debian repositories, the nVIDIA Linux reference drivers can be found at:
http://www.nvidia.com/object/linux_display_ia32_1.0-8178.html

These should work with any current distribution (except the just released Fedora Core 5, but I digress).  Installation is as easy as
Code: [Select]
sh NVIDIA-Linux-x86-1.0-8178-pkg1.run
And the installer will step you through the rest of the process.  Apologies if you've already gone through this.  :)