exe prefix on windows

C. Ernst c.ernst72 at googlemail.com
Sat Apr 19 05:45:12 EDT 2008


Hi,

I wonder if this a problem of myself only, or a general issue.
Could somebody please verify this on Windows XP:
1.) Have gnucash 2.2.4 installed with the Windows installer. Have the
current development version in /c/soft built with install.sh.
2.) Add the following lines to your gnucash-bin.c in method main, after
gnc_gui_init(), line 623:
    g_warning("gnc_path_get_prefix: %s", gnc_path_get_prefix());
    g_warning("gnc_path_get_accountsdir: %s", gnc_path_get_accountsdir());
    g_warning("gnc_path_get_gconfdir: %s", gnc_path_get_gconfdir(TRUE));
    g_warning("gnc_path_get_gladedir: %s", gnc_path_get_gladedir ());
    g_warning("gnc_path_get_libdir: %s", gnc_path_get_libdir());
    g_warning("gnc_path_get_localedir: %s", gnc_path_get_localedir());
    g_warning("gnc_path_get_pkgdatadir: %s", gnc_path_get_pkgdatadir());
    g_warning("gnc_path_get_pkglibdir: %s", gnc_path_get_pkglibdir());
    g_warning("gnc_path_get_pkgsysconfdir: %s",
gnc_path_get_pkgsysconfdir());

3.) make_install.sh and launch /c/soft/gnucash/inst/bin/gnucash. Verify your
log file.
I get the result:
*   WARN <gnc.bin> gnc_path_get_prefix: C:\Programme\gnucash
*   WARN <gnc.bin> gnc_path_get_accountsdir:
C:\Programme\gnucash\share\gnucash\accounts
*   WARN <gnc.bin> gnc_path_get_gconfdir:
C:/Programme/gnucash/etc/gconf/gconf.xml.defaults
*   WARN <gnc.bin> gnc_path_get_gladedir:
C:\Programme\gnucash\share\gnucash\glade
*   WARN <gnc.bin> gnc_path_get_libdir: C:\Programme\gnucash\lib
*   WARN <gnc.bin> gnc_path_get_localedir: C:\Programme\gnucash\share\locale
*   WARN <gnc.bin> gnc_path_get_pkgdatadir:
C:\Programme\gnucash\share\gnucash
*   WARN <gnc.bin> gnc_path_get_pkglibdir: C:\Programme\gnucash\lib\gnucash
*   WARN <gnc.bin> gnc_path_get_pkgsysconfdir:
C:\Programme\gnucash\etc\gnucash

I am sure the pathes should point to /c/soft/gnucash!
I built everything from scratch last night, and still get the same result.
What's my mistake?

Christoph


More information about the gnucash-devel mailing list