When I try to emerge gaim-encryption. I get a configure error Error trying to link against the NSPR libraries. Make sure to specify --with-nspr-libs="dir" where "dir" is the location of the NSPR library file, probably libnspr4.so or libnspr4.a Reproducible: Always Steps to Reproduce: 1. emerge gaim-encryption 2. 3. Actual Results: bash-2.05b# emerge gaim-encryption Calculating dependencies ...done! >>> emerge (1 of 1) x11-plugins/gaim-encryption-2.36 to / >>> md5 files ;-) ChangeLog >>> md5 files ;-) metadata.xml >>> md5 files ;-) gaim-encryption-2.32-r1.ebuild >>> md5 files ;-) gaim-encryption-2.34.ebuild >>> md5 files ;-) gaim-encryption-2.35.ebuild >>> md5 files ;-) gaim-encryption-2.36.ebuild >>> md5 files ;-) files/digest-gaim-encryption-2.32-r1 >>> md5 files ;-) files/digest-gaim-encryption-2.34 >>> md5 files ;-) files/digest-gaim-encryption-2.35 >>> md5 files ;-) files/digest-gaim-encryption-2.36 >>> md5 src_uri ;-) gaim-encryption-2.36.tar.gz >>> Unpacking source... >>> Unpacking gaim-encryption-2.36.tar.gz to /var/tmp/portage/gaim-encryption-2.36/work >>> Source unpacked. * econf: updating gaim-encryption-2.36/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gaim-encryption-2.36/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-nspr-includes=/usr/include/nspr --with-nss-includes=/usr/include/nss --with-nspr-libs=/usr/lib/nspr --with-nss-libs=/usr/lib/nss configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... found checking for working autoconf... found checking for working automake-1.4... found checking for working autoheader... found checking for working makeinfo... found checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for strerror in -lcposix... no checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for signed... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking for long long... yes checking for long double... yes checking for wchar_t... yes checking for wint_t... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking whether integer division by zero raises SIGFPE... yes checking for unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN macros are broken... no checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... ./config.rpath: ./config.rpath: No such file or directory done checking for ptrdiff_t... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for asprintf... yes checking for fwprintf... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for snprintf... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for wcslen... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for __fsetlocking... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... no checking whether getc_unlocked is declared... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... bison checking version of bison... 1.875, ok checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed checking for pkg-config... /usr/bin/pkg-config checking for gaim... yes checking GAIM_CFLAGS... -I/usr/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking GAIM_LIBS... -lglib-2.0 checking for Mozilla nspr4 includes in /usr/include/nspr... checking nspr.h usability... yes checking nspr.h presence... yes checking for nspr.h... yes checking prio.h usability... yes checking prio.h presence... yes checking for prio.h... yes checking again for Mozilla nspr4 includes in /usr/include/nspr... yes checking for Mozilla nspr libraries... no checking for Mozilla nspr4 libraries... no configure: error: Error trying to link against the NSPR libraries. Make sure to specify --with-nspr-libs="dir" where "dir" is the location of the NSPR library file, probably libnspr4.so or libnspr4.a !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/gaim-encryption-2.36/work/gaim-encryption-2.36/config.log !!! ERROR: x11-plugins/gaim-encryption-2.36 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.3.20040420-r0,glibc-2.3.2-r9,glibc-2.3.3.20040420-r1,glibc-2.3.4.20040808-r1,glibc-2.3.4.20041102-r1, 2.6.5-gentoo-r1 i686) ================================================================= System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.3-r1,dev-lang/python-2.3.3,dev-lang/python-2.3.4,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 8 2005, 14:22:09)] ccache version 2.3 [enabled] dev-lang/python: 2.3.3-r1, 2.3.3, 2.3.4, 2.3.4-r1 sys-devel/autoconf: 2.58-r1, 2.59-r4, 2.59-r3, 2.59-r5, 2.13, 2.59-r6 sys-devel/automake: 1.8.3, 1.7.7, 1.8.5-r1, 1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.4, 1.8.5-r3, 1.7.9-r1 sys-devel/binutils: 2.15.90.0.1.1-r3, 2.14.90.0.7-r4, 2.14.90.0.8-r1, 2.15.92.0.2-r1 sys-devel/libtool: 1.4.3-r4, 1.5.2-r5, 1.5.2-r7, 1.5.10-r3, 1.5.10-r4 virtual/os-headers: 2.6.8.1-r1, 2.6.8.1-r2, 2.6.8.1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="no" CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -frename-registers -fregmove -fPIC" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -frename-registers -fregmove -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buldpkg ccache distlocks sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 aac aalib acpi alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups curl dga directfb divx4linux doc dvd emboss encode esd evo fam flac foomaticdb fortran gb gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib java jpeg kde ladcca lcms ldap libg++ libgda libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl pic plotutils png ppds python qt quicktime readline samba sasl scanner sdl slang slp speex spell sse sslsvga tcltk tcpd tetex tiff tlctk truetype truetype-fonts type1-fonts unicode usb videos wmf xinerama xml2 xmms xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY /var/tmp
please don't assign bugs directly
What does 'emerge -pv nss nspr gaim-encryption' say?
[ebuild R ] dev-libs/nss-3.9.2-r2 4,623 kB [ebuild R ] dev-libs/nspr-4.4.1-r2 1,293 kB [ebuild U ] x11-plugins/gaim-encryption-2.36 [2.32-r1] -debug 0 kB if I emerge it. I get a failure in nss >>> emerge (1 of 3) dev-libs/nss-3.9.2-r2 to / >>> md5 files ;-) nss-3.8.ebuild >>> md5 files ;-) ChangeLog >>> md5 files ;-) metadata.xml >>> md5 files ;-) nss-3.9.2.ebuild >>> md5 files ;-) nss-3.9.2-r2.ebuild >>> md5 files ;-) files/nss-3.8-amd64.patch >>> md5 files ;-) files/digest-nss-3.8 >>> md5 files ;-) files/nss-3.9.2-ppc64.patch >>> md5 files ;-) files/nss-3.8-mips.patch >>> md5 files ;-) files/nss-3.8-hppa.patch >>> md5 files ;-) files/digest-nss-3.9.2 >>> md5 files ;-) files/digest-nss-3.9.2-r2 >>> md5 files ;-) files/nss-3.9.2-mips64.patch >>> md5 src_uri ;-) nss-3.9.2.tar.gz >>> Unpacking source... >>> Unpacking nss-3.9.2.tar.gz to /var/tmp/portage/nss-3.9.2-r2/work * Applying nss-3.9.2-ppc64.patch ... [ ok ] * Applying nss-3.9.2-mips64.patch ... [ ok ] >>> Source unpacked. cd nsinstall; make export make[1]: Entering directory `/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/coreconf/nsinstall' make[1]: Nothing to be done for `export'. make[1]: Leaving directory `/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/coreconf/nsinstall' cd nsinstall; make libs make[1]: Entering directory `/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/coreconf/nsinstall' gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall.o -c -O2 -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE-DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include -I../../dist/public/coreconf -I../../dist/private/coreconf -I/usr/include/nspr -I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include/dbm nsinstall.c gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/pathsub.o -c -O2 -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include -I../../dist/public/coreconf -I../../dist/private/coreconf -I/usr/include/nspr -I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include/dbm pathsub.c gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall -O2 -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include -I../../dist/public/coreconf -I../../dist/private/coreconf -I/usr/include/nspr -I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include/dbm Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall.o Linux2.6_x86_glibc_PTH_OPT.OBJ/pathsub.o -L/lib -lpthread -ldl -lc /lib/libpthread.so.0: undefined reference to `errno@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `__libc_dl_error_tsd@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `__resp@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `h_errno@GLIBC_PRIVATE' collect2: ld returned 1 exit status make[1]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall] Error 1 make[1]: Leaving directory `/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/coreconf/nsinstall' make: *** [libs] Error 2 !!! ERROR: dev-libs/nss-3.9.2-r2 failed. !!! Function src_compile, Line 60, Exitcode 2 !!! coreconf make failed !!! If you need support, post the topmost build error, NOT this status message.
This looks to me like your glibc is screwed up. Can you emerge any C apps at all?
eek. I can emerge gaim, just did it twice, the older version and the newer version with the flag 'gnutls', which enables msn. I thought I needed gaim-encryption for that. So one of my problems is then solved. question remains, is gaim c prgram?
Yes gaim is written in C. If you still have problems, I might suggest re-emerging glibc.
It was a problem with glibc, but I don't know which exactly. I have done: emerge -P glibc (prune previous versions) and recompiled glibc with ntplonly on. Which I read in some other thread solved problems like I had.