GnuCash-1.4.6 fails to compile on FreeBSD 4.1-RELEASE (was: Re: GnuCash-1.5.1 fails to compile on FreeBSD 4.1-RELEASE)

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


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:

[...]
gnome-xml -I/usr/local/include -I/usr/local/include -c
enriched-messages.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I..   -I../engine   -I../gnome
-I../register    -g -O2 -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 gfec.c
gfec.c: In function `gfec_catcher':
gfec.c:38: warning: implicit declaration of function `strdup'
gfec.c:38: warning: assignment makes pointer from integer without a cast

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

Stop in /usr/home/sdn/p/ports/gnucash-1.4.6/src/guile.
*** Error code 1

Stop in /usr/home/sdn/p/ports/gnucash-1.4.6/src.
*** Error code 1

Stop in /usr/home/sdn/p/ports/gnucash-1.4.6.
*** Error code 1

Stop in /usr/home/sdn/p/ports/gnucash-1.4.6.



Can you help me get this compiled of FreeBSD?



Matthew Condell wrote:

> > Who is Matthew Condell?
>
> That's me. I've been helping keep the gnucash port up-to-date for
> FreeBSD.
>
> I haven't had a chance to try compiling 1.5.1 yet, but hope to
> get it up and running and submit a gnucash-dev port in the next
> couple of weeks.
>
> One thing you might try is to modify the makefile in the 1.4.5
> port (/usr/ports/deskutils/gnucash) by swapping 1.5.1 for 1.4.5
> for the PORTVERION variable.  Then try using the port.  All the
> dependencies won't be correct, but it sets a bunch of environment
> variables that should help.  It also sets an argument to configure
> that looks like it may help your problem:
>
> --with-glib-config=/usr/local/bin/glib12-config
>
> Matt