LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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


Reply
  Search this Thread
Old 10-11-2018, 09:54 AM   #1
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Rep: Reputation: Disabled
Blfs 8.3 Systemd printer install problem


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.
 
Old 10-11-2018, 10:40 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,570
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
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
 
1 members found this post helpful.
Old 10-11-2018, 10:50 AM   #3
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
Thanks for the directions Hazel.I will go see. I have mesa when I installed X.

Last edited by rabidlinux; 10-11-2018 at 10:52 AM.
 
Old 10-11-2018, 11:03 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,570
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
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.
 
Old 10-11-2018, 11:07 AM   #5
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
I used /usr for x . I will reinstall mesa and see if that works.
Thanks
 
Old 10-12-2018, 04:44 PM   #6
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
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
 
Old 10-15-2018, 11:07 AM   #7
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
Found the problem

I found an extra step I needed to do when I configured GLU.
Install some lib packages that it showed in parentheses.
Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Systemd-235 and mkinitramfs in BLFS plasmonics Linux From Scratch 3 12-15-2017 02:12 PM
[SOLVED] Blfs 8.1 systemd missing drivers rabidlinux Linux From Scratch 3 09-10-2017 05:37 PM
[SOLVED] No audio BLFS 7.8 systemd kc3 Linux From Scratch 10 03-06-2016 04:46 PM
how to install systemd units in BLFS Carl_cj Linux From Scratch 4 09-24-2014 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration