Bug 21067

Summary: GnuCash 1.4.4 fails to compile
Product: Ports & Packages Reporter: stevedav <stevedav>
Component: Individual Port(s)Assignee: Ade Lovett <ade>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description stevedav 2000-09-05 18:50:03 UTC
Gnucash 1.4.4 fails to compile.

Here is the error:

gmake[4]: Leaving directory `/usr/ports/deskutils/gnucash/work/gnucash-1.4.4/src/register'
gmake[3]: Leaving directory `/usr/ports/deskutils/gnucash/work/gnucash-1.4.4/src/register'
Making all in guile
gmake[3]: Entering directory `/usr/ports/deskutils/gnucash/work/gnucash-1.4.4/src/guile'
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/ports/deskutils/gnucash/work/gnucash-1.4.4/src/guile'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/deskutils/gnucash/work/gnucash-1.4.4/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/deskutils/gnucash/work/gnucash-1.4.4'
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.

Fix: 

Fix the port.
How-To-Repeat: Download port for Gnucash 1.4.4.    untar, make.
Comment 1 Ade Lovett freebsd_committer freebsd_triage 2000-09-07 16:49:13 UTC
State Changed
From-To: open->feedback

I've just updated the port to 1.4.5 - however, this was a minor 
update and 1.4.4 built just fine here on my 4.1-STABLE box. 

Since there are so many dependencies for this port, you definitely 
need to ensure that your installed ports are fully up-to-date. 

The error you're reporting looks scheme-ish to me, so make sure 
that you have at least slib-2c7 and scheme48-0.46 installed. 

Update your ports and try again, and please let me know whether 
you're having similar problems. 


Comment 2 Ade Lovett freebsd_committer freebsd_triage 2000-09-07 16:49:13 UTC
Responsible Changed
From-To: freebsd-ports->ade

My port
Comment 3 Ade Lovett freebsd_committer freebsd_triage 2000-09-20 02:30:47 UTC
State Changed
From-To: feedback->closed

Closed at submitters request.  Submitter will be sanitizing 
their system and open a new PR if the problem persists.