Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Dec 2006 00:31:10 -0600
From:      Eric Schuele <e.schuele@computer.org>
To:        shild@sbcglobal.net
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: gnucash will not install/run.... [SOLVED]
Message-ID:  <45726F2E.7060900@computer.org>
In-Reply-To: <1165096777.8037.98.camel@fbsd1.dyndns.org>
References:  <4538CBEA.4070205@computer.org>	<20061021010556.GB1148@turion.vk2pj.dyndns.org>	<453A5B23.3070602@computer.org> <453A5D3A.3070205@computer.org>	<op.thsccufw9aq2h7@mezz.mezzweb.com>	<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>

next in thread | previous in thread | raw e-mail | index | archive | help
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
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

###

The above script assumes you have gnucash installed "properly" and are 
suffering from the slow startups.

HTH.

-- 
Regards,
Eric



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45726F2E.7060900>