Installing on OS X Leopard - Build Error

Lenore Horner LenoreHorner at sbcglobal.net
Tue Aug 18 16:34:38 EDT 2009


On Aug 18, 2009, at 15:02 , Lenore Horner wrote:

>
> On Aug 18, 2009, at 14:31 , Christopher Stamper wrote:
>
>>
>>
>> On Tue, Aug 18, 2009 at 3:07 PM, Lenore Horner <LenoreHorner at sbcglobal.net 
>> > wrote:
>>
>> On Aug 18, 2009, at 13:21 , Christopher Stamper wrote:
>>
>>> Hello,
>>>
>>> I'm trying to install GNU Cash on my macbook using macports (Quartz
>>> version), following the instructions on the website.
>>>
>>> After running 'sudo port install gnucash', I get the following  
>>> error:
>>>
>>> ** The libgnutls-config script installed by LIBGNUTLS could not be  
>>> found
>>>> *** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is  
>>>> in
>>>> *** your path, or set the LIBGNUTLS_CONFIG environment variable  
>>>> to the
>>>> *** full path to libgnutls-config.
>>>> configure: error:
>>>>   **** Libgnutls is required for Gwenhywfar. Please install it  
>>>> (including
>>>> devel packages)
>>>>
>>>> Error: Status 1 encountered during processing.
>>>
>>>
>>> I've spent probably an hour on google, and it looks like I'm not  
>>> the only
>>> one with this problem. The package 'gnutls' is installed on my  
>>> machine. I
>>> tried installing libgnutls and libgnutls-config, but port just  
>>> claims it's
>>> an invalid package.
>>>
>>> Any ideas?
>> I didn't install gwenhywfar when I did quartz gnucash.  However, I  
>> do have gnutls installed.  I did
>>
>> locate libgnutls
>>
>> Tried sudo locate and got an error message:
>>
>> 'locate: `/var/db/locate.database': No such file or directory'
> Have you ever run the maintenance scripts, in particular weekly?    
> sudo periodic weekly
> I think that's where the locate database gets updated.
>
>>
>> At any rate, gnutls is installed. And lingnutls is not installed. I  
>> looked in the directories you mentioned, and couldn't find any  
>> libgnutls-config files.
>>
>> The version of gnutls you have installed is old; I've got 2.8.3. I  
>> read somewhere that the whole libgnutls-config thing got  
>> depriciated since then, so that could explain why I don't have it.
> Hmm.  Macports would update me only to 2.8.2.  Maybe I don't want to  
> do that!  Is your gnutls from outside MacPorts?  Although if it  
> were, MP should have installed its own for gwenhywvar.

Possibly the following is relevant for some package maintainer to  
implement (AFAIK gnucash is maintainerless)

-------- Original-Nachricht --------
Betreff: Bug#529831: libgwenhywfar: FTBFS against gnutls26 >= 2.7.x
Datum: Thu, 21 May 2009 20:12:53 +0200
Von: Andreas Metzler <ametz... at downhill.at.eu.org>
An: Debian Bug Tracking System <sub... at bugs.debian.org>

Package: libgwenhywfar
Version: 3.8.1-1
Severity: important

The package's ./configure script is trying to invoke libgnutls-config
and/or libgnutls-extra-config to search for the gnutls library. Newer
version of gnutls do not ship these scripts anymore.

Please use another way to search for the gnutls library, e.g.
pkg-config or AC_LIB_HAVE_LINKFLAGS or AC_CHECK_FUNCS. For packages
that already use pkg-config to search for other libraries, pkg-config
will probably be the simplest way. Debian's gnutls packages have
shipped the necessary .pc files 0.3.5-1 (June 2006).

This is going to be a rc bug once gnutls26 2.8 is released and
uploaded to unstable. The second release candidata of 2.8 (2.7.12) is
available for testing in Debian/experimental.

cu andreas

Maybe the newest gwenhywfar would take care of the problem, but I  
don't know whether the fix is confined to Debian.
Subject:	Bug#529831: fixed in libgwenhywfar 3.8.2-1
Source: libgwenhywfar
Source-Version: 3.8.2-1

We believe that the bug you reported is fixed in the latest version of
libgwenhywfar, which is due to be installed in the Debian FTP archive:

gwenhywfar-tools_3.8.2-1_i386.deb
to pool/main/libg/libgwenhywfar/gwenhywfar-tools_3.8.2-1_i386.deb
libgwenhywfar-doc_3.8.2-1_all.deb
to pool/main/libg/libgwenhywfar/libgwenhywfar-doc_3.8.2-1_all.deb
libgwenhywfar47-dev_3.8.2-1_i386.deb
to pool/main/libg/libgwenhywfar/libgwenhywfar47-dev_3.8.2-1_i386.deb
libgwenhywfar47_3.8.2-1_i386.deb
to pool/main/libg/libgwenhywfar/libgwenhywfar47_3.8.2-1_i386.deb
libgwenhywfar_3.8.2-1.diff.gz
to pool/main/libg/libgwenhywfar/libgwenhywfar_3.8.2-1.diff.gz
libgwenhywfar_3.8.2-1.dsc
to pool/main/libg/libgwenhywfar/libgwenhywfar_3.8.2-1.dsc
libgwenhywfar_3.8.2.orig.tar.gz
to pool/main/libg/libgwenhywfar/libgwenhywfar_3.8.2.orig.tar.gz

Gwenhywfar seems to be up to 3.10, but Macports is only up to 3.7.   
This is also no maintainer, so hopefully one of the maintainer  
geniuses can upgrade this easily.

Lenore



More information about the gnucash-user mailing list