1 |
hola gente.. |
2 |
|
3 |
errorcillo despues de un buen rato compilando el xorg-x11: [1] |
4 |
|
5 |
tengo instalada la librería libpng: [2] |
6 |
|
7 |
al reinstalarla veo que el ficherito png.h lo instala en: |
8 |
>>> /usr/include/libpng12/png.h |
9 |
|
10 |
he googleado y he encontrado esto: [3].. pero no me ayuda mucho.. |
11 |
|
12 |
sugerencias? |
13 |
gracias |
14 |
d2clon |
15 |
|
16 |
[1]------------------------------------------ |
17 |
|
18 |
|
19 |
|
20 |
|
21 |
make[4]: Leaving directory |
22 |
`/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/programs/xrandr' |
23 |
making all in programs/xcursorgen... |
24 |
make[4]: Entering directory |
25 |
`/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/programs/xcursorgen' |
26 |
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -fno-strict-aliasing |
27 |
-ansi -pedantic -Wno-return-type -w -I../.. -I../../exports/include |
28 |
-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE |
29 |
-D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE |
30 |
-DFUNCPROTO=15 -DNARROWPROTO -c -o xcursorgen.o xcursorgen.c |
31 |
xcursorgen.c:35:17: png.h: No such file or directory |
32 |
xcursorgen.c:144: error: syntax error before "png" |
33 |
xcursorgen.c: In function `premultiply_data': |
34 |
xcursorgen.c:148: error: `row_info' undeclared (first use in this function) |
35 |
xcursorgen.c:148: error: (Each undeclared identifier is reported only once |
36 |
xcursorgen.c:148: error: for each function it appears in.) |
37 |
xcursorgen.c:150: error: `data' undeclared (first use in this function) |
38 |
xcursorgen.c: In function `load_image': |
39 |
xcursorgen.c:169: error: `png_structp' undeclared (first use in this |
40 |
function) |
41 |
xcursorgen.c:169: error: syntax error before "png" |
42 |
xcursorgen.c:170: error: `png_infop' undeclared (first use in this function) |
43 |
xcursorgen.c:171: error: `png_bytepp' undeclared (first use in this |
44 |
function) |
45 |
xcursorgen.c:174: error: `png_uint_32' undeclared (first use in this |
46 |
function) |
47 |
xcursorgen.c:174: error: syntax error before "width" |
48 |
xcursorgen.c:178: error: `png' undeclared (first use in this function) |
49 |
xcursorgen.c:178: error: `PNG_LIBPNG_VER_STRING' undeclared (first use |
50 |
in this function) |
51 |
xcursorgen.c:182: error: `info' undeclared (first use in this function) |
52 |
xcursorgen.c:220: error: `width' undeclared (first use in this function) |
53 |
xcursorgen.c:220: error: `height' undeclared (first use in this function) |
54 |
xcursorgen.c:225: error: `PNG_COLOR_TYPE_PALETTE' undeclared (first use |
55 |
in this function) |
56 |
xcursorgen.c:228: error: `PNG_COLOR_TYPE_GRAY' undeclared (first use in |
57 |
this function) |
58 |
xcursorgen.c:231: error: `PNG_INFO_tRNS' undeclared (first use in this |
59 |
function) |
60 |
xcursorgen.c:240: error: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first |
61 |
use in this function) |
62 |
xcursorgen.c:243: error: `PNG_INTERLACE_NONE' undeclared (first use in |
63 |
this function) |
64 |
xcursorgen.c:247: error: `PNG_FILLER_AFTER' undeclared (first use in |
65 |
this function) |
66 |
xcursorgen.c:260: error: `rows' undeclared (first use in this function) |
67 |
xcursorgen.c:260: error: `png_bytep' undeclared (first use in this function) |
68 |
make[4]: *** [xcursorgen.o] Error 1 |
69 |
make[4]: Leaving directory |
70 |
`/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/programs/xcursorgen' |
71 |
make[3]: *** [all] Error 2 |
72 |
make[3]: Leaving directory |
73 |
`/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/programs' |
74 |
make[2]: *** [all] Error 2 |
75 |
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc' |
76 |
make[1]: *** [World] Error 2 |
77 |
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc' |
78 |
make: *** [World] Error 2 |
79 |
|
80 |
!!! ERROR: x11-base/xorg-x11-6.8.2-r2 failed. |
81 |
!!! Function build, Line 974, Exitcode 2 |
82 |
!!! make World failed |
83 |
!!! If you need support, post the topmost build error, NOT this status |
84 |
message. |
85 |
|
86 |
...done! |
87 |
|
88 |
|
89 |
[2]----------------------------- |
90 |
|
91 |
# emerge -s libpng |
92 |
Searching... |
93 |
[ Results for search key : libpng ] |
94 |
[ Applications found : 2 ] |
95 |
|
96 |
* media-libs/libpng |
97 |
Latest version available: 1.2.8 |
98 |
Latest version installed: 1.2.8 |
99 |
Size of downloaded files: 500 kB |
100 |
Homepage: http://www.libpng.org/ |
101 |
Description: Portable Network Graphics library |
102 |
License: as-is |
103 |
|
104 |
|
105 |
* media-plugins/gst-plugins-libpng |
106 |
Latest version available: 0.8.8-r1 |
107 |
Latest version installed: [ Not Installed ] |
108 |
Size of downloaded files: 2,162 kB |
109 |
Homepage: |
110 |
http://gstreamer.freedesktop.org/modules/gst-plugins.html |
111 |
Description: plug-in to encode png images |
112 |
License: GPL-2 |
113 |
|
114 |
|
115 |
[3]-------------------------------- |
116 |
http://lists.freedesktop.org/archives/xorg/2004-May/000582.html |
117 |
http://linuxfromscratch.org/pipermail/blfs-support/2003-March/038363.html |
118 |
|
119 |
|
120 |
-- |
121 |
http://www.flickr.com/photos/d2clon/ |
122 |
http://enamsterdam.blogspot.com/ |
123 |
-- |
124 |
gentoo-user-es@g.o mailing list |