[...] configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands Making all in . Making all in src xsvg.c:46: error: syntax error before "Display" xsvg.c:46: warning: no semicolon at end of struct or union xsvg.c:48: error: syntax error before "win" xsvg.c:48: warning: data definition has no type or storage class xsvg.c:50: error: syntax error before "pix" xsvg.c:50: warning: data definition has no type or storage class xsvg.c:51: error: syntax error before "gc" [...] make[2]: *** [xsvg.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 !!! ERROR: media-gfx/xsvg-0.1.2 failed. !!! Function src_compile, Line 566, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. root@cube:~# emerge info Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.5-r3, 2.6.16.14-infra-cube-1 i686) ================================================================= System uname: 2.6.16.14-infra-cube-1 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.6.14 distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /usr/vice/etc /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/eselect/compiler /etc/gconf /etc/make.globals /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distcc distlocks fixpackages sandbox sfperms strict test userpriv usersandbox" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="en_US" LC_ALL="" LINGUAS="en,de" MAKEOPTS="-j10 -s" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-local--main--1.0" SYNC="rsync://copper.sascha.silbe.org/gentoo-portage" USE="x86 3dnow 3dnowext S3TC X a52 aac accessibility acl afs alsa apache2 apm asf audiofile avi bash-completion berkdb bitmap-fonts blas bzip2 bzlib cairo cdb cdparanoia cdr chipcard cjk cli crypt css curl doc dri dts dv dvd dvdr dvdread ecc emboss encode examples exif expat fam fame ffmpeg fits flac foomaticdb fortran gd gdbm geldkarte geos gif gimp gimpprint glut gmp gs gstreamer gtk gtk2 gtkhtml guile hbci hdf idn imagemagick imap imlib ipv6 isdnlog jabber jpeg jpeg2k lapack lcms libg++ libwww lm_sensors lua lvm1 lzo mad maildir mailwrapper makecheck mbox mikmod mjpeg mmx mmxext mng monitor mozsvg mp3 mpeg mplayer musepack music mysql nas ncurses netcdf nls nodrm nptl offensive ogdi ogg oggvorbis openal opengl oss pam pcre pda pdflib plotutils png postgres pppd python qt qtmt quicktime rar readline recode reflection samba scanner sdl serial session skey smartcard speex spell spl sqlite sse ssl subtitles svg sysfs test tetex theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vorbis win32codecs wmf xine xml xml2 xorg xv xvid yv12 zlib video_cards_nvidia linguas_en,de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
I've deactived distcc for this run, BTW, to make sure the error's got nothing to do with it.
xsvg-0.2.1 builds & installs fine, but only displays small boxes instead of characters. Cannot check whether it's "expected" since there's no documentation (apart from the rather short man-page) and the homepage just gives an empty directory listing. ImageMagick and inkscape can display the given SVG image quite fine.
Created attachment 93447 [details, diff] Preliminary patch to fix/work around some of the bugs in configure.in
*** Bug 169660 has been marked as a duplicate of this bug. ***
*** Bug 170629 has been marked as a duplicate of this bug. ***
Current 0.1.2 stable has configure and compile errors.. but 0.2.1 builds and works, and is last release there will be (in favour of librsvg)
x86 stable
Stable on ppc