LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-05-2019, 09:20 AM   #1
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Rep: Reputation: Disabled
9.0 systemd Gut and Freeglut install problem


Hi All,

Freeglut is not installing I even reinstalled GLU.

Here are a couple of printouts:

Freeglut problem


freeglut-3.0.0/include/GL/freeglut_std.h:144:13: fatal error: GL/glu.h: No such file or directory




GLU install :


Libraries have been installed in:
/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/include/GL'
/usr/bin/install -c -m 644 ./include/GL/glu.h ./include/GL/glu_mangle.h '/include/GL'
/bin/mkdir -p '/lib/pkgconfig'
/usr/bin/install -c -m 644 glu.pc '/lib/pkgconfig'
make[1]: Leaving directory '/sources/glu-9.0.1'

Have no idea how to do the linking so freeglut finds it .
I have never been able to solve it. I run into it every install and I did
install all depends

Thanks for the help and directions
 
Old 09-05-2019, 06:25 PM   #2
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
Found the answer. Glu install:

./configure --prefix=$XORG_PREFIX --disable-static &&
make
should been --prefix=/usr
 
Old 09-05-2019, 07:32 PM   #3
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
I don't like the instructions surrounding that package. XORG_PREFIX isn't always set once you're done building the X11 stack and some of the instructions are old or nonsensical. For instance, in chapter 24.0:

Code:
ln -svf $XORG_PREFIX /usr/X11R6
Doesn't make any sense if XORG_PREFIX is /usr.
 
Old 09-06-2019, 06:15 AM   #4
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
And that QT-5 messes me up :

If you have changed the bindir above, QT5BINDIR will need to be adjusted below.
Be sure that the QT5BINDIR variable is defined in root's environment and as the root user:

QT5BINDIR=$QT5PREFIX/bin ???

install -v -dm755 /usr/share/pixmaps/ &&


install -v -Dm644 qttools/src/assistant/assistant/images/assistant-128.png \
/usr/share/pixmaps/assistant-qt5.png &&

I have always had trouble with this and vlc working with a GUI.
 
Old 09-07-2019, 08:34 AM   #5
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by rabidlinux View Post
And that QT-5 messes me up :

If you have changed the bindir above, QT5BINDIR will need to be adjusted below.
Be sure that the QT5BINDIR variable is defined in root's environment and as the root user:

QT5BINDIR=$QT5PREFIX/bin ???

install -v -dm755 /usr/share/pixmaps/ &&


install -v -Dm644 qttools/src/assistant/assistant/images/assistant-128.png \
/usr/share/pixmaps/assistant-qt5.png &&

I have always had trouble with this and vlc working with a GUI.
Skip the step about creating the symlinks specifically for vlc, those haven't been needed since QT5 was originally released. I've not done that step in years. Additionally, I build my QT5 in modules, rather than all at once, which greatly simplifies the build order.
 
  


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] Had to re-gut machine scythempress Slackware - Installation 19 01-05-2017 08:59 PM
[SOLVED] freeglut problem, "Unable to create direct context rendering" Masataka Linux - Software 2 12-17-2011 08:01 AM
opengl window not having title bar-using freeglut for opengl programming in c++ ashjas Fedora 0 01-19-2008 02:46 AM
Urgent freeglut help needed pilatus666 Linux - Newbie 7 03-20-2006 07:04 AM
Linker erros using FreeGLUT on Slackware mdavidn Linux - Newbie 3 04-19-2004 02:20 AM

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

All times are GMT -5. The time now is 07:52 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