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. |
5 |
|
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/libpng12.so.0. |
9 |
|
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. |
13 |
|
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. |
16 |
|
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/libpng12.so.0 |
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 |
31 |
|
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. |
35 |
|
36 |
Thank you, |
37 |
Quim |
38 |
|
39 |
|
40 |
[1] |
41 |
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-libs/fltk/fltk-1.1.10.ebuild?view=log |