Gentoo Archives: gentoo-user

From: Fox <halfsocialfox@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] libpng slot usage
Date: Sun, 23 Feb 2014 16:53:49
1 Hello,
2 I am trying to compile fltk-1.1.10 both using an ebuild from [1] and
3 with just the downloaded source. I think this version needs libpng 1.2
4 which is installed in one of the slots.
6 Using the source code and cmake with FLTK_USE_SYSTEM_PNG off it complies
7 fine. I can see that it automatically points the libs to
8 /usr/lib64/
10 The ebuild does not use cmake, it uses autoconf/automake which is also
11 suported. I tried to build the code this way with
12 --disable/enable-localpng with no luck.
14 The problem is the used png.h file. Which is /usr/include/png.h which
15 points to /usr/include/libpng16/png.h but I need the one from version 1.2.
17 I thought slots would allow to have both versions of the library and use
18 them but only one include file is present:
19 $ equery f libpng:1.2
20 * Searching for libpng:1.2 ...
21 * Contents of media-libs/libpng-1.2.50-r1:
22 /usr
23 /usr/lib64
24 /usr/lib64/
25 /usr/share
26 /usr/share/doc
27 /usr/share/doc/libpng-1.2.50-r1
28 /usr/share/doc/libpng-1.2.50-r1/CHANGES.bz2
29 /usr/share/doc/libpng-1.2.50-r1/README.bz2
30 /usr/share/doc/libpng-1.2.50-r1/TODO.bz2
32 Any idea on how to solve this problem? Some how it should be possible
33 maybe not using the system lib like I did with cmake but I can't figure
34 it out how to do it with autoconf/automake.
36 Thank you,
37 Quim
40 [1]


Subject Author
[gentoo-user] Re: libpng slot usage eroen <eroen@××××××××××××.eu>