Re: DBI/SQL backend

2008-06-22 Thread David Reiser
On Jun 22, 2008, at 6:15 PM, Phil Longstaff wrote: > David Reiser wrote: >> >> On Jun 22, 2008, at 4:49 PM, Phil Longstaff wrote: >> >>> David Reiser wrote: ... >>> What files are in /sw/lib/dbd? >>> >>> Phil >>> >> libdbdsqlite.alibdbdsqlite.lalibdbdsqlite.so > > Ah. Libdbi ma

Re: DBI/SQL backend

2008-06-22 Thread Phil Longstaff
David Reiser wrote: > > On Jun 22, 2008, at 4:49 PM, Phil Longstaff wrote: > >> David Reiser wrote: >>> >>> ... >> What files are in /sw/lib/dbd? >> >> Phil >> > libdbdsqlite.alibdbdsqlite.lalibdbdsqlite.so Ah. Libdbi makes a distinction between sqlite and sqlite3. These are sqlite. Y

Re: DBI/SQL backend

2008-06-22 Thread David Reiser
On Jun 22, 2008, at 4:49 PM, Phil Longstaff wrote: > David Reiser wrote: >> >> ... > What files are in /sw/lib/dbd? > > Phil > libdbdsqlite.a libdbdsqlite.la libdbdsqlite.so Dave -- David Reiser [EMAIL PROTECTED] ___ gnucash-devel mailing list gnu

Re: DBI/SQL backend

2008-06-22 Thread Phil Longstaff
David Reiser wrote: > > On Jun 16, 2008, at 6:58 PM, Phil Longstaff wrote: > >> Nathan Buchanan wrote: >>> >>> On Wed, Jun 11, 2008 at 8:58 PM, Phil Longstaff <[EMAIL PROTECTED] >>> <mailto:[EMAIL PROTECTED]>> wrote: >>> >>>

Re: DBI/SQL backend

2008-06-21 Thread David Reiser
On Jun 16, 2008, at 6:58 PM, Phil Longstaff wrote: > Nathan Buchanan wrote: >> >> On Wed, Jun 11, 2008 at 8:58 PM, Phil Longstaff >> <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >>I think the DBI/SQL backend is ready to try.

Re: DBI/SQL backend

2008-06-16 Thread Phil Longstaff
Nathan Buchanan wrote: > > On Wed, Jun 11, 2008 at 8:58 PM, Phil Longstaff <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > I think the DBI/SQL backend is ready to try. It is in the gda-dev2 > branch. The GDA backend has been disabled and a DBI

Re: DBI/SQL backend save as failure

2008-06-16 Thread Derek Atkins
Hi, Phil Longstaff <[EMAIL PROTECTED]> writes: > I don't know if it will affect anything, but I've just committed a few > small changes. Now, all of the gnc_sql_xxx routines (e.g. gnc_sql_init) > will be in libgncmod-backend-sql.so. libgncmod-backend-dbi.so is linked > with libgncmod-backend-sq

Re: DBI/SQL backend

2008-06-15 Thread Nathan Buchanan
On Sun, Jun 15, 2008 at 12:20 PM, Phil Longstaff <[EMAIL PROTECTED]> wrote: > Nathan Buchanan wrote: > > > > On Wed, Jun 11, 2008 at 8:58 PM, Phil Longstaff <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > > I think the DBI/

Re: DBI/SQL backend

2008-06-15 Thread Phil Longstaff
Nathan Buchanan wrote: > > On Wed, Jun 11, 2008 at 8:58 PM, Phil Longstaff <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > I think the DBI/SQL backend is ready to try. It is in the gda-dev2 > branch. The GDA backend has been disabled and a DBI

Re: DBI/SQL backend

2008-06-15 Thread Dave Reiser
-Original Message- >From: Nathan Buchanan <[EMAIL PROTECTED]> >Sent: Jun 15, 2008 4:42 AM >To: Phil Longstaff <[EMAIL PROTECTED]> >Cc: GnuCash development list >Subject: Re: DBI/SQL backend > ... >So, I got it compiled (with the gmtime fix) and it seems

