My emerge info is:
Gentoo Base System version 1.12.5
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-r8 i586)
=================================================================
System uname: 2.6.17-gentoo-r8 i586 AMD-K6(tm) 3D+ Processor
Last Sync: Wed, 04 Oct 2006 09:50:01 +0000
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
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-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=k6-3 -mmmx -m3dnow -mfpmath=387 -O3 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash
/etc/terminfo"
CXXFLAGS="-march=k6-3 -mmmx -m3dnow -mfpmath=387 -O3 -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://luxor.local/gentoo
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo
ftp://mirrors.blueyonder.co.uk/mirrors/gentoo
ftp://mirror.switch.ch/mirror/gentoo ftp://ftp.solnet.ch/mirror/Gentoo"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LINGUAS="en_GB"
MAKEOPTS="-j12"
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/lib/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 7zip X ada alsa arts berkdb bitmap-fonts cairo cdr cli crypt
cups dbus dlloader doc dri dvd dvdr eds elibc_glibc emboss encode esd f77 fam
firefox fortran gcj gdbm gif gnome gpm gstreamer gtk hal input_devices_evdev
input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde
kernel_linux ldap libg++ linguas_en_GB mad mikmod mmx mp3 mpeg ncurses nls nptl
nptlonly objc ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4
quicktime readline reflection sdl session spell spl ssl tcpd truetype
truetype-fonts type1-fonts udev unicode userland_GNU video_cards_mga vorbis
win32codecs xml xorg xv zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
================================================================================
When I attempted to emerge gnopernicus 1.0.4 I got the following error:
i586-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../srutil
-I../../srconf/libsrconf -DORBIT2=1 -pthread -I/usr/include/at-spi-1.0
-I/usr/include/libbonobo-2.0 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/bonobo-activation-2.0 -I/usr/include/gconf/2
-DG_LOG_DOMAIN=\"gnopernicus\" -march=k6-3 -mmmx -m3dnow -mfpmath=387 -O3 -pipe
-fomit-frame-pointer -MT libke.lo -MD -MP -MF .deps/libke.Tpo -c libke.c -fPIC
-DPIC -o .libs/libke.o
libke.c:34:21: error: gdk/gdk.h: No such file or directory
libke.c:35:22: error: gdk/gdkx.h: No such file or directory
distcc[10088] ERROR: compile libke.c on luxor.local/12 failed
make[3]: *** [libke.lo] Error 1
make[3]: Leaving directory
`/var/lib/portage/tmp/portage/gnopernicus-1.0.4/work/gnopernicus-1.0.4/kbd_mouse/libke'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/lib/portage/tmp/portage/gnopernicus-1.0.4/work/gnopernicus-1.0.4/kbd_mouse'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/lib/portage/tmp/portage/gnopernicus-1.0.4/work/gnopernicus-1.0.4'
make: *** [all] Error 2
!!! ERROR: app-accessibility/gnopernicus-1.0.4 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
ebuild.sh, line 1255: Called gnome2_src_compile
gnome2.eclass, line 64: Called die
!!! compile failure
When I added the environment variable C_INCLUDE_PATH='/usr/include/gtk-1.2' the
compilation went correctly. I had previously tried /usr/include/gtk-2.0, but
that produced errors too.
So, it looks like a directory is missing from the include paths in the
Makefile.