From owner-freebsd-ports@FreeBSD.ORG Thu Dec 27 19:40:01 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 265D716A419; Thu, 27 Dec 2007 19:40:01 +0000 (UTC) (envelope-from shild@sbcglobal.net) Received: from flpi185.prodigy.net (flpi185.sbcis.sbc.com [207.115.20.187]) by mx1.freebsd.org (Postfix) with ESMTP id 0E53513C46B; Thu, 27 Dec 2007 19:40:00 +0000 (UTC) (envelope-from shild@sbcglobal.net) X-ORBL: [68.75.166.208] Received: from fbsd1.dyndns.org (adsl-68-75-166-208.dsl.emhril.ameritech.net [68.75.166.208]) by flpi185.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id lBRJdxBq016537; Thu, 27 Dec 2007 11:39:59 -0800 Received: from fbsd1.dyndns.org (localhost.dyndns.org [127.0.0.1]) by fbsd1.dyndns.org (8.14.2/8.14.2) with ESMTP id lBRJeSfH024438; Thu, 27 Dec 2007 13:40:28 -0600 (CST) (envelope-from shild@sbcglobal.net) Received: (from shildret@localhost) by fbsd1.dyndns.org (8.14.2/8.14.2/Submit) id lBRJeRaW024437; Thu, 27 Dec 2007 13:40:27 -0600 (CST) (envelope-from shild@sbcglobal.net) X-Authentication-Warning: fbsd1.dyndns.org: shildret set sender to shild@sbcglobal.net using -f From: "Scott T. Hildreth" To: Gary Palmer In-Reply-To: <20071226234037.GD986@in-addr.com> References: <200712241928.lBOJSIU8085537@scotth.emsphone.com> <1198526985.34216.34.camel@shumai.marcuscom.com> <1198693635.1088.18.camel@fbsd1.dyndns.org> <20071226234037.GD986@in-addr.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 27 Dec 2007 13:40:27 -0600 Message-Id: <1198784427.1088.33.camel@fbsd1.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 FreeBSD GNOME Team Port Cc: gnome@freebsd.org, ports@freebsd.org Subject: Re: Getting the same problem nss problem with evolution X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: shild@sbcglobal.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2007 19:40:01 -0000 On Wed, 2007-12-26 at 18:40 -0500, Gary Palmer wrote: > On Wed, Dec 26, 2007 at 12:27:15PM -0600, Scott T. Hildreth wrote: > > > > On Mon, 2007-12-24 at 15:09 -0500, Joe Marcus Clarke wrote: > > > On Mon, 2007-12-24 at 13:28 -0600, Scott T. Hildreth wrote: > > > > ===> Extracting for evolution-2.12.2 > > > > => MD5 Checksum OK for gnome2/evolution-2.12.2.tar.bz2. > > > > => SHA256 Checksum OK for gnome2/evolution-2.12.2.tar.bz2. > > > > ===> Patching for evolution-2.12.2 > > > > ===> Applying FreeBSD patches for evolution-2.12.2 > > > > ===> evolution-2.12.2 depends on executable: gmake - found > > > > ===> evolution-2.12.2 depends on executable: bison - found > > > > ===> evolution-2.12.2 depends on file: /usr/local/bin/intltool-extract - found > > > > ===> evolution-2.12.2 depends on file: /usr/local/libdata/pkgconfig/gnome-mime-data-2.0.pc - found > > > > ===> evolution-2.12.2 depends on executable: pkg-config - found > > > > ===> evolution-2.12.2 depends on executable: update-desktop-database - found > > > > ===> evolution-2.12.2 depends on file: /usr/local/libdata/pkgconfig/gnome-doc-utils.pc - found > > > > ===> evolution-2.12.2 depends on file: /usr/local/libdata/xorg/libraries - found > > > > ===> evolution-2.12.2 depends on shared library: nss3.1 - not found > > > > ===> Verifying install for nss3.1 in /usr/ports/security/nss > > > > ===> Returning to build of evolution-2.12.2 > > > > Error: shared library "nss3.1" does not exist > > > > *** Error code 1 > > > > > > > > I am have this error installing firefox 2.0.0.11 as well, what am I missing here? > > > > > > Probably the contents of /usr/local/libdata/ldconfig. Assuming you have > > > nss properly installed, running ldconfig -m /usr/local/lib/nss will > > > temporarily resolve this problem, but you should reinstall nss to get > > > the directory re-added permanently. > > > > Maybe this is it (from ldconfig -r) > > > > 641:-lnss3.1 => /usr/local/lib/compat/pkg/libnss3.so.1 > > > > ...nss3 was reinstalled several times, but the ldconfig -m must > > have failed. When I ran ldconfig -m /usr/local/lib/nss, it failed > > printing that /usr/local/lib/nss is being ignored, because it is > > group writable. I changed the mode, the ldconfig worked and > > libnss3 is found now. > > I kept getting bitten by directory mode permission problems so I put a > > chmod go-w ${USE_LDCONFIG} > > (or ${USE_LDCONFIG32} as appropriate) > > into bsd.port.mk locally. I think it would be a good idea to put that > into the master bsd.port.mk personally. > > Patch is attached (I hope) > > Note that the line-numbers will be wrong as I have other changes in > my bsd.port.mk in addition to the changes attached. It is also a > while since I did the change, so I'm not sure if I caught every > potential case. But it seems to be working here. > > Gary I got firefox to compile, but evolution is failing in the data-server compile, /usr/lib/libssp.so: warning: warning: this program uses gets(), which is unsafe. /usr/local/lib/nss/libnss3.so: undefined reference to `NSC_ModuleDBFunc@NSS_3.4' /usr/local/lib/nss/libnss3.so: undefined reference to `NSC_GetFunctionList@NSS_3.4' /usr/local/lib/nss/libnss3.so: undefined reference to `FC_GetFunctionList@NSS_3.4' gmake[3]: *** [camel-lock-helper-1.2] Error 1 gmake[3]: Leaving directory `/usr/ports/databases/evolution-data-server/work/evolution-data-server-1.12.2/camel' gmake[2]: *** [all-recursive] Error 1 I must have another library issue. >