GnuCash 2.1.0 build failure on Mac OSX / Fink

weiv weivsara at gmail.com
Sun Apr 15 21:34:51 EDT 2007


Ok, so I naively tried
sed 's/libtool/glibtool/' configure >configure.new
and then
configure.new --enable-compile-warning; make

This miserably failed with:
weiv-mac:gnucash-2.1.0.$ make
./make-gnucash-potfiles > ./po/POTFILES.in
make  all-recursive
Making all in .
make[2]: Nothing to be done for `all-am'.
Making all in doc
Making all in examples
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in lib
Making all in libc
/bin/sh ../../glibtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H - 
I. -I../..   -L/sw/lib -I/sw/include  -Wdeclaration-after-statement - 
Wno-pointer-sign -D_FORTIFY_SOURCE=2 -L/sw/lib -I/sw/include -Wall - 
Wunused -Wmissing-prototypes -Wmissing-declarations  -Wno-unused -MT  
libc-missing-noop.lo -MD -MP -MF .deps/libc-missing-noop.Tpo -c -o  
libc-missing-noop.lo libc-missing-noop.c
glibtool: not configured to build any kind of library
Fatal configuration error.  See the libtool docs for more information.
make[3]: *** [libc-missing-noop.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
weiv-mac:gnucash-2.1.0.$

Has anybody managed to build gc 2.1.0 in this configuration? Are  
there any more pointers?

I also tried tricking the process by making links to glibtool and  
ranlib, as described in February postings to gnucash-devel. That  
obviously didn't magically start to work.

I'm willing to spend some time trying things out, but I'm not sure  
which things I should try out :)
So, if you have any more suggestions, please let me know.

Thanks!

Regards,
v.

On Apr 15, 2007, at 3:20 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
>
> --with-g-wrap-prefix is not needed for GnuCash >= 2.1, because of the
> switch to SWIG.
>
>> make
>
>> GnuCash starts to build, and build fails in link stage like this:
> [...]
>> ld: multiple definitions of symbol _gnc_module_current
>> .libs/gncmod-register-gnome.o definition of _gnc_module_current in
>> section (__DATA,__data)
> [...]
>> /usr/bin/libtool: internal link edit command failed
> [...]
>> Any ideas how to fix this?
>>
>> Thanks!
>
> Quoting Dave Reiser[1]:
> """
> I'm pretty sure this is the classic case of Apple has a program named
> libtool (which I think ships in /usr/bin) that has absolutely  
> nothing to
> do with the libtool _everybody_ else uses. That's where the glibtool
> substitution comes in.
> """
>
> -- andi5
>
> [1]
> https://lists.gnucash.org/pipermail/gnucash-devel/2007-February/ 
> 019850.html
>
>




More information about the gnucash-user mailing list