After emerging Cairo with Glitz support, re-emerging xsvg to take advantage of this fails: gcc -march=athlon-xp -Os -mfpmath=sse -pipe -L/usr/X11R6/lib -lsvg-cairo -lsvg -lpng -ljpeg -lcairo -lxml2 -lpthread -lfontconfig -lpixman -lpng12 -lz -lglitz -lm -o xsvg args.o xsvg.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../libcairo.so: undefined reference to `pixman_image_get_format' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../libcairo.so: undefined reference to `pixman_format_get_masks' collect2: ld returned 1 exit status distcc[30449] ERROR: compile (null) on localhost failed make[2]: *** [xsvg] Error 1 make[2]: Leaving directory `/var/tmp/portage/xsvg-0.1.2/work/xsvg-0.1.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xsvg-0.1.2/work/xsvg-0.1.2' make: *** [all] Error 2 !!! ERROR: media-gfx/xsvg-0.1.2 failed. !!! Function src_compile, Line 510, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Here's my emerge info: Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r6 i686) ================================================================= System uname: 2.6.9-gentoo-r6 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.6.7 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -Os -mfpmath=sse -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -mfpmath=sse -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks fixpackages sandbox sfperms" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx 3dnow 3dnowex X aac aalib acpi adns aim alsa apache2 apm arts avi berkdb bitmap-fonts blender-game bootsplash bzlib cairo calendar cdparanoia cdr crypt cups curl curlwrappers debug devfs26 dts dvd dvdr dvdread encode escreen esd exif f77 faac faad fam fbcon ffmpeg fftw flac foomaticdb fortran freetype freewnn gd gdbm geoip gif gimp gimpprint glgd glitz gmp gnokii gnome gphoto2 gpm gs gstreamer gtk gtk2 hal hdf hdf5 image imagemagick imap imlib imlib2 jabber java joystick jpeg kerberos ldap libcaca libg++ libgda libwww live lufsusermount lzo lzw lzw-tiff mad matroska matrox md5sum mdb mikmod mime mixer mmap mmx mmx2 mng mono motif mozcalendar mozilla mozsvg mpeg mpeg4 mplayer msn mysql mysqli ncurses network nls ntlm oggvorbis openal opengl oss pam pdf pdflib perl php pic png pnp psyco pthreads python qt quicktime readline rtc samba sasl sdl shared sharedmem slang sockets speex spell sqlite sse ssl stencil-buffer svg svga t1lib tcltk tcpd theora tiff transcode truetype usb wifi x86 xine xinerama xml xml2 xmms xosd xpm xprint xrandr xscreensaver xv xvid xvmc yahoo yv12 zlib zvbi video_cards_matrox"
I note the following: gcc [blah blah blah] -lpixman [blah blah blah] On my system I installed media-libs/libpixman and (as I recall... this was about a week ago) got xsvg to compile. My suggestion is that either libpixman be added to the dependencies for xsvg or if it is possible to build it without libpixman that someone play with the configuration and add a use flag. I'm inclined to just add it as a dependency. Either way, if others can confirm the dependency this should be a quick and easy fix.
Yeah, but I do have libpixman-0.1.1 on my system. Perhaps it depends on a newer version? What version do you have on yours?
Yeah, I'm running media-libs/libpixman-0.1.2. It might need the newer version...
Yep, it emerged fine after upgrading to libpixman-0.1.2, so that's probably what the dep should be.
Thanks. x11-libs/cairo-0.2.0 dependency updated to >=media-libs/libpixman-0.1.2. Tom