error during install with 2.0.2

Derek Atkins warlord at MIT.EDU
Mon Oct 9 16:54:48 EDT 2006


Josh Sled <jsled at asynchronous.org> writes:

> During a packaged install of a gconf-using program, you need to disable
> gconf schema installation during `make install` and instead do it
> manually during the packaging mechanism's 'post-install' stage.  The
> former is done via something like [[[
>
>     # we must delay gconf schema installation due to sandbox
>     export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
>     # [...]
>     make DESTDIR=${D} "$@" install || die "install failed"
>     # [...]
>     unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
>
> ]]]
>
> The latter is done (at least on gentoo) by looking at the installed-file
> list for items placed into /etc/gconf/schemas, then calling [[[
>     ${GCONFTOOL_BIN} --makefile-install-rule ${SCHEMA} 1>/dev/null
> ]]] on each.  Don't forget to SIGHUP gconfd-2 to make sure the schemas
> are reloaded before the app runs.

We should make sure that our SPEC file does this correctly.

-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


More information about the gnucash-devel mailing list