gnucash 2.0

Fabrice Salvaire fabrice.salvaire at desy.de
Tue Jul 11 18:56:13 EDT 2006


Hi,

I found the bug, it was not too hard

in src/gnome-utils/dialog-utils.c

# GladeXML *
# gnc_glade_xml_new (const char *filename, const char *root)
# {
#   ...
# 
#   fname = g_strconcat (GNC_GLADE_DIR, "/", filename, (char *)NULL);

my config.log

# GNC_GLADE_DIR='${GNC_SHAREDIR}/glade'
# GNC_SHAREDIR='${pkgdatadir}'

pkgdatadir is not defined

configure.in

# pkgdatadir=${prefix}/${PACKAGE}

BUT ! in the source from the tar:

src/gnome-utils/gnc-dir.h:#define GNC_GLADE_DIR "/usr/local/share/gnucash/glade"
src/gnome-utils/gnc-dir.h.in:#define GNC_GLADE_DIR "@-GNC_GLADE_DIR-@"

and in src/gnome-utils/Makefile.am

# ## We borrow guile's convention and use @-...-@ as the substitution
# ## brackets here, instead of the usual @... at .  This prevents autoconf
# ## from substituting the values directly into the left-hand sides of
# ## the sed substitutions.
# gnc-dir.h: gnc-dir.h.in ${top_builddir}/config.status Makefile
#         rm -f $@.tmp
#         sed < $< > $@.tmp \
#             -e 's:@-GNC_ACCOUNTS_DIR-@:${GNC_ACCOUNTS_DIR}:g' \
#             -e 's:@-GNC_GLADE_DIR-@:${GNC_GLADE_DIR}:g' \
#             -e 's:@-GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY-@:${GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY}:g'
#         mv $@.tmp $@

gnc-dir.h is not generated by configure BUT by Make! Since it is already in the tar ...

You have to remove it and check your make tar, and release a bug fixe ...
Do not forget the build in source dir bug also.

I removed it. I am recompiling it.

> 
> -derek
> 
> -- 
>       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>       Member, MIT Student Information Processing Board  (SIPB)
>       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>       warlord at MIT.EDU                        PGP key available
> 

-- 
Fabrice Salvaire

FH1/HAM2
Desy
Building: 1c/280
Notkestrasse 85
22607 Hamburg
Germany
Tel: +49-(0)40-8998-3681
Email: fabrice.salvaire at desy.de


More information about the gnucash-user mailing list