Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi All,
I've made to cups-filters install and freeglut failed to build on mupdf.
here is the error:
[ 2%] Building C object CMakeFiles/freeglut.dir/src/fg_callbacks.c.o
In file included from /sources/freeglut-3.0.0/include/GL/freeglut.h:17,
from /sources/freeglut-3.0.0/src/fg_callbacks.c:28:
/sources/freeglut-3.0.0/include/GL/freeglut_std.h:144:13: fatal error: GL/glu.h: No such file or directory
# include <GL/glu.h>
^~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/freeglut.dir/build.make:63: CMakeFiles/freeglut.dir/src/fg_callbacks.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/freeglut.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
root [ /sources/freeglut-3.0.0/build ]#
I did install glu also.
Thanks for ideas and advise.
glu.h is part of mesa3d. Are you sure you have that installed?
PS Troubleshooting note:
Here's how to solve a problem like this. I didn't know the answer either, but freeglut depends on mesa3d and cmake. Obviously cmake is used to build it, so mesa3d is the likely source providing the missing header file. Why didn't you go to the mesa3d page and check if it installed any headers? That's what I did and I found EGL/glu.h in the contents list at the bottom.
Last edited by hazel; 10-11-2018 at 10:45 AM.
Reason: Added postscript
What are you using for XORG_PREFIX? If it isn't the standard /usr, you need to tell gcc where to find X headers and libraries. See the page "Introduction to Xorg-7 for how to do this.
Hi All,
Guess my Brother printers are not going to work for now. Its no big deal. I did get the scanner to work .
Will mark solved and keep looking.
Thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.