GnuCash-1.4.6 fails to compile on FreeBSD 4.1-RELEASE

Steve Davidson sdn@sprintlabs.com
Thu, 21 Sep 2000 10:50:22 -0700


Matthew Condell wrote:

> > Since I can't get 1.5.1 to compile,
> > I downloaded 1.4.6.tar.gz
> > ./configure completed without incident;
> > the compile returned this result:
>
> Have you tried using the port (deskutils/gnucash)?
> The port works fine for me on FreeBSD 3.4.
> The current port is for 1.4.5, but you can
> just change the Makefile to use 1.4.6 and
> it work (though the PLIST checksum will not
> be quite right).  This is how I've installed
> 1.4.6 on my system.
>
> If you still have problems after that,
> lemme know and I'll see what I can do, though
> I don't have a 4.1 system around to test on.
>
> Matt

BTW, here is the result of the 1.4.5 port from Freebsd.org:
(You see, nothing works for me).

[...]
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I..   -I../engine   -I../gnome
-I../register  -I/usr/local/include -I/usr/X11R6/include  -O -pipe -Wall
-I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/include/gtk12
-I/usr/local/include/glib12 -I/usr/local/include
-I/usr/local/include/libxml -I/usr/local/include -I/usr/local/include -c
gnc.c
gnc.c:50: syntax error before `POINTER_TOKEN_smob'
gnc.c:50: warning: type defaults to `int' in declaration of
`POINTER_TOKEN_smob'
gnc.c:51: warning: initialization makes integer from pointer without a
cast
gnc.c:51: warning: excess elements in scalar initializer
gnc.c:51: warning: (near initialization for `POINTER_TOKEN_smob')
gnc.c:51: warning: excess elements in scalar initializer
gnc.c:51: warning: (near initialization for `POINTER_TOKEN_smob')
gnc.c:53: warning: excess elements in scalar initializer
gnc.c:53: warning: (near initialization for `POINTER_TOKEN_smob')
gnc.c:53: warning: data definition has no type or storage class
gnc.c:56: syntax error before `POINTER_ARRAY_smob'
gnc.c:56: warning: type defaults to `int' in declaration of
`POINTER_ARRAY_smob'
gnc.c:57: warning: initialization makes integer from pointer without a
cast
gnc.c:57: warning: excess elements in scalar initializer
gnc.c:57: warning: (near initialization for `POINTER_ARRAY_smob')
gnc.c:57: warning: excess elements in scalar initializer
gnc.c:57: warning: (near initialization for `POINTER_ARRAY_smob')
gnc.c:59: warning: excess elements in scalar initializer
gnc.c:59: warning: (near initialization for `POINTER_ARRAY_smob')
gnc.c:59: warning: data definition has no type or storage class
gnc.c: In function `gwrap_gnc_print_session_text':
gnc.c:5922: warning: passing arg 2 of `gnc_print_session_text' discards
qualifiers from pointer target type
gnc.c: In function `init_gnc':
gnc.c:7246: warning: implicit declaration of function `scm_newsmob'
gmake[3]: *** [gnc.o] Error 1
gmake[3]: Leaving directory
`/usr/home/sdn/p/ports/pub/FreeBSD/branches/-current/ports/deskutils/gnucash/work/gnucash-1.4.5/src/guile'

gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/home/sdn/p/ports/pub/FreeBSD/branches/-current/ports/deskutils/gnucash/work/gnucash-1.4.5/src'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/home/sdn/p/ports/pub/FreeBSD/branches/-current/ports/deskutils/gnucash/work/gnucash-1.4.5'

gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in
/usr/home/sdn/p/ports/pub/FreeBSD/branches/-current/ports/deskutils/gnucash.

*** Error code 1

Stop in
/usr/home/sdn/p/ports/pub/FreeBSD/branches/-current/ports/deskutils/gnucash.

*** Error code 1

Stop in
/usr/home/sdn/p/ports/pub/FreeBSD/branches/-current/ports/deskutils/gnucash.