Quoting Christopher Sawtell <[EMAIL PROTECTED]>:

> On Wednesday 05 April 2006 22:54, Wesley Parish wrote:
> > Quoting Christopher Sawtell <[EMAIL PROTECTED]>:
> > > On Tuesday 04 April 2006 23:25, Wesley Parish wrote:
> > > > This is an error I'm getting with gnusql when I try to compile
> it.
> > >
> > > The
> > >
> > > > lines gcc complains about read:
> > > > FILE *STDERR =stderr;
> > > > FILE *STDOUT =stdout;
> > >
> > > You'll need to give us a bit more info than that.
> > > gcc --version please?
> >
> > gcc -v 3.3.1
> >
> > > File it's failing on, and the actual error message.
> >
> > gnusql-0.7b6.1/src/other/sql_decl.c
> > --sql_decl
> > sql_decl.c:45: error: initializer element is not constant
> > sql_decl.c:46: error: initializer element is not constant
> > gmake[3]: *** [sql_decl.o] Error 1
> >
> > I've done a google search on "initializer element not constant" and
> > found it covers a whole lot of cases, and in a fair number of those
> it
> > is a program maintenance issue, as gcc doesn't tolerate it any
> longer.
> Correct. You might care to fix this one too:
> /home/chris/gnusql-0.7b6.1/src/include/gsqltrn.h:188: warning:
> type defaults to `int' in declaration of `gsql_trn_1_nproc'

I'll get around to it! ;)
> 
> 
<snip>
> > Since it is no longer maintained, I thought I could do pretty much
> > whatever I liked with it, consistent with the GPL, without worrying
> > about forking issues, or anybody else complaining.
> You can do that with any GPL software, it's one of the fundamental 
> freedoms.

But there's bound to be problems with people complaining about
this-that-and-the-next, so I looked for projects that are under the GPL and
abandoned, or under the BSDL, or in the Public Domain.
> 
> > Besides, it is small 
> > and thus will fit in better with my ideas of a miniature office suite.
> 
> Is this going to be something for Barbie's PC, or are you aiming it at

No.
> the 
> One-PC-per-Child thing which MIT's Negoponte is pushing? :-)

That's a possibility.
> It's reported that both of them are going to run a cutdown Linux.
>  
<snip>
> There is a Micro-Emacs which might be a somewhat better choice.
> http://www.microemacs.de/microemacs.html

Thanks.  I'll look it up.
> 
> Also the OPCPC machine is going to have Squeak Smalltalk built-in so you
> 
> might like to learn that. It has hooks into PostgreSQL already iirc.
> 
> > In other words, politics and size considerations.
> 
> I got the GNUSQL too, and go the same errors as you.
> I am now completely out of touch with the details of the C syntax so
> can't 
> be a very effective helper. 
> 
> I'd be very tempted to remove all re-declarations of the standard file 
> handles and just use the built-in stuff.
> 
> Remember that there are several other lightweight SQL engines around.
> e.g. http://www.sqlite.org/
> That one actually works, and there are Qt hooks for it.

I've already looked at SQLite, but decided against it for three reasons: it
stores its databases as single files; it is built on a VM; and it doesn't link
to external database systems.  So it's good for single-use relational database
systems, but as it is, it isn't what I'm after.

Wesley Parish
> 
> -- 
> CS
>  



"Sharpened hands are happy hands.
"Brim the tinfall with mirthful bands" 
- A Deepness in the Sky, Vernor Vinge

"I me.  Shape middled me.  I would come out into hot!" 
I from the spicy that day was overcasked mockingly - it's a symbol of the 
other horizon. - emacs : meta x dissociated-press

Reply via email to