GnuCash 2.1.0 build failure on Mac OSX / Fink

David Reiser dbreiser at earthlink.net
Mon Apr 16 00:18:48 EDT 2007


On 15 Apr 2007, at 9:51:39 PM, weiv wrote:

> David,
>
> I think that everything on my machine is according to what you  
> describe:
> weiv-mac:gnucash-2.1.0.$ fink list libtool
> Information about 6164 packages read in 0 seconds.
>      libtool          1.3.5-23     Shared library build helper, v1.3.5
>      libtool-shlibs   1.3.5-23     Shared libraries for libtool,  
> v1.3.5
> i   libtool14        1.5.22-1000  Shared library build helper, v1.5
> i   libtool14-sh...  1.5.22-1000  Shared libraries for libtool, v1.5
>
> PATH is PATH=/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/Users/ 
> weiv/bin:/sw/bin:/usr/X11R6/bin
>
> and
>
> weiv-mac:weiv$ which libtoolize
> /sw/bin/libtoolize
> weiv-mac:weiv$ ls -l /sw/bin/libtoolize
> lrwxr-xr-x   1 root  admin  19 Jan  9 19:09 /sw/bin/libtoolize -> / 
> sw/bin/glibtoolize
>
> Yet, the build fails in linking stage, regardless of whether I  
> specify --with-g-wrap-prefix or not.
>
> Any ideas? I can send the whole build log, if that would provide  
> more information.
>
> Regards,
> v.
>
>
> On Apr 15, 2007, at 6:30 PM, David Reiser wrote:
>
>>
>> On 15 Apr 2007, at 6:20:44 PM, Andreas Köhler wrote:
>>
>>> Hi,
>>>
>>> Am Sonntag, den 15.04.2007, 15:04 -0700 schrieb weiv:
>>>> Hi,
>>>>
>>>> I have tried building gc 2.1.0 on my MacBook Pro. I have stable gc
>>>> running there (2.0.5) through Fink. I have tried to use  
>>>> instructions
>>>> on http://captnswing.net/2006/07/10/gnucash20_on_intel_macs.html  
>>>> for
>>>> building (this worked before gc 2 was integrated in Fink).
>>>>
>>>> This is what I have done:
>>>> fink selfupdate
>>>> fink update-all
>>>>
>>>> then:
>>>> export CFLAGS="-L/sw/lib -I/sw/include"
>>>> export CPPFLAGS="-L/sw/lib -I/sw/include"
>>>> export LDFLAGS="-L/sw/lib"
>>>> export PATH=$PATH:/sw/share/guile/1.6/scripts/binoverride/
>>>> ./configure --with-g-wrap-prefix=/sw --enable-compile-warnings

I think you need to tie in guile more explicitly:

I use:

guile16-build ./configure --prefix=/opt/gnucashtemp --mandir=/opt/ 
gnucashtemp/share/man --infodir=/opt/gnucashtemp/share/info -- 
libexecdir=/opt/gnucashtemp/lib --enable-error-on-warning=no -- 
disable-dependency-tracking --disable-schemas-install --enable-ofx -- 
enable-hbci --disable-sql

You certainly don't need all of those switches (maybe not even  
any...) but I was just trying to mimic what has been used in the fink  
gnucash2.info file so far.

guile16-build is an 'environment enhancer' created by fink when  
installing guile 1.6.

guile16-build is:

#! /bin/sh
GUILE=guile-1.6
GUILE_CONFIG=guile-1.6-config
GUILE_TOOLS=guile-1.6-tools
PATH="/sw/share/guile/1.6/scripts/binoverride:$PATH"
export GUILE
export GUILE_CONFIG
export GUILE_TOOLS
export PATH
eval "$@"


after configure:

guile16-build make

[snip]

I get pretty far in the build, but it fails for me with:

Making all in checks
make[2]: *** No rule to make target `gnomeprint/deluxe.chk', needed  
by `all-am'.  Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

If the build completes, you only need to 'make install' (possibly  
'sudo make install' depending on your --prefix for config)


Dave
--
David Reiser
dbreiser at earthlink.net




More information about the gnucash-user mailing list