Re: DBI/SQL backend

2008-06-15 Thread Nathan Buchanan
On Wed, Jun 11, 2008 at 8:58 PM, Phil Longstaff <[EMAIL PROTECTED]> wrote: > I think the DBI/SQL backend is ready to try. It is in the gda-dev2 > branch. The GDA backend has been disabled and a DBI backend is enabled. > It assumes that the include files are in /usr/include/db

Re: DBI/SQL backend save as failure

2008-06-14 Thread Phil Longstaff
50 AM Subject: Re: DBI/SQL backend save as failure On Jun 13, 2008, at 10:18 PM, Phil Longstaff wrote: > David Reiser wrote: >> Using r17230 (+ a GType fix in gnc-backend-dbi.c), gnucash builds, >> launches, and opens the data file (xml). Save As results in the >> following in t

Re: DBI/SQL backend save as failure

2008-06-14 Thread David Reiser
On Jun 13, 2008, at 10:18 PM, Phil Longstaff wrote: > David Reiser wrote: >> Using r17230 (+ a GType fix in gnc-backend-dbi.c), gnucash builds, >> launches, and opens the data file (xml). Save As results in the >> following in the terminal window: >> >> dyld: lazy symbol binding failed: Symbol no

Re: DBI/SQL backend save as failure

2008-06-13 Thread Phil Longstaff
David Reiser wrote: > Using r17230 (+ a GType fix in gnc-backend-dbi.c), gnucash builds, > launches, and opens the data file (xml). Save As results in the > following in the terminal window: > > dyld: lazy symbol binding failed: Symbol not found: _gnc_sql_init >Referenced from: /opt/gnucas

Re: DBI/SQL backend

2008-06-13 Thread Derek Atkins
m: Phil Longstaff <[EMAIL PROTECTED]> >> I need to disable that by default. Build with --disable-gda. >> >> Phil >> >> >> - Original Message >> From: Karim B <[EMAIL PROTECTED]> >> To: [EMAIL PROTECTED]; gnucash-devel@gnucash.org &

Re: DBI/SQL backend

2008-06-13 Thread karimb
> From: Karim B <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED]; gnucash-devel@gnucash.org > Sent: Thursday, June 12, 2008 6:53:01 AM > Subject: Re: DBI/SQL backend > > Nathan Buchanan wrote: > > On Wed, Jun 11, 2008 at 8:58 PM, Phil Longstaff <[EMAIL PROTECTED]>

DBI/SQL backend save as failure

2008-06-12 Thread David Reiser
Using r17230 (+ a GType fix in gnc-backend-dbi.c), gnucash builds, launches, and opens the data file (xml). Save As results in the following in the terminal window: dyld: lazy symbol binding failed: Symbol not found: _gnc_sql_init Referenced from: /opt/gnucash-gda/lib/gnucash/libgncmod-back

Re: DBI/SQL backend

2008-06-12 Thread Phil Longstaff
David Reiser wrote: > > On Jun 12, 2008, at 11:19 AM, Phil Longstaff wrote: > >> Derek Atkins wrote: >>> David Reiser <[EMAIL PROTECTED]> writes: >>> >> with --enable-error-on-warning set, I get: >> >> cc1: warnings being treated as errors >> gnc-backend-util-sql.c: In function ‘g

Re: DBI/SQL backend

2008-06-12 Thread David Reiser
On Jun 12, 2008, at 11:19 AM, Phil Longstaff wrote: > Derek Atkins wrote: >> David Reiser <[EMAIL PROTECTED]> writes: >> > with --enable-error-on-warning set, I get: > > cc1: warnings being treated as errors > gnc-backend-util-sql.c: In function ‘gnc_sql_get_sql_value’: > gnc-

Re: DBI/SQL backend

2008-06-12 Thread David Reiser
On Jun 12, 2008, at 10:59 AM, Derek Atkins wrote: > David Reiser <[EMAIL PROTECTED]> writes: > with --enable-error-on-warning set, I get: cc1: warnings being treated as errors gnc-backend-util-sql.c: In function ‘gnc_sql_get_sql_value’: gnc-backend-util-sql.c:1411: warnin

