Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 73035

Summary: gaim-encryption-2.32-r1 fails to install with net-www/mozilla-firefox-1.0-r3 installed
Product: Gentoo Linux Reporter: Ian Perry <ianperry>
Component: Current packagesAssignee: Gaim Bugs Crew <gaim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: juan, opello, rotech
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ian Perry 2004-12-01 07:41:36 UTC
I have both Gaim and Firefox installed, and wanted to upgrade to the latest version of gaim-encryption. I noticed that it no longer requires nss (and nspr) to be installed, but is instead happy if either Firefox or Mozilla is installed. Unfortunately, it can't find the nss and nspr libraries in my case.

Reproducible: Always
Steps to Reproduce:
1. emerge unmerge dev-libs/nspr dev-libs/nss
2. ACCEPT_KEYWORDS="~x86" emerge net-www/mozilla-firefox
3. ACCEPT_KEYWORDS="~x86" emerge x11-plugins/gaim-encryption

Actual Results:  
...
checking for mozilla-nss... Package mozilla-nss was not found in the pkg-config
search path.
Perhaps you should add the directory containing `mozilla-nss.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mozilla-nss' found
checking for Mozilla nspr4 includes... no
configure: error: You need to specify --with-nspr-includes="dir"
                     (where "dir" is the location of the NSPR headers like prio.h)

Expected Results:  
gaim-encryption should have located libnspr4 and libnss3 in /usr/lib/MozillaFirefox

From what I understand, there are two possible solutions to this problem:

1. The net-www/mozilla-firefox ebuild is modified to install the relevant .pc
files for pkg-config to be able to locate its libs. The problem here is that it
would clobber the files from dev-libs/nss and dev-libs/nspr, so you might have
to put a block in as well. Haven't checked the situation with net-www/mozilla.

2. The x11-plugins/gaim-encryption ebuild is modified to manually locate the two
relevant libraries. Less elegant, but probably a simpler solution.

I'll let you devs work out which is the better solution. Hope I don't cause a
flamewar. :-)
Comment 1 Ian Perry 2004-12-01 07:43:09 UTC
Whoops! Here's my emerge info:

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.4.27-nw1 i686)
=================================================================
System uname: 2.4.27-nw1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.6
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r6,sys-devel/autoconf-2.13
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.26
Libtools: sys-devel/libtool-1.5.10
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/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="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-overlay"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib alsa audiofile avi bash-completion berkdb bitmap-fonts bmp cdr crypt cups divx4linux dvd dvdr encode f77 fam flac foomaticdb fortran ftp gdbm gif gpm gtk2 gtkhtml imagemagick imlib java jpeg libg++ libwww lirc mad maildir mailwrapper mikmod mmx mng motif mpeg ncurses nls offensive oggvorbis opengl oss pam pcre pdflib perl pic png ppds python qt quicktime readline samba sdl slang sox speex spell sse ssl svg tcltk tcpd tetex tiff truetype unicode usb videos x86 xml xml2 xmms xosd xv xvid zlib"

(Custom kernel, basically ck-sources + v4l2)
Comment 2 opello@opello.org 2004-12-01 17:05:06 UTC
I'm also having this problem, latexer said that mozilla provides the mozilla-nss.pc file for him, but I don't have it at all in my /usr/lib/pkgconfig/

The little checking I could think of ... mozilla-firefox-1.0-r3 doesn't have it in its CONTENTS, neither do gnutls-1.0.17 nor nss-3.9.2

hope this helps
Comment 3 Don Seiler (RETIRED) gentoo-dev 2004-12-02 06:21:19 UTC
*** Bug 73095 has been marked as a duplicate of this bug. ***
Comment 4 Don Seiler (RETIRED) gentoo-dev 2004-12-02 06:25:12 UTC

*** This bug has been marked as a duplicate of 69339 ***