I've had no joy with the compiling on Mandriva - the standard output bits that depress me are:
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.0.1... yes
checking for SDL_JoystickOpen... no
*** This version of SDL doesn't have joystick support.
*** Configuring without joystick support.
Using SDL Windowing System
checking for Mix_OpenAudio in -lSDL_mixer... no
*** SDL_mixer not found. Configuring without audio support.
checking for GL library... yes
checking for glXGetProcAddressARB... yes
checking for GLU library... yes
checking for GL/gl.h... yes
checking for glut32 library... no
checking for glut library... yes
checking GL/glut.h usability... no
checking GL/glut.h presence... no
checking for GL/glut.h... no
configure: error: Cannot find GL/glut.h
Don't know why it can't find GL/glut.h, if I urpmf to find it I get
libmesaglut3-devel:/usr/include/GL/glut.h
libmesaglut3-devel:/usr/include/GL/glutf90.h
libMesaglut3-devel:/usr/X11R6/include/GL/glut.h
libMesaglut3-devel:/usr/X11R6/include/GL/glutf90.h
Anyway, now stuck.
Output log attached:
Mandriva in sulk mode - can't find GL/glut.h
-
- Hunter
- Posts: 72
- Joined: Mon Mar 08, 2004 7:46 pm
Mandriva in sulk mode - can't find GL/glut.h
You do not have the required permissions to view the files attached to this post.
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
-
- Trader
- Posts: 20
- Joined: Sun Aug 12, 2007 12:30 pm
If it's any help, on Kubuntu Feisty, the package is freeglut3-dev
Edit: Here's the freeglut page: http://freeglut.sourceforge.net/
Edit2: FYI, although the package on my system is called freeglut3, it's version is 2.4.0, same as the latest on the freeglut homepage.
Edit: Here's the freeglut page: http://freeglut.sourceforge.net/
Edit2: FYI, although the package on my system is called freeglut3, it's version is 2.4.0, same as the latest on the freeglut homepage.
-
- Hunter
- Posts: 72
- Joined: Mon Mar 08, 2004 7:46 pm
[quote="ace123"]Well, it sure looks like /usr/include/GL/glut.h does not exist, based on your error messages.
Are you sure that the libmesaglut3-devel package is installed? What if you go in that directory (/usr//include/GL) yourself?[/quote]
[root@fearandloathing ~]# urpmi libmesaglut3-devel
The package(s) are already installed
Computer says so.
Possibly mandriva puts it in a slightly different place to where the vegastrike files expect it; but as far as mandriva is concerned it is installed, even if the vegastrike installation begs to differ.
Are you sure that the libmesaglut3-devel package is installed? What if you go in that directory (/usr//include/GL) yourself?[/quote]
[root@fearandloathing ~]# urpmi libmesaglut3-devel
The package(s) are already installed
Computer says so.
Possibly mandriva puts it in a slightly different place to where the vegastrike files expect it; but as far as mandriva is concerned it is installed, even if the vegastrike installation begs to differ.
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
you might try putting a symlink to /usr/include/GL/ from where urpmi did put libmesaglut3-devel as that is where ./configure looks for it.
Enjoy the Choice
Enjoy the Choice
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
-
- Hunter
- Posts: 72
- Joined: Mon Mar 08, 2004 7:46 pm
[quote="loki1950"]you might try putting a symlink to /usr/include/GL/ from where urpmi did put libmesaglut3-devel as that is where ./configure looks for it.
Enjoy the Choice :)[/quote]
I might try, but as I've already got a /usr/include/GL/ then the system won't like it...
I tried just doing a symlink to glut.h, but that had no effect.
Enjoy the Choice :)[/quote]
I might try, but as I've already got a /usr/include/GL/ then the system won't like it...
I tried just doing a symlink to glut.h, but that had no effect.
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
The reason I am saying this is because of the error message:
So, that means that /usr/include/GL/glut.h doesn't exist.
Just saying the package is installed isn't enough. What's actually in that package? What if that file got accidentally deleted?
Maybe the -dev package only contains the libraries, and you need to install a freeglut-headers package.
For this reason, try doing a:and see what's actually there.
If you can't figure this out, the way I would solve this is to download a glut.h (it's a standard header so it shouldn't matter which one you get:
http://dri.sourceforge.net/res/glut.h
and as root, copy it into /usr/include/GL
If your gcc is like 99.999% of standard installations, it will automatically look in /usr/include.conftest.cc:120:21: error: GL/glut.h: No such file or directory
So, that means that /usr/include/GL/glut.h doesn't exist.
Just saying the package is installed isn't enough. What's actually in that package? What if that file got accidentally deleted?
Maybe the -dev package only contains the libraries, and you need to install a freeglut-headers package.
For this reason, try doing a:
Code: Select all
ls -la /usr/include/GL
If you can't figure this out, the way I would solve this is to download a glut.h (it's a standard header so it shouldn't matter which one you get:
http://dri.sourceforge.net/res/glut.h
and as root, copy it into /usr/include/GL