From owner-freebsd-ports@FreeBSD.ORG Sun Dec 3 19:21:12 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 38CE116A565 for ; Sun, 3 Dec 2006 19:21:12 +0000 (UTC) (envelope-from shild@sbcglobal.net) Received: from flpi101.sbcis.sbc.com (flpi101.sbcis.sbc.com [207.115.20.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B96243CC8 for ; Sun, 3 Dec 2006 19:18:58 +0000 (GMT) (envelope-from shild@sbcglobal.net) X-ORBL: [75.4.65.154] Received: from fbsd1.dyndns.org (adsl-75-4-65-154.dsl.emhril.sbcglobal.net [75.4.65.154]) by flpi101.sbcis.sbc.com (8.13.7 out spool5000 dk/8.13.7) with ESMTP id kB3JJEhD029838; Sun, 3 Dec 2006 11:19:15 -0800 Received: from fbsd1.dyndns.org (localhost [127.0.0.1]) by fbsd1.dyndns.org (8.13.8/8.13.8) with ESMTP id kB3JJ81B020688; Sun, 3 Dec 2006 13:19:09 -0600 (CST) (envelope-from shild@sbcglobal.net) Received: (from shildret@localhost) by fbsd1.dyndns.org (8.13.8/8.13.8/Submit) id kB3JJ7O7020687; Sun, 3 Dec 2006 13:19:07 -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: Eric Schuele In-Reply-To: <45726F2E.7060900@computer.org> References: <4538CBEA.4070205@computer.org> <20061021010556.GB1148@turion.vk2pj.dyndns.org> <453A5B23.3070602@computer.org> <453A5D3A.3070205@computer.org> <20061022001145.GC6215@turion.vk2pj.dyndns.org> <1163353785.65568.35.camel@fbsd1.dyndns.org> <20061116182540.GA909@turion.vk2pj.dyndns.org> <1164300116.84151.23.camel@fbsd1.dyndns.org> <1164416009.8037.25.camel@fbsd1.dyndns.org> <20061125014406.GA848@turion.vk2pj.dyndns.org> <1165096777.8037.98.camel@fbsd1.dyndns.org> <45726F2E.7060900@computer.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sun, 03 Dec 2006 13:19:06 -0600 Message-Id: <1165173546.75400.8.camel@fbsd1.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1.1 FreeBSD GNOME Team Port Cc: freebsd-ports Subject: Re: gnucash will not install/run.... [SOLVED] 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: Sun, 03 Dec 2006 19:21:12 -0000 On Sun, 2006-12-03 at 00:31 -0600, Eric Schuele wrote: > On 12/02/06 15:59, Scott T. Hildreth wrote: > > > > On Sat, 2006-11-25 at 12:44 +1100, Peter Jeremy wrote: > >> On Fri, 2006-Nov-24 18:53:28 -0600, Scott T. Hildreth wrote: > >>> "you need to set "libltdl_cv_sys_dlopen_deplibs=yes" in the environment > >>> before running the ./configure command." > >>> > >>> ...does this apply to gnucash2 as well? > >> Yes. > >> > >>> If I run strace on the process > >>> it just keeps spinning through the library search. > >> That's the problem that the above command fixes. > > > > I'm still having this problem. I changed the Makefile, > > > > CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ > > libltdl_cv_sys_dlopen_deplibs=yes \ > > LIBS="-L${LOCALBASE}/lib" > > > > I checked the work/gnucash-2.0.2/config.log and the > > "libltdl_cv_sys_dlopen_deplibs=yes" is in there. I do > > make install, start gnucash and the same problem occurs. > > I am doing something wrong here? > > > > Right or wrong... I do the following and it works. > #!/bin/sh > > # > # Fixes gnucash slooow startups... > # > > cd /usr/ports/lang/guile > make deinstall > > cd /usr/ports/devel/libltdl15 > make deinstall > > libltdl_cv_sys_dlopen_deplibs= yes /\ || for archives, take space out between the '=' and 'yes' > export libltdl_cv_sys_dlopen_deplibs > > cd /usr/ports/devel/libltdl15 > make clean > make install clean > > cd /usr/ports/lang/guile > make clean > make install clean > > ### Thanks Eric, that worked! > > The above script assumes you have gnucash installed "properly" and are > suffering from the slow startups. > > HTH. > -- Scott T. Hildreth