Gentoo Archives: gentoo-user

From: Meino.Cramer@×××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] Compiling maim fails...
Date: Thu, 05 Jan 2017 03:45:53
Message-Id: 20170105034533.GA5000@solfire
1 Hi,
2
3 this morning I tried to compile
4 * media-gfx/maim
5 Available versions: ~3.4.47
6 Homepage: https://github.com/naelstrof/maim
7 Description: Commandline tool to take screenshots of the desktop
8
9 which needs
10 * x11-misc/slop
11 Available versions: (~)4.3.21 {opengl}
12 Homepage: https://github.com/naelstrof/slop
13 Description: An application that queries the user for a selection for printing
14
15 . The last failed tp compile with:
16 /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
17 case GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT: {
18 ^
19 /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
20 case GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: {
21 ^
22 /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
23 case GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER: {
24 ^
25 /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
26 case GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER: {
27 ^
28 /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
29 case GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS: {
30 ^
31 /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
32 case GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: {
33 ^
34 /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
35 case GL_FRAMEBUFFER_UNSUPPORTED: {
36 ^
37 CMakeFiles/slop.dir/build.make:158: recipe for target 'CMakeFiles/slop.dir/src/framebuffer.cpp.o' failed
38 make[2]: *** [CMakeFiles/slop.dir/src/framebuffer.cpp.o] Error 1
39 make[2]: *** Waiting for unfinished jobs....
40 /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)’:
41 /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
42 if ( GLEW_VERSION_3_0 ) {
43 ^
44 /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
45 glGenerateMipmap( GL_TEXTURE_2D );
46 ^
47 CMakeFiles/slop.dir/build.make:110: recipe for target 'CMakeFiles/slop.dir/src/glselectrectangle.cpp.o' failed
48 make[2]: *** [CMakeFiles/slop.dir/src/glselectrectangle.cpp.o] Error 1
49 make[2]: Leaving directory '/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21_build'
50 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/slop.dir/all' failed
51 make[1]: *** [CMakeFiles/slop.dir/all] Error 2
52 make[1]: Leaving directory '/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21_build'
53 Makefile:127: recipe for target 'all' failed
54 make: *** [all] Error 2
55 * ERROR: x11-misc/slop-4.3.21::gentoo failed (compile phase):
56 * emake failed
57 *
58 * If you need support, post the output of `emerge --info '=x11-misc/slop-4.3.21::gentoo'`,
59 * the complete build log and the output of `emerge -pqv '=x11-misc/slop-4.3.21::gentoo'`.
60 * The complete build log is located at '/var/tmp/portage/x11-misc/slop-4.3.21/temp/build.log'.
61 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/slop-4.3.21/temp/environment'.
62 * Working directory: '/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21_build'
63 * S: '/var/tmp/portage/x11-misc/slop-4.3.21/work/slop-4.3.21'
64
65 >>> Failed to emerge x11-misc/slop-4.3.21, Log file:
66
67 (There are a lot more /*GL_*/" related errors in the output. The above
68 is only an excerpt.
69
70 Here:
71 https://github.com/naelstrof/slop
72 one can find the compiling instruction and besides others GENTOO is
73 mentioned ("Install using your Package Manager (Preferred)") which
74 points to here:
75 https://github.com/fkmclane/overlay/tree/master/x11-misc/slop
76 which header line says:
77 fkmclane/overlay
78
79 If this an overlay in the sense of what layman understands:
80 How can I add this overlay, if this is not listed somewhere?
81
82 How can I make slop compile?
83
84 (Yes, there is scrot but it does not handle selections very well.)
85
86 Cheers
87 Meino

Replies

Subject Author
Re: [gentoo-user] Compiling maim fails... Andrew Savchenko <bircoph@g.o>