homebank 3.8 build error
I attempted to install homebank but i see the following error:
$ sudo port install homebank
---> Fetching homebank
---> Attempting to fetch homebank-3.8.tar.gz from http://distfiles.macports.org/homebank
---> Verifying checksum(s) for homebank
---> Extracting homebank
---> Configuring homebank
---> Building homebank
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_x11_homebank/work/homebank-3.8" && make all " returned error 2
Command output: make all-recursive
Making all in src
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -DLOCALE_DIR=\""/opt/local/share/locale"\" -DPIXMAPS_DIR=\""/opt/local/share/homebank/images"\" -DHELP_DIR=\""/opt/local/share/homebank/help"\" -I/opt/local/include -O2 -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -Wall -DOFX_0_7 -MT gtkchart.o -MD -MP -MF ".deps/gtkchart.Tpo" -c -o gtkchart.o gtkchart.c; \
then mv -f ".deps/gtkchart.Tpo" ".deps/gtkchart.Po"; else rm -f ".deps/gtkchart.Tpo"; exit 1; fi
In file included from gtkchart.c:25:
gtkchart.h:130: error: syntax error before 'gtk_chart_get_type'
gtkchart.h:130: warning: type defaults to 'int' in declaration of 'gtk_chart_get_type'
gtkchart.h:130: warning: data definition has no type or storage class
In file included from homebank.h:43,
from gtkchart.c:26:
gtkdateentry.h:71: error: syntax error before 'gtk_dateentry_get_type'
gtkdateentry.h:71: warning: type defaults to 'int' in declaration of 'gtk_dateentry_get_type'
gtkdateentry.h:71: warning: data definition has no type or storage class
gtkchart.c:132: error: conflicting types for 'gtk_chart_get_type'
gtkchart.h:130: error: previous declaration of 'gtk_chart_get_type' was here
make[2]: *** [gtkchart.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Fixed in r41799.