whenever the --disable-libpcsclite is added, the configure script have trouble finding GTK+ >2.0 and also finding glib >2.0. I haven't found the reason why, but it looks like a problem inside the gnokii configure script causing some conflict. However, removing the --disable-libpcsclite from the ebuild, fixes the problem.
>>> Creating Manifest for /usr/portage/app-mobilephone/gnokii fastone gnokii-0.6.26 # cd fastone ~ # emerge --info WARNING: repository at /usr/local/portage is missing a repo_name entry Portage 2.2_rc1 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64) ================================================================= System uname: Linux-2.6.24-gentoo-r8-x86_64-Mobile_AMD_Athlon_64_Processor_3000+-with-glibc2.2.5 Timestamp of tree: Sun, 13 Jul 2008 11:00:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -Os" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -pipe -Os" DISTDIR="/home/ftp/gentoo/distfiles/" FEATURES="digest distlocks parallel-fetch preserve-libs sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="file:///mnt/ext/backups/fastone/backup-lin/home/ftp/gentoo http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ http ://mirror.qubenet.net/mirror/gentoo/ http://src.gentoo.pl http://mirrors.evolva.ro/gentoo/ http://de-mirror.org/distro/gentoo/ http://ftp .gentoo.bg/" LANG="af_ZA" LDFLAGS="" LINGUAS="af en en_ZA af_ZA" MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exc lude=/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="7zip X a52 aac acpi adns aiglx aim aio alsa amd64 amr amrnb amrr amrwb animgif aoss apm applet arts artswrappersuid auctex avahi bac kground berkdb bluetooth browserplugin bundled-libs buttons bzip2 cairo cap caps cardbus cdda cddb cdio cdparanoia cdr cgi cli cracklib c rypt css cups curl curlwrappers daap dar64 dbus dbx dga dia dio discard-path diskcache divx divx4linux dmx dnd doc dri dts dv dvd dvdnav dvdr dvdread eds emboss emul-linux-x86 encode esd examples exif fam ffmpeg filter firefox flac font-server fontconfig fortran fping freet ype ftp garmin gcj gd gdbm gif gnokii gnome gogo gpac gpm gstreamer gtk gtk2 hal high-ints html httpd iconv id3 id3tag idea ieee1394 imag emagick imlib isdnlog jack java jpeg kde lame lcms ldap libffi libnotify lm_sensors lua mad md5sum mdnsresponder-compat midi mikmod mjpeg mmap mng motif mozbranding mozdevelop mozsvg mp2 mp3 mpeg mplayer mudflap musicbrainz ncurses nls nptl nptlonly nsplugin ntfs ofx ogg og gvorbis on-the-fly-crypt opendoc openexr opengl openmp openssl openstreetmap oss pam pam_chroot pch pcre pdf perl php plotutils plugins p ng pnm postgres postscript ppds pppd print python qt3 qt3support qt4 quicktime rar rdesktop readline reflection reiserfs restrict-javascr ipt rle rrdtool rtc sdl sensord session shorten sms sockets sox spell spl srt sse-filters ssl staticsocket stroke subp subtitles subversi on suid svg svn-mirror svnserve sysfs taglib tagwriting tetex theora threads tiff tk toolbar transcode transparent-proxy truetype twolame type1 unicode urandom usb vcd vcdimager vim-pager vorbis vorbis-psy wavpack win32codes wma wma123 wmf wmp wxwindows x11vnc x264 xemacs x face xforms xft xine xml xmlreader xmlwriter xorg xosd xprint xscreensaver xv xvid xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atii xp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lf loat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon au thn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_i d userdir usertrack vhost_alias" CAMERAS="canon ptp2 panasonic_dc1000 panasonic_dc1580 panasonic_l859" ELIBC="glibc" INPUT_DEVICES="keybo ard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="af en en_ZA af_ZA" USERLAND="GNU" VIDEO_CARDS="ati fbdev vesa fglrx radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Fixed in gnokii-0.6.26-r2 by adding sys-apps/pcsc-lite dependency along with --enable-libpcsclite configure option. That is quite wierd! According to configure.in, there is no connection between --disable-libpcsclite and --with-x. Anyway, adding libpcsclite dependency fixes the issue (automagically I might add). Thanks for reporting this!