This bug appears similar to bug 164974 (Configure fails at same point) but I believe is unrelated. The error message is: checking for SLIB support... configure: error: Cannot find SLIB. Are you sure you have it installed? See http://bugzilla.gnome.org/show_bug.cgi?id=347922 The actual command configure is running here is ${GUILE} -c "(use-modules (ice-9 slib)) (require 'printf)" which fails with a message: ERROR: Unbound variable: slib:features Googling this error message turns up: http://not-your-cup-of-chai.blogspot.com/2006/11/slackware-11-and-adventure-with-gnucash.html Reproducible: Always Steps to Reproduce: # emerge --info Portage 2.1.3.16 (default-linux/x86/2006.1, gcc-4.2.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686) ================================================================= System uname: 2.6.22-gentoo-r8 i686 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz Timestamp of tree: Sat, 27 Oct 2007 21:50:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.2-r1 dev-lang/python: 2.4.4-r4, 2.5.1-r3 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -mtune=prescott -O2 -fomit-frame-pointer -pipe" CHOST="i686-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 /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=prescott -mtune=prescott -O2 -fomit-frame-pointer -pipe" DISTDIR="/mnt/stuff/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" LINGUAS="en" MAKEOPTS="-j3" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/vmware /usr/portage/local/layman/xeffects /usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="S3TC X Xaw3d a52 aac accessibility acl acpi ada afs aim aimextras akode allegro alsa amarok amazon amr aotuv applet arts asf async avahi berkdb bidi bitmap-fonts bzip2 cairo canna cdparanoia cjk cli compositor cracklib crypt cscope cups curl cvs d dbus dedicated dga directfb doc dri dts dvd dvdnav dvdr emacs encode erandom escreen esd exiscan exiscan-acl fam fbcon ffmpeg fftw firefox flac font-server fortran freewnn fuse gadu gcj gdbm gif glitz glut gnome gnutls gpgme gpm gstreamer gtk gtkhtml guile hal haskell howl-compat hybrid iconv idea ieee1394 imagemagick imap ipod ipv6 irc isdnlog iso14755 ithreads java javascript jpeg kde kdeenablefinal kdehiddenvisibility kerberos latex ldap libcaca libnotify lirc lj lm_sensors matroska mbox meanwhile midi mikmod mmap mmx mono mozcalendar mozsvg mp3 mpeg mpi msn mudflap mule multitarget music musicbrainz nat ncurses network new-login nls nptl nptlonly nsplugin ntlm nvidia objc ocaml odbc offensive ogg opengl openmp oss pam pascal pcre pdf perl pertty plotutils png povray ppds pppd python qt3 qt4 quicktime quotes rc5 rdesktop readline real realmedia reflection regex rss rtc ruby samba sasl screen sdl session skey slang smime sndfile spell spf spl sse sse2 ssl ssse3 subversion svg svga tcpd tetex theora threads tiff timidity tk transparency truetype truetype-fonts type1-fonts unicode usb uudeview v4l v4l2 visualization vorbis win32codecs wmf wmp x264 x86 xcb xchatdccserver xcomposite xgetdefault xine xinerama xorg xrandr xscreensaver xv xvid xvmc yahoo zlib" ALSA_CARDS="emu10k1, bt87x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** This bug has been marked as a duplicate of bug 196417 ***
I think the solution here is running `/usr/sbin/install_slib_for_guile` (Or install slib after guile.)
(In reply to comment #2) I can't reproduce this configure issue. Anyway, even if you manage to compile it then gnucash is completely broken (as in Bug 196417).
(In reply to comment #3) > (In reply to comment #2) > > I can't reproduce this configure issue. Anyway, even if you manage to compile > it then gnucash is completely broken (as in Bug 196417). Sorry, Jakub, you are wrong. My comment was the solution for the OP. If the bug you quoted is not fixed, please reopen it and give substantial information. And it is true, guile and slib are a PITA.
(In reply to comment #4) > If the bug you quoted is not fixed, please reopen it and give substantial > information. Well it's not fixed because slib and/or g-wrap get broken on every guile update lately, so even if you have correct versions installed but upgraded guile after that, it will screw up in one way or the other. Upstream should damn stop breaking things over and over again on every subminor version bump, annoying like hell.
*** This bug has been marked as a duplicate of bug 196639 ***
Building slib after guile didn't help. Downgrading guile and slib did. It also let me *build* g-wrap, which wouldn't build at all. Ugh, right, these are a PITA.
The problem here was a stray /usr/share/guile/site/slib/guile.init. I have no idea how it got there; no packages owned it.