On Fri, Feb 3, 2012 at 9:51 AM, 高金培 <gjp1...@gmail.com> wrote: > CC librsvg_2_la-librsvg-enum-types.lo > /bin/sh ./libtool --silent --tag=CC --mode=compile i686-pc-linux-gnu-gcc > -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=\"librsvg\" > -DLIBRSVG_DATADIR="\"/usr/share\"" -pthread -I/usr/include/gdk-pixbuf-2.0 > -I/usr/include/libpng15 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 > -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm > -I/usr/include/libcroco-0.6 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DHAVE_LIBCROCO=1 -O2 > -march=pentium-m -pipe -c -o librsvg_2_la-librsvg-enum-types.lo `test -f > 'librsvg-enum-types.c' || echo './'`librsvg-enum-types.c > CCLD librsvg-2.la > CCLD rsvg-convert > GISCAN Rsvg-2.0.gir > CCLD rsvg-view
> In file included from <stdin>:19:0: > /var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2/rsvg-cairo-render.h:32:19: > fatal error: cairo.h: No such file or directory > compilation terminated. I suspect you don't have cairo emerged. > * If you need support, post the output of 'emerge --info > =gnome-base/librsvg-2.34.2', > * the complete build log and the output of 'emerge -pqv > =gnome-base/librsvg-2.34.2'. > * The complete build log is located at > '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/build.log'. > * The ebuild environment file is located at > '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/environment'. > * S: '/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2' Before you go any farther, save the output of the commands it's asking about. sudo emerge --info gnome-base/librsvg-2.34.2 > ~/emerge.info.gnome-base.librsvg-2.34.2.txt sudo emerge -pqv gnome-base/librsvg-2.34.2 > ~/emerge.pqv.gnome-base.librsvg-2.34.2.txt sudo cp /var/tmp/portage/gnome-base/librsvg-2.34.2/temp/build.log ~/build.log.gnome-base.librsvg-2.34.2.txt sudo cp /var/tmp/portage/gnome-base/librsvg-2.34.2/temp/environment ~/environment.gnome-base.librsvg-2.34.2.txt If you need to file a bug report, you'll need to attach those to it. To install cairo, try emerge x11-libs/cairo Assuming that works, try emerge --resume If the build works, you should be good. If you get the same error, then you should file a bug report at bugs.gentoo.org. -- :wq