Installing on OS X Leopard - Build Error

Lenore Horner LenoreHorner at sbcglobal.net
Tue Aug 18 12:07:16 PDT 2009


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

and got the following which looks like libgnutls-config is in a  
logical place.

/opt/local/bin/libgnutls-config
/opt/local/bin/libgnutls-extra-config
/opt/local/lib/libgnutls-extra.26.dylib
/opt/local/lib/libgnutls-extra.a
/opt/local/lib/libgnutls-extra.dylib
/opt/local/lib/libgnutls-extra.la
/opt/local/lib/libgnutls-openssl.26.dylib
/opt/local/lib/libgnutls-openssl.a
/opt/local/lib/libgnutls-openssl.dylib
/opt/local/lib/libgnutls-openssl.la
/opt/local/lib/libgnutls.26.dylib
/opt/local/lib/libgnutls.a
/opt/local/lib/libgnutls.dylib
/opt/local/lib/libgnutls.la
/opt/local/lib/libgnutlsxx.26.dylib
/opt/local/lib/libgnutlsxx.a
/opt/local/lib/libgnutlsxx.dylib
/opt/local/lib/libgnutlsxx.la
/opt/local/share/aclocal/libgnutls-extra.m4
/opt/local/share/aclocal/libgnutls.m4
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/bin/ 
libgnutls-config
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/bin/ 
libgnutls-extra-config
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/lib/ 
libgnutls-extra.26.dylib
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/lib/ 
libgnutls-extra.a
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/lib/ 
libgnutls-extra.dylib
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/lib/ 
libgnutls-extra.la
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/lib/ 
libgnutls-openssl.26.dylib
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/lib/ 
libgnutls-openssl.a
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/lib/ 
libgnutls-openssl.dylib
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/lib/ 
libgnutls-openssl.la
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/lib/ 
libgnutls.26.dylib
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/lib/ 
libgnutls.a
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/lib/ 
libgnutls.dylib
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/lib/ 
libgnutls.la
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/lib/ 
libgnutlsxx.26.dylib
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/lib/ 
libgnutlsxx.a
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/lib/ 
libgnutlsxx.dylib
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/lib/ 
libgnutlsxx.la
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/share/ 
aclocal/libgnutls-extra.m4
/opt/local/var/macports/software/gnutls/2.6.5_0/opt/local/share/ 
aclocal/libgnutls.m4

Perhaps the problem is that there's a typo in the portfile because  
what you have in your error message is libgnutls_config and what I  
have installed is libgnutls-config.

Lenore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090818/05c72f54/attachment.html>


More information about the macports-users mailing list