core dump latest svn build
Gregory
rollenwiese at yahoo.com
Thu Oct 24 18:04:41 EDT 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/24/2013 03:50 PM, Geert Janssens wrote:
> On Thursday 24 October 2013 15:37:32 Gregory wrote:
>
>> Hello,
>
>>
>
>> I'm not sure where the problem here lies, with my linux
>> distribution
>
>> (Arch), or with the build process (which apparently completes
>
>> successfully).
>
>>
>
>> Now, after building the latest SVN build as of this morning, I'm
>
>> getting a core dump immediately upon execution. The trace file
>
>> contains the following message:
>
>>
>
>> * 14:05:28 OTHER <GLib-GIO> Settings schema 'org.gnucash.general'
>> is
>
>> not installed
>
>>
>
>> If I build the 2.5.5 package from sourceforge, the same commands
>> below
>
>> result in a successful installation.
>
>>
>
>> Any insight would be appreciated.
>
>>
>
>> --
>
>>
>
>> Build command from the package file. The variable in braces are
>
>> temporary directories:
>
>>
>
>> cd "${srcdir}/${_svnname}"
>
>> ./autogen.sh
>
>> ./configure \
>
>> --disable-error-on-warning \
>
>> --disable-schemas-install \
>
> This is likely your issue: gnucash as of 2.5.6 comes with a number
> of gsettings schemas. If you don't install them, GnuCash can't find
> them and will crash on the first attempt to access gsettings.
>
>
>
>> --prefix=/usr \
>
>> --mandir=/usr/share/man \
>
>> --sysconfdir=/etc \
>
>> --libexecdir=/usr/lib \
>
>> --enable-ofx \
>
>> --enable-aqbanking
>
>> make
>
>>
>
>> Followed by:
>
>>
>
>> cd "${srcdir}/${_svnname}"
>
>> make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}"
>
>> install
>
>>
>
>> cd src/doc/design
>
>> make DESTDIR="${pkgdir}" install-info
>
>>
>
>> install -dm755 "${pkgdir}/usr/share/gconf/schemas"
>
>> gconf-merge-schema
>
>> "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain
>
>> gnucash "${pkgdir}"/etc/gconf/schemas/*.schemas
>
>> rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
>
>>
>
>>
>
>> The schema that is attempted to be merged looks like this, which
>> seems
>
>> like it could be wrong as the XML from the 2.5.5 contains much
>> data:
>
>>
>
>> <?xml version="1.0"?>
>
>> <gconfschemafile><schemalist>
>
>> </schemalist></gconfschemafile>
>
>>
>
> GnuCash moved to gsettings with 2.5.6. You shouldn't be installing
> gconf schemas, but gsettings schemas.
>
>
>
> I'm curious why you don't let make and make install do this for
> you automatically. Is that something Arch specific ?
>
>
>
>
>
> Geert
>
Solved, Geert thank you for pointing me in the right direction.
https://wiki.archlinux.org/index.php/GNOME_Package_Guidelines#GSettings_schemas
Recompiling the GSettings database fixed the issue.
Thanks,
Gregory
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQEcBAEBAgAGBQJSaZl4AAoJEODkk8hTyydzykwH/001hVwS3NUlSGAWNc6JOt6n
sWZWVv2LpgNjsvBSTI8/wYYmJD0+4deMDnIRR/BiIeUvsiahGs45CuazT6xKFi18
wKjwjfDRe+ibT+pCMSag2e50NmQhE4DST0pACdaTqP5rERSW/S7mQees5pWJkHSS
/9kbHp4gM9R9ss9OqhCK1kb6eO0LR6JytghL7qgWo7H/z+NDcxIXE0Rl9O0iSaIp
LrZ7ElJPw7xfO96hZ0Dh7weqpJ/mqgGmNpOYYvLGYT8XilPPBjQDx2bJeAMMbmv0
EECIvpN4d0+AthgIKgrTbMc6vRqmBGFHawji9B1kRs8c89eg+bD67/6LQ256VcI=
=oWgN
-----END PGP SIGNATURE-----
More information about the gnucash-devel
mailing list