Douglas R. Reno wrote:
Bruce Dubbs wrote:
Douglas R. Reno wrote:
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!
If freeglut is not installed and CMAKE_EXE_LINKER_FLAGS is not used,
then I'm pretty sure it builds OK. I did not remove freeglut to test.
Many times users just want jasper for its library, so in that case
neither CMAKE_EXE_LINKER_FLAGS nor freeglut (and thus libglu and libgl
are not needed either).
I suppose we can remove the -DCMAKE_EXE_LINKER_FLAGS from the default
instructions and expand the explanation.
That is what I'd recommend doing, just to clear up the confusion. There's
been a ton of noise on IRC about it.
OK. Fixed at revision 18027.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page