1 |
On Fri, Feb 3, 2012 at 10:19 AM, Michael Mol <mikemol@×××××.com> wrote: |
2 |
> On Fri, Feb 3, 2012 at 9:51 AM, 高金培 <gjp1120@×××××.com> wrote: |
3 |
>> CC librsvg_2_la-librsvg-enum-types.lo |
4 |
>> /bin/sh ./libtool --silent --tag=CC --mode=compile i686-pc-linux-gnu-gcc |
5 |
>> -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=\"librsvg\" |
6 |
>> -DLIBRSVG_DATADIR="\"/usr/share\"" -pthread -I/usr/include/gdk-pixbuf-2.0 |
7 |
>> -I/usr/include/libpng15 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include |
8 |
>> -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 |
9 |
>> -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm |
10 |
>> -I/usr/include/libcroco-0.6 -I/usr/include/glib-2.0 |
11 |
>> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DHAVE_LIBCROCO=1 -O2 |
12 |
>> -march=pentium-m -pipe -c -o librsvg_2_la-librsvg-enum-types.lo `test -f |
13 |
>> 'librsvg-enum-types.c' || echo './'`librsvg-enum-types.c |
14 |
>> CCLD librsvg-2.la |
15 |
>> CCLD rsvg-convert |
16 |
>> GISCAN Rsvg-2.0.gir |
17 |
>> CCLD rsvg-view |
18 |
> |
19 |
> |
20 |
>> In file included from <stdin>:19:0: |
21 |
>> /var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2/rsvg-cairo-render.h:32:19: |
22 |
>> fatal error: cairo.h: No such file or directory |
23 |
>> compilation terminated. |
24 |
> |
25 |
> I suspect you don't have cairo emerged. |
26 |
> |
27 |
>> * If you need support, post the output of 'emerge --info |
28 |
>> =gnome-base/librsvg-2.34.2', |
29 |
>> * the complete build log and the output of 'emerge -pqv |
30 |
>> =gnome-base/librsvg-2.34.2'. |
31 |
>> * The complete build log is located at |
32 |
>> '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/build.log'. |
33 |
>> * The ebuild environment file is located at |
34 |
>> '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/environment'. |
35 |
>> * S: '/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2' |
36 |
> |
37 |
> Before you go any farther, save the output of the commands it's asking about. |
38 |
> |
39 |
> sudo emerge --info gnome-base/librsvg-2.34.2 > |
40 |
> ~/emerge.info.gnome-base.librsvg-2.34.2.txt |
41 |
> sudo emerge -pqv gnome-base/librsvg-2.34.2 > |
42 |
> ~/emerge.pqv.gnome-base.librsvg-2.34.2.txt |
43 |
> sudo cp /var/tmp/portage/gnome-base/librsvg-2.34.2/temp/build.log |
44 |
> ~/build.log.gnome-base.librsvg-2.34.2.txt |
45 |
> sudo cp /var/tmp/portage/gnome-base/librsvg-2.34.2/temp/environment |
46 |
> ~/environment.gnome-base.librsvg-2.34.2.txt |
47 |
> |
48 |
> If you need to file a bug report, you'll need to attach those to it. |
49 |
> |
50 |
> To install cairo, try |
51 |
> |
52 |
> emerge x11-libs/cairo |
53 |
> |
54 |
> Assuming that works, try |
55 |
> |
56 |
> emerge --resume |
57 |
> |
58 |
> If the build works, you should be good. If you get the same error, |
59 |
> then you should file a bug report at bugs.gentoo.org. |
60 |
|
61 |
Actually, you should file a bug report either way, but the nature of |
62 |
the bug is different. If emerging cairo fixes the build error, then |
63 |
there's a dependency missing in the ebuild. If emerging cairo doesn't |
64 |
fix the build error, something else is broken that I don't have a clue |
65 |
about. |
66 |
|
67 |
|
68 |
-- |
69 |
:wq |