Page 1 of 1

GL/glut.h: No such file or directory

Posted: Thu Feb 07, 2013 7:53 pm
by Otyugh
When I try to install Crack Attack (from http://www.aluminumangel.org/attack/dl_ii_linux.html), I juste get this :

Code: Select all

otyugh@otyugh-desktop ~/Téléchargements/crack-attack-1.1.10 $ ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) 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++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for limits.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for netdb.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for X... (cached) libraries , headers 
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for socket... (cached) yes
checking for poll... (cached) yes
creating ./config.status
creating Makefile
creating src/Makefile
creating data/Makefile
creating doc/Makefile
creating src/config.h
src/config.h is unchanged
otyugh@otyugh-desktop ~/Téléchargements/crack-attack-1.1.10 $ make
Making all in src
make[1]: Entering directory `/home/otyugh/Téléchargements/crack-attack-1.1.10/src'
c++ -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/crack-attack/"'    -O6 -s -c Attack.cxx
Attack.cxx:26:21: fatal error: GL/glut.h: No such file or directory
compilation terminated.
make[1]: *** [Attack.o] Error 1
make[1]: Leaving directory `/home/otyugh/Téléchargements/crack-attack-1.1.10/src'
make: *** [all-recursive] Error 1
I think it's OpenGL related problem, isn't it ?

Re: GL/glut.h: No such file or directory

Posted: Sat Feb 09, 2013 4:35 am
by xenopeek
On which Linux Mint version are you? Or LMDE? The package crack-attack is available in my Software Manager for easy installation.

Re: GL/glut.h: No such file or directory

Posted: Sat Feb 09, 2013 6:54 am
by Otyugh
xenopeek wrote:On which Linux Mint version are you? Or LMDE? The package crack-attack is available in my Software Manager for easy installation.
I downloaded Mint last week. So I've a Nadia(64).
I know i've done some strange things around my graphical driver. At the end of the day all 3D games was running smoothly, but I think I broke some other things.

I wonder what I can do now. Because "using Software Manager installation" gives me only a "buged program" that don't work, actually. :(

I reinstaled "glut".
Now I get theses :

Code: Select all

Making all in src
make[1]: Entering directory `/home/otyugh/Téléchargements/crack-attack-1.1.10/src'
c++ -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/crack-attack/"'    -O6 -s -c Attack.cxx
In file included from /usr/include/c++/4.7/sstream:581:0,
                 from TextureLoader.h:7,
                 from Attack.cxx:45:
/usr/include/c++/4.7/bits/sstream.tcc: In member function ‘virtual std::basic_stringbuf<_CharT, _Traits, _Alloc>::int_type std::basic_stringbuf<_CharT, _Traits, _Alloc>::overflow(std::basic_stringbuf<_CharT, _Traits, _Alloc>::int_type)’:
/usr/include/c++/4.7/bits/sstream.tcc:112:39: error: expected unqualified-id before ‘(’ token