I just emerged a newer version of slang than I used before, i.e. slang-1.4.9-r1. Afterwards I wanted to run an update on slrn (0.9.8.0 to 0.9.8.0-r1). this fails with the following error: ./chkslang slrn 10003 10400 ****** slang.h does not match slang library version. Did you install slang as as a shared library? Did you run ldconfig? You have an installation problem and you will need to check the SLANG variables in the Makefile and properly set them. Also try: make clean; make ****** I see this error has crept up before, but this was with different versions. The problem mentioned then, i.e. that the symlink libslang.so.1 wasn't created doesn't seem to be the cause here, since that symlink exists. emerge info: Portage 2.0.50-r9 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.7) ================================================================= System uname: 2.6.7 sparc64 sun4u Gentoo Base System version 1.4.3.10p1 ccache version 2.2 [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="sparc ~sparc" AUTOCLEAN="yes" CFLAGS="-mcpu=ultrasparc -O3 -pipe" CHOST="sparc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=ultrasparc -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.inode.at http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib avi berkdb cdr client crypt cups encode fbcon fftw foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde libwww mad mikmod motif mpeg ncurses nls offensive oggvorbis oss pam pdflib perl plotutils png postgres python qt readline sdl server slang sparc spell ssl tcltk tcpd tetex tiff truetype xml2 xmms xv zlib"
I'll get to it once I'm back at home from work.
Hm, I downgraded my system to slang-1.4.9 and slrn-0.9.8.0. Then I upgraded slang to 1.4.9-r1 and slrn to 0.9.8.0-r1 and I got no error. Could you please try re-emerging both packages with: emerge slang slrn
just did. same error as mentioned above. is there anything else I could check to help you track this down? since this thing complains about slang.h, I ran $ slocate slang.h /usr/include/slang.h /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/slang.h $ epm -q -f /usr/include/slang.h slang-1.4.9-r1 $ epm -q -f /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/slang.h gcc-3.2.3-r2 does that look right?
That already helped a lot. /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/slang.h doesn't match the installed slang library, but takes preference over /usr/include/slang.h and that leads to the error. On my system I only have /usr/include/slang.h available, but I'm using gcc from the 3.3 series. I suppose if you update your gcc to one of the 3.3 series the problem should be fixed.
that worked. OTOH it's not really a solution, is it? I mean gcc-update .. maybe I could have tried temporarily removing the second slang.h file.
Well, that should've worked also. But I consider updating gcc more a solution than temporarily moving the slang.h header file to another place. With updating gcc you make sure that you'll never hit this problem again, either with slrn or another package.