GnuCash-1.4.6 fails to compile on FreeBSD 4.1-RELEASE

Steve Davidson sdn@sprintlabs.com
Thu, 21 Sep 2000 11:25:14 -0700


Matthew Condell wrote:

> > I made this change in the Makefile:
> >
> > PORTVERSION=    1.4.6
> > #PORTVERSION=   1.4.4
> >
> > And got this:
> >
> >
> > % make
> > >> gnucash-1.4.6.tar.gz is not in
> > /usr/ports/deskutils/gnucash/files/md5.
> > >> Either /usr/ports/deskutils/gnucash/files/md5 is out of date, or
> > >> gnucash-1.4.6.tar.gz is spelled incorrectly.
> > *** Error code 1
>
> Try:
> % make makesum
> That will create a new checksum file for 1.4.6 which I think
> should get you around that problem.
>
> Matt

make makesum   ...downloads 1.4.6
make                      ...same problem
[...]

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/gnome-xml -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/ports/deskutils/gnucash/work/gnucash-1.4.6/src/guile'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/deskutils/gnucash/work/gnucash-1.4.6/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/deskutils/gnucash/work/gnucash-1.4.6'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/deskutils/gnucash.
*** Error code 1

Stop in /usr/ports/deskutils/gnucash.
*** Error code 1

Stop in /usr/ports/deskutils/gnucash.