checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for jpeg_set_defaults in -ljpeg... yes checking gpm.h usability... yes checking gpm.h presence... yes checking for gpm.h... yes checking for Gpm_Open in -lgpm... yes checking libmng.h usability... yes checking libmng.h presence... yes checking for libmng.h... yes checking for mng_initialize in -lmng... no configure: error: 'libmng' library file was not found. libmng is installed though Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-zen1-dark-jedi x86_64) ================================================================= System uname: Linux-2.6.34-zen1-dark-jedi-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-1.12.13 Timestamp of tree: Unknown app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.4_p6-r1, 1.7.9-r2, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=amdfam10 -O2 -pipe" DISTDIR="/usr/myportage/distfiles/" EMERGE_DEFAULT_OPTS="--getbinpkg" FEATURES="assume-digests buildpkg candy collision-protect cvs distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict test test-fail-continue unmerge-logs unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="http://distfiles.hw.lan/ ftp://de-mirror.org/distro/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu,--enable-new-dtags -Wl,--as-needed" LINGUAS="en el" MAKEOPTS="-j7" PKGDIR="/usr/myportage/packages/" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://ftp.uoi.gr/gentoo-portage" USE="3dnow 3dnowex 3dnowext X a52 aac acl acpi aiglx alsa amd64 avi berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups custom-cxxflags cxx dbus dga divx divx4linux dri dvd dvdread encode ffmpeg flac fortran gdbm gif glib glitz gmedia gpm gstreamer hal iconv ipv6 java joystick jpeg kde kontact ldap libnotify mad mjpeg mmx mng modules mp3 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl phonon png pppd python qt3 qt3support qt4 quicktime readline realmedia reflection sdl session slang snmp spell spl sse sse2 ssl subtitles svg symlink sysfs tcpd threads tiff truetype type1 unicode usb userlocales v4l vcd vorbis wmp x264 xcomposite xine xinerama xml xorg xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en el" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
need config.log from the failed ./configure.
Created attachment 238291 [details] config.log
Quoting from your config.log: configure:11847: x86_64-pc-linux-gnu-gcc -o conftest -march=amdfam10 -O2 -pipe -Wl,-O1 conftest.c -lmng >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libjpeg.so.7, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../lib64/libmng.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../lib64/libmng.so: undefined reference to `jpeg_start_output@LIBJPEG_7.0' The libmng you have installed is still linked to jpeg-7, while you have jpeg-8 installed... Run revdep-rebuild (from gentoolkit) or re-emerge just libmng