From nobody@FreeBSD.ORG  Tue Sep  5 10:46:34 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 0F90D37B422; Tue,  5 Sep 2000 10:46:34 -0700 (PDT)
Message-Id: <20000905174634.0F90D37B422@hub.freebsd.org>
Date: Tue,  5 Sep 2000 10:46:34 -0700 (PDT)
From: stevedav@pacbell.net
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: GnuCash 1.4.4 fails to compile
X-Send-Pr-Version: www-1.0

>Number:         21067
>Category:       ports
>Synopsis:       GnuCash 1.4.4 fails to compile
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    ade
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 05 10:50:03 PDT 2000
>Closed-Date:    Tue Sep 19 18:30:47 PDT 2000
>Last-Modified:  Tue Sep 19 18:31:24 PDT 2000
>Originator:     Steve Davidson
>Release:        FreeBSD 4.1-RELEASE
>Organization:
>Environment:
FreeBSD 4.1-RELEASE/gnucash 1.4.4
>Description:
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.


>How-To-Repeat:
Download port for Gnucash 1.4.4.    untar, make.
>Fix:
Fix the port.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: ade 
State-Changed-When: Thu Sep 7 08:49:13 PDT 2000 
State-Changed-Why:  
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. 


Responsible-Changed-From-To: freebsd-ports->ade 
Responsible-Changed-By: ade 
Responsible-Changed-When: Thu Sep 7 08:49:13 PDT 2000 
Responsible-Changed-Why:  
My port 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21067 
State-Changed-From-To: feedback->closed 
State-Changed-By: ade 
State-Changed-When: Tue Sep 19 18:30:47 PDT 2000 
State-Changed-Why:  
Closed at submitters request.  Submitter will be sanitizing 
their system and open a new PR if the problem persists. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21067 
>Unformatted:
