error compiling dosbox with "/usr/X11R6/include/GL/glu"
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
error compiling dosbox with "/usr/X11R6/include/GL/glu"
Hi,
On Mandriva 2006.1, I am installing dosbox 0.72. My problem is when after completing ./configure fine - the make errors out on a missing header file (glu.h) - I detail the error below.
Just to confirm what library reqs are and what I installed prior to dosbox:
I read the INSTALL requirements for dosbox and installed
SDL source (SDL-1.2.12.tar.gz)
SDL_sound-1.0.1.tar.gz
curses is installed
libpng is installed
zlib
SDL_NET (optional) - left this out
ALSA_Headers - left this one out
Anyway, here is the core of the problem:
Here is the key lines in the make error output for dosbox:
In file included from sdlmain.cpp:52:
/usr/local/include/SDL/SDL_opengl.h:45:58: error: GL/glu.h: No such file or directory
make[3]: *** [sdlmain.o] Error 1
Checked the /usr/X11R6/include/GL/ directory...
I have gl.h and glx.h and so on but no glu.h. I suspect this is the reason the compile failed. What package or gl source could I be missing here?
I think dosbox make is looking for /usr/X11R6/include/GL/glu.h
Not sure what source I should be looking for. Anyone know where I could get this. Thanks.
I got a hold of the mesaLib source. I'll try compiling and installing. Hopefully it won't have any more dependecies. yep, dosbox is looking it in the /usr/X11R6/include/GL/ when compiling. Just to add that I have nvidia video card driver installed and glxgears working going back a few months.
I got a hold of the mesaLib source. I'll try compiling and installing. Hopefully it won't have any more dependecies. yep, dosbox is looking it in the /usr/X11R6/include/GL/ when compiling. Just to add that I have nvidia video card driver installed and glxgears working going back a few months.
Just to update anyone who is interested - I installed Mesa and the glu.h header c file is there in /usr/X11R6/include/GL/. Compiled dosbox again and it was fine.
One thing I notice is that the dosbox installer leaves the binary in the src directory where I extracted the tar to compile in the first place. eg. /home/jryan/Download/dosbox-0.72/src
Would it better to move it into /usr/local/bin or some more formal directory?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.