Re: DBI/SQL backend

2008-06-12 Thread Phil Longstaff
Derek Atkins wrote: > David Reiser <[EMAIL PROTECTED]> writes: > with --enable-error-on-warning set, I get: cc1: warnings being treated as errors gnc-backend-util-sql.c: In function ‘gnc_sql_get_sql_value’: gnc-backend-util-sql.c:1411: warning: format ‘%d’ expects type ‘in

Re: DBI/SQL backend

2008-06-12 Thread Derek Atkins
Quoting Phil Longstaff <[EMAIL PROTECTED]>: > Derek Atkins wrote: >> David Reiser <[EMAIL PROTECTED]> writes: >> > with --enable-error-on-warning set, I get: > > cc1: warnings being treated as errors > gnc-backend-util-sql.c: In function ‘gnc_sql_get_sql_value’: > gnc-backend-u

Re: DBI/SQL backend

2008-06-12 Thread Derek Atkins
David Reiser <[EMAIL PROTECTED]> writes: >>> with --enable-error-on-warning set, I get: >>> >>> cc1: warnings being treated as errors >>> gnc-backend-util-sql.c: In function ‘gnc_sql_get_sql_value’: >>> gnc-backend-util-sql.c:1411: warning: format ‘%d’ expects type ‘int’, >>> but argument 5 has ty

Re: DBI/SQL backend

2008-06-12 Thread Phil Longstaff
David Reiser wrote: > > On Jun 11, 2008, at 8:58 PM, Phil Longstaff wrote: > >> I think the DBI/SQL backend is ready to try. It is in the gda-dev2 >> branch. The GDA backend has been disabled and a DBI backend is enabled. >> It assumes that the include files are in

Re: DBI/SQL backend

2008-06-12 Thread David Reiser
On Jun 12, 2008, at 10:05 AM, Phil Longstaff wrote: > David Reiser wrote: >> >> On Jun 11, 2008, at 8:58 PM, Phil Longstaff wrote: >> >>> I think the DBI/SQL backend is ready to try. It is in the gda-dev2 >>> branch. The GDA backend has been disabled and

Re: DBI/SQL backend

2008-06-12 Thread David Reiser
On Jun 11, 2008, at 8:58 PM, Phil Longstaff wrote: > I think the DBI/SQL backend is ready to try. It is in the gda-dev2 > branch. The GDA backend has been disabled and a DBI backend is > enabled. > It assumes that the include files are in /usr/include/dbi/dbi.h and > the >

Re: DBI/SQL backend

2008-06-12 Thread Phil Longstaff
I need to disable that by default. Build with --disable-gda. Phil - Original Message From: Karim B <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]; gnucash-devel@gnucash.org Sent: Thursday, June 12, 2008 6:53:01 AM Subject: Re: DBI/SQL backend Nathan Buchanan wrote: > On Wed, Jun

Re: DBI/SQL backend

2008-06-12 Thread Karim B
Nathan Buchanan wrote: > On Wed, Jun 11, 2008 at 8:58 PM, Phil Longstaff <[EMAIL PROTECTED]> > wrote: > > >> I think the DBI/SQL backend is ready to try. It is in the gda-dev2 >> branch. The GDA backend has been disabled and a DBI backend is enabled. >> I

Re: DBI/SQL backend

2008-06-11 Thread Nathan Buchanan
On Wed, Jun 11, 2008 at 8:58 PM, Phil Longstaff <[EMAIL PROTECTED]> wrote: > I think the DBI/SQL backend is ready to try. It is in the gda-dev2 > branch. The GDA backend has been disabled and a DBI backend is enabled. > It assumes that the include files are in /usr/include/db

DBI/SQL backend

2008-06-11 Thread Phil Longstaff
I think the DBI/SQL backend is ready to try. It is in the gda-dev2 branch. The GDA backend has been disabled and a DBI backend is enabled. It assumes that the include files are in /usr/include/dbi/dbi.h and the driver files are in /usr/lib/dbd. The only driver that the DBI backend supports is