when I did "emerge evas", it failed on configuration as there is a syntax error on line 6082 of the configure file Reproducible: Always Steps to Reproduce: 1.emerge evas 2. 3. Actual Results: creating libtool checking for freetype-config... /usr/bin/freetype-config checking whether software x11 backend is to be built... no checking whether directfb backend is to be built... ./configure: line 6082: syntax error near unexpected token `DIRECTFB,' ./configure: line 6082: ` PKG_CHECK_MODULES(DIRECTFB, directfb >= 0.9.16)' Expected Results: compiled Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0) ================================================================= System uname: 2.4.20-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 3dnow apm arts mmx motif nls qt svga directfb gdbm python aalib acpi avi berkdb bonobo cdr crypt cups doc dvb dvd encode esd ethereal evo flash gb gd dgbm ggi gif gnome gphoto2 gpm gps gtk gtkhtml icc imlib innodb java jpeg -kde lcms ldap libg++ libgda libwww mikmod mozilla mpeg mysql nas ncurses oav odbc oggvorbis opengl oss pam pda pdflib perl pic png quicktime readline ruby sasl scanner sdl slang slp snmp spell sse ssl tcltk tcpd tetex tiff truetype usb wmf X xml2 xmms xv zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
which verion of directfb do you have installed ?
i ran into this also and found the solution. Although there is a USE flag for directfb, it seems to be required (i did not check if a --disable-directfb ./configure flag is avialable for evas). the proper fix for this would be to make pkgconfig a dependancy for evas as outlined in the faq here http://www.cuddletech.com/e17.status.html When configuring EVAS, why do I see this: checking whether directfb backend is to be built... ./configure: line 9243: syntax error near unexpected token `PKG_CHECK_MODULES(DIRECTFB,' ./configure: line 9243: ` PKG_CHECK_MODULES(DIRECTFB, directfb >= 0.9.16)' You don't have pkg-config installed, or setup properly. To correct this, download, build, and install pkg-config. If this error still shows up after you install pkg-config, it is because aclocal isn't finding the pkg.m4 and using it. Make sure that pkg.m4 is in your aclocal share (usually: /usr/local/share/aclocal). If it isn't there, find out whats wrong and get it there. If it is there, re-run ./autogen.sh and the new m4 will be used and the problem won't reappear. i installed pkgconfig, then i removed the /var/tmp/portage/evas directory, the emerge went fine after that.
added pkgconfig to DEPEND http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/x11-libs/evas/evas-1.0.0.20030220_pre5-r1.ebuild.diff?r1=1.1&r2=1.2