nbinont at gmail.com
Sun Jun 15 18:03:11 EDT 2008
On Sun, Jun 15, 2008 at 12:20 PM, Phil Longstaff <plongstaff at rogers.com>
> Nathan Buchanan wrote:
> > On Wed, Jun 11, 2008 at 8:58 PM, Phil Longstaff <plongstaff at rogers.com
> > <mailto:plongstaff at rogers.com>> 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
> > It assumes that the include files are in /usr/include/dbi/dbi.h and
> > driver files are in /usr/lib/dbd. The only driver that the DBI
> > supports is sqlite3. I am using libdbi-0.8.2. I assume later
> > will work. I don't know about earlier versions. There is a
> > check that the header file is present, but no version check.
> > No new URI types have been added. If you try to open a file, it will
> > check if it is an sqlite3 file, and will load it with sqlite3. If it
> > can't, it will revert to xml. Save As will save a file as an sqlite3
> > file. The "Connect to Database" menu entry is still enabled but will
> > (probably) fail.
> > I don't have a windows compilation environment, so I haven't tried it
> > windows.
> > So, I got it compiled (with the gmtime fix) and it seems to run ok up
> > until I try to save as. When I choose save as and enter the desired file
> > name I get an error stating "Can't parse the URL
> > C:\soft\test_file\test.db." This happens with *all* names I enter,
> > including *.gnc names, so something is slightly broken ;) I suspect it's
> > that windows formatted name problem again, but can't spend time on it
> > for the next few days.
> What's the "windows formatted name problem"?
Probably something similar to r16879. Windows paths contain ':' thus the
logic used before would interpret them as URL's and fail.
> I'm going to try to set up a windows dev envt for myself.
"Even if you are on the right track, you'll get run over if you just sit
there" - Will Rogers
More information about the gnucash-devel