Hi,
this morning I tried to compile
* media-gfx/maim
Available versions: ~3.4.47
Homepage:https://github.com/naelstrof/maim
Description: Commandline tool to take screenshots of the desktop
which needs
* x11-misc/slop
Available versions: (~)4.3.21 {opengl}
Homepage:https://github.com/naelstrof/slop
Description: An application that queries the user for a selection
for printing
. The last failed tp compile with:
/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21/src/framebuffer.cpp:295:18:
error: ‘GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT’ was not declared in this scope
case GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT: {
^
/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21/src/framebuffer.cpp:299:18:
error: ‘GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT’ was not declared in this
scope
case GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: {
^
/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21/src/framebuffer.cpp:303:18:
error: ‘GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER’ was not declared in this scope
case GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER: {
^
/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21/src/framebuffer.cpp:307:18:
error: ‘GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER’ was not declared in this scope
case GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER: {
^
/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21/src/framebuffer.cpp:311:18:
error: ‘GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS’ was not declared in this scope
case GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS: {
^
/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21/src/framebuffer.cpp:315:18:
error: ‘GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE’ was not declared in this scope
case GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: {
^
/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21/src/framebuffer.cpp:319:18:
error: ‘GL_FRAMEBUFFER_UNSUPPORTED’ was not declared in this scope
case GL_FRAMEBUFFER_UNSUPPORTED: {
^
CMakeFiles/slop.dir/build.make:158: recipe for target
'CMakeFiles/slop.dir/src/framebuffer.cpp.o' failed
make[2]: *** [CMakeFiles/slop.dir/src/framebuffer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs
/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21/src/glselectrectangle.cpp:
In member function ‘unsigned int slop::GLSelectRectangle::loadImage(unsigned
int*, std::string)’:
/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21/src/glselectrectangle.cpp:339:10:
error: ‘GLEW_VERSION_3_0’ was not declared in this scope
if ( GLEW_VERSION_3_0 ) {
^
/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21/src/glselectrectangle.cpp:341:41:
error: ‘glGenerateMipmap’ was not declared in this scope
glGenerateMipmap( GL_TEXTURE_2D );
^
CMakeFiles/slop.dir/build.make:110: recipe for target
'CMakeFiles/slop.dir/src/glselectrectangle.cpp.o' failed
make[2]: *** [CMakeFiles/slop.dir/src/glselectrectangle.cpp.o] Error 1
make[2]: Leaving directory
'/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21_build'
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/slop.dir/all' failed
make[1]: *** [CMakeFiles/slop.dir/all] Error 2
make[1]: Leaving directory
'/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21_build'
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
* ERROR: x11-misc/slop-4.3.21::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info
'=x11-misc/slop-4.3.21::gentoo'`,
* the complete build log and the output of `emerge -pqv
'=x11-misc/slop-4.3.21::gentoo'`.
* The complete build log is located at
'/var/tmp/portage/x11-misc/slop-4.3.21/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/x11-misc/slop-4.3.21/temp/environment'.
* Working directory:
'/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21_build'
* S: '/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21'
>>> Failed to emerge x11-misc/slop-4.3.21, Log file:
(There are a lot more /*GL_*/" related errors in the output. The above
is only an excerpt.
Here:
https://github.com/naelstrof/slop
one can find the compiling instruction and besides others GENTOO is
mentioned ("Install using your Package Manager (Preferred)") which
points to here:
https://github.com/fkmclane/overlay/tree/master/x11-misc/slop
which header line says:
fkmclane/overlay
If this an overlay in the sense of what layman understands:
How can I add this overlay, if this is not listed somewhere?
How can I make slop compile?
(Yes, there is scrot but it does not handle selections very well.)
Cheers
Meino