Re: g-wrap (was Re: QOF won't link)

2004-06-21 Thread Derek Atkins
[EMAIL PROTECTED] (Linas Vepstas) writes: > On Mon, Jun 21, 2004 at 12:16:23AM +0200, Tomas Pospisek's Mailing Lists was heard > to remark: >> >> OTOH, as a complete ignorant, I was able to find my way through gnucash >> rather quickly and fix/add what I needed, thanks to modularisation I >> thi

Re: g-wrap (was Re: QOF won't link)

2004-06-21 Thread Derek Atkins
"Tomas Pospisek's Mailing Lists" <[EMAIL PROTECTED]> writes: >> That's an understatement. The whole modularization project failed >> horrendously and has been the bane of gnucash ever since! > > OTOH, as a complete ignorant, I was able to find my way through gnucash > rather quickly and fix/add w

Re: gconf2 (was Re: g-wrap (was Re: QOF won't link))

2004-06-20 Thread Linas Vepstas
On Sun, Jun 20, 2004 at 05:37:55PM -0400, Derek Atkins was heard to remark: > > > As a side note, corba does have this 'service discovery' feature, this > > thing where you can ask "who holds the gnucash config data" and there > > would come this response "oh, machine 10.0.0.1 holds it", so the us

Re: gconf2 (was Re: g-wrap (was Re: QOF won't link))

2004-06-20 Thread Linas Vepstas
On Mon, Jun 21, 2004 at 02:40:44AM +0200, Thomas Viehmann was heard to remark: > More or less the combination of both is done. If there is no active > gconfd, one is initialized from data stored in (a configurable location > which usually is) $HOME/.gconf. Further instances will than contact this >

Re: gconf2 (was Re: g-wrap (was Re: QOF won't link))

2004-06-20 Thread Linas Vepstas
On Mon, Jun 21, 2004 at 12:23:23AM +0200, Tomas Pospisek's Mailing Lists was heard to remark: > On Sun, 20 Jun 2004, Linas Vepstas wrote: > > > It would be seriously cool if gconf was distributed, so that, e.g. > > when machine 2 shows up on net, its gconf would sync with that from > > machine1.

Re: g-wrap (was Re: QOF won't link)

2004-06-20 Thread Linas Vepstas
On Mon, Jun 21, 2004 at 12:16:23AM +0200, Tomas Pospisek's Mailing Lists was heard to remark: > > OTOH, as a complete ignorant, I was able to find my way through gnucash > rather quickly and fix/add what I needed, thanks to modularisation I > think. yes, and no, we've tried to make gnucash out o

Re: gconf2 (was Re: g-wrap (was Re: QOF won't link))

2004-06-20 Thread Thomas Viehmann
Hi. Derek Atkins wrote: > [EMAIL PROTECTED] (Linas Vepstas) writes: >>It would be seriously cool if gconf was distributed, so that, e.g. >>when machine 2 shows up on net, its gconf would sync with that from >>machine1. After sync machine1 could be shut down, or whatever ... >>machines could come

Re: gconf2 (was Re: g-wrap (was Re: QOF won't link))

2004-06-20 Thread Tomas Pospisek's Mailing Lists
On Sun, 20 Jun 2004, Linas Vepstas wrote: > It would be seriously cool if gconf was distributed, so that, e.g. > when machine 2 shows up on net, its gconf would sync with that from > machine1. After sync machine1 could be shut down, or whatever ... > machines could come & go, join the party & lea

Re: g-wrap (was Re: QOF won't link)

2004-06-20 Thread Tomas Pospisek's Mailing Lists
On Sun, 20 Jun 2004, Derek Atkins wrote: > >> and how scheme is used as an extension/configuration language. > > > > Yeah, I guess it didn't quite work out as envisioned. > > That's an understatement. The whole modularization project failed > horrendously and has been the bane of gnucash ever sin

Re: gconf2 (was Re: g-wrap (was Re: QOF won't link))

2004-06-20 Thread Derek Atkins
[EMAIL PROTECTED] (Linas Vepstas) writes: > It would be seriously cool if gconf was distributed, so that, e.g. > when machine 2 shows up on net, its gconf would sync with that from > machine1. After sync machine1 could be shut down, or whatever ... > machines could come & go, join the party & le

Re: gconf2 (was Re: g-wrap (was Re: QOF won't link))

2004-06-20 Thread Linas Vepstas
On Sun, Jun 20, 2004 at 07:26:56PM +0200, Thomas Viehmann was heard to remark: > Derek Atkins wrote: > > show-stopper if you tie a user's gnucash configuration to a single > > machine. I'd rather keep the existing scheme-based configuration than > > lose the ability to have the same desktop on mul

Re: g-wrap (was Re: QOF won't link)

2004-06-20 Thread Derek Atkins
Thomas Viehmann <[EMAIL PROTECTED]> writes: > Derek Atkins wrote: >> See, this is absolutely a requirement, IMHO. If gconf2 doesn't let us >> do this then, IMHO, we CANNOT use gconf2. I consider it a >> show-stopper if you tie a user's gnucash configuration to a single >> machine. I'd rather ke

Re: g-wrap (was Re: QOF won't link)

2004-06-20 Thread Thomas Viehmann
Derek Atkins wrote: > See, this is absolutely a requirement, IMHO. If gconf2 doesn't let us > do this then, IMHO, we CANNOT use gconf2. I consider it a > show-stopper if you tie a user's gnucash configuration to a single > machine. I'd rather keep the existing scheme-based configuration than > l

Re: g-wrap (was Re: QOF won't link)

2004-06-20 Thread Derek Atkins
[EMAIL PROTECTED] (Linas Vepstas) writes: > On Sun, Jun 20, 2004 at 12:44:10PM -0400, Derek Atkins was heard to remark: >> >> > Gnome GConf seems to be the standard gnome way of soring config >> > entries. I don't quite like the way GConf is currently >> > implemented, but I'm guessing that it

Re: g-wrap (was Re: QOF won't link)

2004-06-20 Thread Linas Vepstas
On Sun, Jun 20, 2004 at 12:44:10PM -0400, Derek Atkins was heard to remark: > > > Gnome GConf seems to be the standard gnome way of soring config > > entries. I don't quite like the way GConf is currently > > implemented, but I'm guessing that it should be pretty future-proof, > > and get improv

Re: g-wrap (was Re: QOF won't link)

2004-06-20 Thread Derek Atkins
[EMAIL PROTECTED] (Linas Vepstas) writes: > On Fri, Jun 18, 2004 at 11:33:46AM -0400, Derek Atkins was heard to remark: >> >> Basically, I think we need to re-think the C<->scheme interaction, > > I've wanted to change gnucash reports to a completely different > mechanism, somthing that uses e-g

Re: g-wrap (was Re: QOF won't link)

2004-06-20 Thread Linas Vepstas
On Fri, Jun 18, 2004 at 11:33:46AM -0400, Derek Atkins was heard to remark: > > Basically, I think we need to re-think the C<->scheme interaction, I've wanted to change gnucash reports to a completely different mechanism, somthing that uses e-guile or the nearly-equivalent trick I use in gnotime

Re: g-wrap (was Re: QOF won't link)

2004-06-18 Thread Derek Atkins
[EMAIL PROTECTED] (Linas Vepstas) writes: > Actually, I suspect it will be easy .. just changing the makefiles > to link the needed libs directly, and choping some code. That's some of it, but not necessarily all of it. There's still a major issue with scheme environments, etc. > I was going to

Re: g-wrap (was Re: QOF won't link)

2004-06-18 Thread Linas Vepstas
On Fri, Jun 18, 2004 at 10:48:29AM -0400, Derek Atkins was heard to remark: > > OTOH I'd also like to un-modularize much of gnucash. The current > archicture and half-completed implementation causes more problems than > it solves. Unfortunately I suspect it'll be a LOT of work to fix, and > I ju

g-wrap (was Re: QOF won't link)

2004-06-18 Thread Derek Atkins
[EMAIL PROTECTED] (Linas Vepstas) writes: > On Fri, Jun 18, 2004 at 10:26:20AM -0400, Derek Atkins was heard to remark: >> How, you might ask? g-wrap! It's >> glib bindings are compiled against glib-1.2. > > We gotta do something to fix g-wrap. Its been the source of pain > for a long while; I

Re: QOF won't link

2004-06-18 Thread Linas Vepstas
On Fri, Jun 18, 2004 at 10:26:20AM -0400, Derek Atkins was heard to remark: > How, you might ask? g-wrap! It's > glib bindings are compiled against glib-1.2. We gotta do something to fix g-wrap. Its been the source of pain for a long while; I keep hoping things will get better but they don't.

Re: QOF won't link

2004-06-18 Thread Derek Atkins
[EMAIL PROTECTED] (Linas Vepstas) writes: > On Thu, Jun 17, 2004 at 10:02:56AM -0400, Derek Atkins was heard to remark: >> Eventually we'll want to build qofsql.. The only question is whether >> we'll want to include sqlite (which I assume libsql is?) in the > > No, its actually a hunk of code th

Re: QOF won't link

2004-06-18 Thread Linas Vepstas
On Thu, Jun 17, 2004 at 10:02:56AM -0400, Derek Atkins was heard to remark: > Eventually we'll want to build qofsql.. The only question is whether > we'll want to include sqlite (which I assume libsql is?) in the No, its actually a hunk of code that I ripped out of libdba (the gnome-db lib). Gn

Re: QOF won't link

2004-06-17 Thread Derek Atkins
[EMAIL PROTECTED] (Linas Vepstas) writes: > On Wed, Jun 16, 2004 at 09:22:29PM +0100, Neil Williams was heard to remark: >> On Wednesday 16 June 2004 8:33, Neil Williams wrote: >> >> > /usr/lib/libqof.so: undefined reference to `sql_destroy' >> > /usr/lib/libqof.so: undefined reference to `sql_pa

Re: QOF won't link

2004-06-16 Thread Linas Vepstas
On Wed, Jun 16, 2004 at 08:33:01PM +0100, Neil Williams was heard to remark: > > This QOF still isn't making any sense and neither of the examples on the QOF > sourceforge site will compile. > (there's no my-object.h file) The full code for the example programs is in the qof tarball, in the exam

Re: QOF iteration (was QOF won't link)

2004-06-16 Thread Linas Vepstas
On Wed, Jun 16, 2004 at 11:22:52PM -0400, Derek Atkins was heard to remark: > > Jesus, how many fricking times do I have to explain this? You don't Patience, please! Teacher must never call student dumb. Niel, my apologies on warlord's behalf. --linas -- pub 1024D/01045933 2001-02-01 Linas

Re: QOF won't link

2004-06-16 Thread Linas Vepstas
On Wed, Jun 16, 2004 at 09:22:29PM +0100, Neil Williams was heard to remark: > On Wednesday 16 June 2004 8:33, Neil Williams wrote: > > > /usr/lib/libqof.so: undefined reference to `sql_destroy' > > /usr/lib/libqof.so: undefined reference to `sql_parse' Ugh. You will *also* need to copy /home/yo

Re: QOF won't link

2004-06-16 Thread Linas Vepstas
On Wed, Jun 16, 2004 at 10:01:56PM +0100, Neil Williams was heard to remark: > On Wednesday 16 June 2004 9:26, Derek Atkins wrote: > > Neil Williams <[EMAIL PROTECTED]> writes: > > > Package: libqof-dev > > This is your problem. remove this package. try again. FWIW, I have qof-dev installed on m

Re: QOF iteration (was QOF won't link)

2004-06-16 Thread Derek Atkins
Neil Williams <[EMAIL PROTECTED]> writes: > I was following the QOF example and trying to use the qofsql.c code as I keep > getting segmentation faults if I use iterators and callback functions. > However, it's looking like that is the only way to get it to work. I find the > whole (QofCollecti

QOF iteration (was QOF won't link)

2004-06-16 Thread Neil Williams
On Wednesday 16 June 2004 9:09, Derek Atkins wrote: > Neil Williams <[EMAIL PROTECTED]> writes: > > What do I need in a Makefile.am to deal with these error reports: > > > > /opt/neil/gnucash/src/import-export/gnc-book-merge/gnc_book_merge.c:114: > > undefined reference to `qof_sql_query_run' > > g

Re: QOF won't link

2004-06-16 Thread Neil Williams
On Wednesday 16 June 2004 9:26, Derek Atkins wrote: > Neil Williams <[EMAIL PROTECTED]> writes: > > Package: libqof-dev > This is your problem. remove this package. try again. Thanks Derek. I've removed that, now I'm back to the original linkage problem. It compiles fine, just won't link: bas

Re: QOF won't link

2004-06-16 Thread Derek Atkins
Neil Williams <[EMAIL PROTECTED]> writes: > Using: > Package: libqof-dev > Section: libdevel > Source: qof > Version: 0.4.1-1 This is your problem. remove this package. try again. -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information

Re: QOF won't link

2004-06-16 Thread Neil Williams
On Wednesday 16 June 2004 8:33, Neil Williams wrote: The code I'm working on (in a reduced form that just covers the problem area) is here: http://www.codehelp.co.uk/code/basic.c and my current Makefile.am (with the added basic target) is at: http://www.codehelp.co.uk/code/Makefile.am It's very

Re: QOF won't link

2004-06-16 Thread Derek Atkins
Neil Williams <[EMAIL PROTECTED]> writes: > What do I need in a Makefile.am to deal with these error reports: > > /opt/neil/gnucash/src/import-export/gnc-book-merge/gnc_book_merge.c:114: > undefined reference to `qof_sql_query_run' > gnc_book_merge.o(.text+0x100): In function `gnc_book_merge_do_s

QOF won't link

2004-06-16 Thread Neil Williams
What do I need in a Makefile.am to deal with these error reports: /opt/neil/gnucash/src/import-export/gnc-book-merge/gnc_book_merge.c:114: undefined reference to `qof_sql_query_run' gnc_book_merge.o(.text+0x100): In function `gnc_book_merge_do_some_queries': /opt/neil/gnucash/src/import-export/gn