I run FBSD 7.1 and have gnucash-2.2.7_2 installed. Gnucash worked great till last week. I updated some ports, and afterward gnucash crashes with segfault 11 when trying to open an account. The only apparent error with gnucash is opening an account - even with a completely new file.
Searching led me here:
http://svn.gnucash.org/trac/changeset/17747
http://www.freebsd.org/cgi/query-pr.cgi?pr=133748
The reported problem sounds similar to mine. I want to either patch gnucash as described in the first link or portdowngrade to glib-2.18.4, the version I had installed when gnucash last worked.
I've never patched a diff file. I tried to get around it by manually editing the 2 c source files, since it's only a few lines. I used
to unpack the tarball and set up the work directory. After which I edited the two source files. And then I'm stuck because issuing
again doesn't do anything. Is there an option, switch or target that will "re-build" even if the target has already been built?
Better yet, how can I patch the source the right way?
I was able to use portdowngrade to retrieve the version of glib I wanted. but
failed because "Patch patch-ae failed to apply cleanly."
A follow on question: if the patches are checked into svn, as the above URLs suggest, have they just not been released to the FreeBSD ports tree yet? I deleted the distfile, did cvsup, re-fetched latest gnucash distfile, and found no changes. I'm hoping the the changes suggest above work, and I can apply them. Else I'll be asking how to patch glib so I can biuld/install the 2.18 version ..
Thanks in advance
Searching led me here:
http://svn.gnucash.org/trac/changeset/17747
http://www.freebsd.org/cgi/query-pr.cgi?pr=133748
The reported problem sounds similar to mine. I want to either patch gnucash as described in the first link or portdowngrade to glib-2.18.4, the version I had installed when gnucash last worked.
I've never patched a diff file. I tried to get around it by manually editing the 2 c source files, since it's only a few lines. I used
Code:
cd /usr/ports/finance/gnucash
make
to unpack the tarball and set up the work directory. After which I edited the two source files. And then I'm stuck because issuing
Code:
make
Better yet, how can I patch the source the right way?
I was able to use portdowngrade to retrieve the version of glib I wanted. but
Code:
portupgrade -f glib
A follow on question: if the patches are checked into svn, as the above URLs suggest, have they just not been released to the FreeBSD ports tree yet? I deleted the distfile, did cvsup, re-fetched latest gnucash distfile, and found no changes. I'm hoping the the changes suggest above work, and I can apply them. Else I'll be asking how to patch glib so I can biuld/install the 2.18 version ..
Thanks in advance