configure: configuring in kpathsea configure: running /bin/sh './configure' --prefix=/usr '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--bin dir=/usr/bin' '--datadir=/var/tmp/portage/tetex-3.0_p1-r3/work/tetex-src-3.0' '--with-system-wwwlib' '--with-libwww-include=/usr/include/w3c-libwww' '--with-system-ncurses' '--with-system-pnglib' '--without-texinfo' '--without-di alog' '--without-texi2html' '--with-system-zlib' '--disable-multiplatform' '--with-epsfwin' '--with-mftalkwin' '--with-regiswin' '--with-tektronixwin' '--with-unitermwin' '--with-ps=gs' '--enable-ipc' '--with-etex' '--with-x' '-- with-xdvik' '--with-oxdvik' '--without-dvipng' '--with-xdvi-x-toolkit=motif' '--build=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe' 'CXXFLAGS=-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' '--cache-file=/dev/null' '--srcdir=.' --cache-file=/dev/null --srcdir=. checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B checking for a sed that does not truncate output... /bin/sed checking how to recognise dependent libraries... pass_all checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output... ok checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for objdir... .libs checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc static flag -static works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.lo... yes checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes creating libtool ./configure: line 7838: [: GNU: integer expression expected checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes config.log says: configure:5062: checking if i686-pc-linux-gnu-gcc supports -c -o file.lo configure:5089: i686-pc-linux-gnu-gcc -c -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -c -o conftest.lo conftest.c >&5 configure:5095: $? = 0 configure:5099: test -z || test ! -s conftest.err configure:5102: $? = 0 configure:5105: test -s conftest.lo configure:5108: $? = 0 configure:5130: result: yes configure:5169: checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions configure:5191: i686-pc-linux-gnu-gcc -c -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -fno-rtti -fno-exceptions -c conftest.c conftest.c >&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:5197: $? = 0 configure:5201: test -z || test ! -s conftest.err configure:5204: $? = 0 configure:5207: test -s conftest.o configure:5210: $? = 0 configure:5227: result: no configure:5242: checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries configure:5937: result: yes configure:5946: checking how to hardcode library paths into programs configure:5970: result: immediate configure:5979: checking whether stripping libraries is possible configure:5984: result: yes configure:5999: checking dynamic linker characteristics configure:6419: result: GNU/Linux ld.so configure:6428: checking if libtool supports shared libraries configure:6430: result: yes configure:6437: checking whether to build shared libraries configure:6458: result: no configure:6465: checking whether to build static libraries configure:6469: result: yes configure:7856: checking for dirent.h that defines DIR configure:7880: i686-pc-linux-gnu-gcc -c -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe conftest.c >&5 configure:7886: $? = 0 configure:7890: test -z || test ! -s conftest.err configure:7893: $? = 0 configure:7896: test -s conftest.o configure:7899: $? = 0 configure:7910: result: yes The relevant configure lines: 7834 # This can be used to rebuild libtool when needed 7835 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" 7836 7837 # Always use our own libtool. 7838 if [ ${USERLAND} -eq "Darwin" ]; then 7839 LIBTOOL='glibtool' 7840 else 7841 LIBTOOL='libtool' 7842 fi
What is exactly the problem here? Also, please post the output of emerge --info (it's a good habit to always post it when filing a bug).
./configure: line 7838: [: GNU: integer expression expected Portage 2.1_rc1-r4 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-rc1 i686) ================================================================= System uname: 2.6.16-rc1 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz Gentoo Base System version 1.12.0_pre19 dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.4.19-r1, 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="cs cz en" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 FFmpeg X Xaw3d a52 aac aalib acpi alsa amr apache2 apm ati avi berkdb bitmap-fonts bonobo caca cdparanoia cdr cli cpudetection crypt cscope ctype cups dba dga directfb divx divx5 divx5linux dri dts dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode ethereal evo f77 faad faad2 fam fame fbcon ffmpeg flash foomaticdb fortran fvwm fvwm2 gb gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml i8x0 icc iconv ieee1394 ifc imagemagick imlib imlib2 inifile innodb isdnlog ithreads java jpeg lcms leim libcaca libg++ libwww lirc live lzo mad matroska mcal mesa mhash mikmod ming mmx mmx2 mmxext motif mozilla mp3 mpeg mule musepack mysql ncurses network nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pda pdflib perl plotutils plugin png ppds pppd pthread pthreads python qt qtx quicktime readline reflection rtc samba scanner scp server session slp spell spl sse sse2 ssl stroke tcltk tcpd tetex theora thread threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vorbis win32 win32codecs winvidix wmf x264 xanim xml xml2 xmms xorg xosd xprint xv xvid xvmc zeo zlib elibc_glibc kernel_linux linguas_cs linguas_cz linguas_en userland_GNU video_cards_ati" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
One should use = instead of -eq when comparing strings (-eq is for integers)... flameeyes should know better in his -kpathsea-pic patch :) Fixed in CVS, thanks for reporting!