running in the source tree

Andrew Pimlott gnucash-devel at andrew.pimlott.net
Thu Feb 6 10:38:17 CST 2003


On Wed, Feb 05, 2003 at 01:32:28PM -0500, Derek Atkins wrote:
> Andrew Pimlott <gnucash-devel at andrew.pimlott.net> writes:
> 
> > Is it correct that nobody cares much about running gnucash in the
> > source tree?  I tried doing this and encountered several obvious
> > errors.  Here's what I had to do to make it start (I haven't tested
> > much, but it seems to be working):
> 
> No, it's not correct that nobody cares.  It is correct that nobody
> really tests it. ;)

Now that I tried to use the window that pops up, I see that
GNC_GLADE_DIR is hard-coded
(gnome-utils/dialog-utils.c:gnc_glade_xml_new and
gnome-utils/gnc-dir.h:GNC_GLADE_DIR).  There are a couple other
hard-coded paths in gnc-dir.h, and one in /app-utils/i18n.h, which
is probably not critical.

There doesn't appear to be a mechanism like gnc:config-var-value-get
for C code to get a parameter like this.  Is it worth adding one?

Andrew


More information about the gnucash-devel mailing list