GnuCash-1.4.6 fails to compile on FreeBSD 4.1-RELEASE

Dave Peticolas dave@krondo.com
Thu, 21 Sep 2000 13:47:48 -0700


Steve Davidson writes:
> Okay, I installed the older versions:
> 
> % g-wrap --version
> g-wrap 0.9.4
> % guile -v
> Guile 1.3.4
> 
> And I do a make:
> [...]
> Making all in gnome
> Making all in guile
> FLAVOR=gnome g-wrap --api c --target guile
> Usage: g-wrap [options] file
>   g-wrap --version          - show version information
>   g-wrap --help             - show this message
>   g-wrap --api LANGUAGE     - language of the API being wrapped
>   g-wrap --target LANGUAGE  - language for which wrappers are being generated
> 
>   Example: g-wrap --api c --target guile foo.gwp*** Error code 1

Try this patch to src/guile/Makefile.am:

Index: Makefile.am
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/guile/Makefile.am,v
retrieving revision 1.4.2.1
diff -u -r1.4.2.1 Makefile.am
--- Makefile.am	2000/06/29 07:03:37	1.4.2.1
+++ Makefile.am	2000/09/21 20:47:30
@@ -47,7 +47,7 @@
   -I../register
 
 gnc.h gnc.c gnc.html gnc-autogen.h: gnc.gwp
-	FLAVOR=gnome g-wrap --api c --target guile $<
+	FLAVOR=gnome g-wrap --api c --target guile gnc.gwp
 CLEANFILES += gnc.h gnc.c gnc.html gnc-autogen.h
 
 #all-local: gnucash.c i18n.h