Bruce Dubbs wrote:
Bruce Dubbs wrote:
John Burrell wrote:
I tried to install this version but:


the cmake command has

-DCMAKE_EXE_LINKER_FLAGS="-lGL -lGLU"


but libGL is provided by Mesa and libGLU is provided by glu


Neither is listed as a dependency.

The optional dependencies say 'Freeglut-3.0.0 (required for jiv)'.
Freeglut has mesa required and glu recommended.  The command explanation
says that the MAKE_EXE_LINKER_FLAGS option is required for jiv.

I'm not sure how to make this more clear.

Also the man pages seem to want to install in /usr/man


I couldn't find how to specify a MANDIR option. I listed the available
options using

It appears that we need

sed -i 's:man):share/man):' src/appl/CMakeLists.txt


But I have not tested that.

Now tested.  It should be:

sed -i 's:man):share/man/man1):' src/appl/CMakeLists.txt

  -- Bruce

I hate to stir up the age-old debate (or "flame war", if that's your thing) of where dependencies belong, but do we really need to have Freeglut in the optional dependencies? Last time that I had checked, our "policy" was to have it so that only recommended and required dependencies are needed to compile the package, with optional dependencies being needed for optional functionality. In our case, people are attempting to build this and don't have Freeglut installed, so they won't have GLU installed either. Our instructions don't take this into account.

The specific portion that I am talking about here is "-DCMAKE_EXE_LINKER_FLAGS="-lGL -lGLU"

In particular, two people have mentioned this to me on IRC. Archetech and emmett1. Both of those people have told me that they didn't have freeglut installed because it was only optional. I had to tell them both to install GLU, and the problems disappeared. Their number one piece of feedback was to make GLU recommended.

I guess this is a question of how we're supposed to do things. Should the package be able to be compiled with only the recommended and required dependencies, or do we assume that the user has everything under the sun installed?

Also, considering that a whole program is missing if freeglut is missing, should we or should we not promote that to recommended? That seems like the package is missing some crucial functionality if we don't include that. That would be like not installing gtk-update-icon-cache or something like that!

--
Douglas R. Reno
--LFS/BLFS systemd maintainer

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to