Re: 2.6.2 segfaulting

2014-03-05 Thread Geert Janssens
On Tuesday 04 March 2014 15:56:15 John Ralls wrote:
> On Mar 4, 2014, at 3:11 PM, Ted Creedon  wrote:
> > Crash back trace - gnucash froze up but nothing else - yet -
> 
> [Long, detailed backtrace elided].
> 
> OK. It’s Gtk and Oxygen almost all the way down, and it’s crashing
> trying to draw something. I don’t think that there’s anything we can
> do to help you here. As a first guess, ditch the Oxygen theme, but
> ISTM you need to get help from the SuSE GnuCash packager.
> 
> Regards,
> John Ralls
> 
> 
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

You could try to use another theme for gtk applications within kde. On Fedora I 
can change this 
via
System Settings -> Application Appearance -> Gtk+ appearance.

Just for the record, my KDE-Gtk+ theme is oxygen-gtk as well. On Fedora 20 this 
seems to 
work without a hitch.

Geert
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: 2.6.2 segfaulting

2014-03-05 Thread Ted Creedon
FYI I had to blind type "bt full" into gdb after gnucash is running to
capture the trace, before the bug freezes the screen..

tedc


On Wed, Mar 5, 2014 at 2:14 AM, Geert Janssens wrote:

>  On Tuesday 04 March 2014 15:56:15 John Ralls wrote:
>
> > On Mar 4, 2014, at 3:11 PM, Ted Creedon  wrote:
>
> > > Crash back trace - gnucash froze up but nothing else - yet -
>
> >
>
> > [Long, detailed backtrace elided].
>
> >
>
> > OK. It's Gtk and Oxygen almost all the way down, and it's crashing
>
> > trying to draw something. I don't think that there's anything we can
>
> > do to help you here. As a first guess, ditch the Oxygen theme, but
>
> > ISTM you need to get help from the SuSE GnuCash packager.
>
> >
>
> > Regards,
>
> > John Ralls
>
> >
>
> >
>
> > ___
>
> > gnucash-devel mailing list
>
> > gnucash-devel@gnucash.org
>
> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
>
>
> You could try to use another theme for gtk applications within kde. On
> Fedora I can change this via
>
> System Settings -> Application Appearance -> Gtk+ appearance.
>
>
>
> Just for the record, my KDE-Gtk+ theme is oxygen-gtk as well. On Fedora 20
> this seems to work without a hitch.
>
>
>
> Geert
>
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Trying to build gnucash on Mac 2.9.2 using jhbuild: help?

2014-03-05 Thread Jeff Earickson
John,

I modified ~/gtk/source/webkit-1.6.1/GNUmakefile.am like so:

bash-3.2$ diff -c GNUmakefile.am.orig GNUmakefile.am
*** GNUmakefile.am.orig2014-03-05 09:45:45.0 -0500
--- GNUmakefile.am2014-03-05 09:46:17.0 -0500
***
*** 118,124 


  global_cxxflags += \
! -fno-rtti

  # -no-undefined required for building DLLs on Windows
  # It breaks the build on other platforms, so we use it conditionally
--- 118,124 


  global_cxxflags += \
! -fno-rtti -stdlib=libstdc++

  # -no-undefined required for building DLLs on Windows
  # It breaks the build on other platforms, so we use it conditionally

and then "jhbuild build" successfully completed, giving me a gnucash 2.6.2
executable that I could start from the terminal window.  Success!
Thank you.

---
Jeff A. Earickson, Ph.D
Senior Server System Administrator
Colby College,
4214 Mayflower Hill,
Waterville ME, 04901-8842
207-859-4214 (fax 207-859-4186)
Eastern Time Zone, USA
---


On Wed, Mar 5, 2014 at 12:08 AM, John Ralls  wrote:

>
> On Mar 4, 2014, at 6:53 PM, Jeff Earickson  wrote:
>
> > John,
> >
> > I gave it major effort tonight.  In the first round, I reran
> gtk-osx-build-setup.sh, reran jhbuild (failed), selected "wipe directory
> and clean", retried (failed again).
> >
> > In round 2, I removed everything related to gnucash/jhbuild from my home
> directory (.jhbuild* files, gtk*, Source, .local, gnucash-stable,
> .subversion) and started from scratch: download gtk-osx-build-setup.sh,
> download new .jhbuildrc-custom, follow the instructions on the wiki from
> the beginning.  Same error in Webkit, see attached.  I wondered what "pull
> the latest gnucash-on-mac" meant; I thought starting from scratch would do
> that anyway.
>
> There are two repositories involved: http://git.gnome.org/gtk-osx and
> https://github.com/jralls/gnucash-on-osx. The latter has the moduleset
> and .jhbuildrc-custom specific to building GnuCash.  I'd forgotten that the
> .jhbuildrc-custom there uses the gnucash.modules directly from the repo, so
> you're OK, there's nothing more to download.
>
> The supposed fix for the webkit problem isn't working, though. It's
> supposed to add -stdlib=libstdc++ to the CXXFLAGS. If you know your way
> around configure well enough you can try adding it by hand; otherwise I
> won't have time to look at it again until Thursday.
>
> Regards,
> John Ralls
>
>
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


MacOSX: how to rebuild after source code change

2014-03-05 Thread Jeff Earickson
Hi,

After I successfully got jhbuild to work on my Mac, I want to experiment
with source code changes.

So I modified line 622 of
~/gtk/source/gnucash-2.6.2/src/app-utils/gnc-ui-util.c to change the
reconciled flag from 'y' to 'Z', then wanted to rebuild.  So I tried
"jhbuild build" again (no change),
"make" from ~/gtk/source/gnucash-2.6.2 ("glib-compile-schemas: command not
found").  I know this is something simple, what's the trick?

Jeff
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: MacOSX: how to rebuild after source code change

2014-03-05 Thread John Ralls

On Mar 5, 2014, at 6:22 PM, Jeff Earickson  wrote:

> Hi,
> 
> After I successfully got jhbuild to work on my Mac, I want to experiment
> with source code changes.
> 
> So I modified line 622 of
> ~/gtk/source/gnucash-2.6.2/src/app-utils/gnc-ui-util.c to change the
> reconciled flag from 'y' to 'Z', then wanted to rebuild.  So I tried
> "jhbuild build" again (no change),
> "make" from ~/gtk/source/gnucash-2.6.2 ("glib-compile-schemas: command not
> found").  I know this is something simple, what's the trick?

If you want to work on the code:
* Use git rather than a tarball as the source, even if you don't plan to 
contribute your changes back to the project, using a VCS is a good way to keep 
track of what you've done and since git is a distributed VCS you have repo in 
your working directory. No hassles with setting up a server somewhere. The 
simple way to do that is to change your .jhbuildrc-custom to build the 
"gnucash-git" module instead of "gnucash".

* Rather than re-running jhbuild build, run jhbuild shell, cd to your build 
directory, and run make && make install from there.

It appears that either something went wrong with your path or you managed to 
uninstall glib-compile-schemas. I'm sure you know how to figure that out. 
Again, jhbuild shell will duplicate the environment of jhbuild build and allow 
you to probe what happened without having to wait for the build to error out so 
that you can select "4".

Regards,
John Ralls




___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel