problems with g2

Mark Johnson mrj001 at shaw.ca
Mon Feb 13 10:51:49 EST 2006


Andrew Duggan wrote:

> Hi,
>
> Sorry for the delay, lots of snow (and shoveling) yesterday...

Uh, oh, we had a high of +11 celsius.  (51 degrees N lattitude).

>
> [...]
>
> what do
>
> find /etc/gconf  -name \*gnucash\*
> find /opt/gnucash-svn13206/etc -name \*gnucash\*
>
> produce?
>
> On mine: find /etc/gconf  -name \*gnucash\*
> /etc/gconf/gconf.xml.defaults/schemas/apps/gnucash
> /etc/gconf/gconf.xml.defaults/apps/gnucash
> /etc/gconf/schemas/apps_gnucash_window_pages_register.schemas
> /etc/gconf/schemas/apps_gnucash_warnings.schemas
> /etc/gconf/schemas/apps_gnucash_dialog_common.schemas
> /etc/gconf/schemas/apps_gnucash_import_generic_matcher.schemas
> /etc/gconf/schemas/apps_gnucash_dialog_hbci.schemas
> /etc/gconf/schemas/apps_gnucash_dialog_commodities.schemas
> /etc/gconf/schemas/apps_gnucash_dialog_print_checks.schemas
> /etc/gconf/schemas/apps_gnucash_dialog_business_common.schemas
> /etc/gconf/schemas/apps_gnucash_dialog_reconcile.schemas
> /etc/gconf/schemas/apps_gnucash_dialog_totd.schemas
> /etc/gconf/schemas/apps_gnucash_dialog_prices.schemas
> /etc/gconf/schemas/apps_gnucash_window_pages_account_tree.schemas
> /etc/gconf/schemas/apps_gnucash_general.schemas
> /etc/gconf/schemas/apps_gnucash_history.schemas
>
> The first two...
> /etc/gconf/gconf.xml.defaults/schemas/apps/gnucash
> /etc/gconf/gconf.xml.defaults/apps/gnucash
> are directories.

find /etc/gconf  -name \*gnucash\*
My system produced:
/etc/gconf/gconf.xml.defaults/apps/gnucash
/etc/gconf/gconf.xml.defaults/schemas/apps/gnucash

I changed to the first directory and found (amongst many others):
drwxr-xr-x   6 root root 4096 Feb 12 07:47 gnucash/

The date indicates that this was created when I did the "make install 
DESTDIR=`pwd`/tmp".  (Maybe,  there is an 8-hour discrepancy between the 
time of this directory and the make install tree.  I am doing another 
build to investigatet....)

Clearly, we've found something broken with the DESTDIR part.

The second command:
find /opt/gnucash-svn13206/etc -name \*gnucash\*
produced:
/opt/gnucash-svn13206/etc/gconf/schemas/apps_gnucash_history.schemas
/opt/gnucash-svn13206/etc/gconf/schemas/apps_gnucash_dialog_common.schemas
/opt/gnucash-svn13206/etc/gconf/schemas/apps_gnucash_dialog_commodities.schemas
/opt/gnucash-svn13206/etc/gconf/schemas/apps_gnucash_dialog_prices.schemas
/opt/gnucash-svn13206/etc/gconf/schemas/apps_gnucash_dialog_print_checks.schemas
/opt/gnucash-svn13206/etc/gconf/schemas/apps_gnucash_dialog_reconcile.schemas
/opt/gnucash-svn13206/etc/gconf/schemas/apps_gnucash_dialog_totd.schemas
/opt/gnucash-svn13206/etc/gconf/schemas/apps_gnucash_general.schemas
/opt/gnucash-svn13206/etc/gconf/schemas/apps_gnucash_warnings.schemas
/opt/gnucash-svn13206/etc/gconf/schemas/apps_gnucash_window_pages_account_tree.schemas
/opt/gnucash-svn13206/etc/gconf/schemas/apps_gnucash_window_pages_register.schemas
/opt/gnucash-svn13206/etc/gconf/schemas/apps_gnucash_import_generic_matcher.schemas
/opt/gnucash-svn13206/etc/gconf/schemas/apps_gnucash_dialog_business_common.schemas
which looks reasonable to me.  These files have a date (I believe) is 
constistent with the last time I installed a package.  I confirmed this 
by examining the package contents.

>
>> Also I noticed that my gconfd-2 did not automatically restart as I 
>> had assumed from your script.  Is it supposed to?
>> Should this use the --shutdown and --spawn options of gconftool-2?
>>
>
> Its only a -HUP so I don't think you should see a restart, it should 
> just re-read the config files.

On my system, it caused the daemon to exit.  I did a little reading, and 
expected to see a restart of the daemon.  It had to be manually restarted.

>
>
> Andrew

Today, I'm going to do one more build (and svn update) to get a better 
handle on the DESTDIR problem found above, and file a bugzilla report.

At least, I know I can patch my packages by copying the appropriate files.

Mark


More information about the gnucash-devel mailing list