Re: Problems with guile-sqlite3

2011-04-20 Thread Detlev Zundel
44 sqlite3.go '/usr/local/lib/guile/2.0/ccache/.' make[1]: Leaving directory `/opt/src/git/guile-sqlite3' dzu@ohwell:guile-sqlite3[2]$ What else do you want? ;) Cheers Detlev -- Soon in a source code repository near you. -- DENX Software Engineering GmbH, MD: Wolfgang D

Re: [PATCH] Fix the R6RS exact-integer-sqrt and import into core guile

2011-04-13 Thread Detlev Zundel
Hi Mark, > Since you don't want to continue this discussion on a theoretical basis, > can you please provide a concrete example of how the addition of > scm_exact_integer_sqrt might be a maintenance burden in the future, > given that our public C interface already consists of approximately 2K > fu

Re: [PATCH] Fix the R6RS exact-integer-sqrt and import into core guile

2011-04-13 Thread Detlev Zundel
Hi Noah, > You make good points, but I disagree. I think the ideal for Guile > should be a situation where C and Scheme can be used basically > interchangeably, with Guile providing the glue in between. Of course one can disagree, but then it immediately follows that there is no "ideal for guile"

Re: Problems with guile-sqlite3

2011-04-11 Thread Detlev Zundel
Hi, >> I have added you to the gitorious repo. Feel free to push your patches >> there :-) > > Hey thanks! Still I'd welcome if you at least look over my changes and > give me some hints if you see room for improvements - most of what I did > in scheme in the past was in scsh ;) > > As I said in

Re: [PATCH] Fix the R6RS exact-integer-sqrt and import into core guile

2011-04-11 Thread Detlev Zundel
Hi Mark, [...] > Sometimes there's no good reason to use C, but it's simply due to a > developer's personal preference. Maybe they don't have much experience > writing Scheme and are much more comfortable in C. Maybe they already > had this big pile of C code before they learned to love Scheme.

Re: Problems with guile-sqlite3

2011-04-04 Thread Detlev Zundel
Hi Andy, > On Mon 04 Apr 2011 18:22, Detlev Zundel writes: > >>> I spotted where the problem comes from: it is when a text value is empty. I >>> have >>> produced a small but complete example [attached]: can you reproduce it ? >> >> Yes, thanks

Re: Problems with guile-sqlite3

2011-04-04 Thread Detlev Zundel
. -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de >From 1018e0617b08c0f79556ea1e6188963ce01bb952 Mon Sep 17 00:00:00 2001 From

Re: Problems with guile-sqlite3

2011-04-01 Thread Detlev Zundel
Hi Andy, > On Thu 31 Mar 2011 18:18, Detlev Zundel writes: > >> Hi Andy, >> >>>> Indeed, there's no null-termination on this string. I guess we need to >>>> copy into a bytevector that is longer and provide a NUL byte. Want to >>>>

Re: Problems with guile-sqlite3

2011-04-01 Thread Detlev Zundel
Hi David, > Just tried guile-sqlite3 - after applying the 2 patches of Detlev - and > succeeded with > > sqlite-open, sqlite-prepare, sqlite-column-names [and sqlite-close] > > but > > scheme@(guile-user)> (sqlite-step stmt) > ERROR: In procedure pointer->bytevector: > ER

Re: Problems with guile-sqlite3

2011-03-31 Thread Detlev Zundel
ingly inferior technology of its Windows operating system. -- "A Brief History of Hackerdom" by Eric Steven Raymond >From bf3993bbb3800cc6b0e353e1b59928d78ddab125 Mon Sep 17 00:00:00 2001 From: Detlev Zundel Date: Thu, 31 Mar 2011 18:14:06 +0200 Subject: [PATCH 1/2]

Re: Problems with guile-sqlite3

2011-03-31 Thread Detlev Zundel
Hi Andy, > On Thu 31 Mar 2011 00:52, Detlev Zundel writes: > >> | scheme@(guile-user)> (sqlite-open "mydb" SQLITE_OPEN_READONLY) >> | ;;; :2:0: warning: possibly unbound variable `SQLITE_OPEN_READONLY' >> | :1:0: In procedure #> input>:2:0 ()&

Problems with guile-sqlite3

2011-03-30 Thread Detlev Zundel
Hi, having a all new shiny, I wanted to do some random tests with it and turned to Andys sqlite3 bindings[1]. Compiling and installing worked like a breeze but I'm having some beginners trouble. Looking into sqlite3.scm I gather that the following session should open up a connection to my "mydb"

Re: Compilation error with stable-2.0 branch

2011-03-30 Thread Detlev Zundel
Hi Andy, > Fixed, I believe. Please let me know if you can still reproduce the > problem. My build is successful now, thanks for the prompt action! After the mail from nalaginrut I tried switching to bdwgc-7_2alpha5-20110107 but as expected this did not help with the last error. To keep my o

Re: Compilation error with stable-2.0 branch

2011-03-29 Thread Detlev Zundel
Hi Andy, > I'm sincerely sorry that you are going through this pain. It pains me > to read it! Hey, no problem. I've got v2.0.0 if I wanted, but I decided that reporting my experiences maybe worthwhile. > On Tue 29 Mar 2011 15:56, Detlev Zundel writes: > >> N

Re: Compilation error with stable-2.0 branch

2011-03-29 Thread Detlev Zundel
Hi Andy, > On Mon 28 Mar 2011 16:39, Detlev Zundel writes: > >> compiling TOT of this branch (commit >> 9dadfa47b07548ff5cf3604067910c8aece93c42 [fix prompt in fix in >> single-value context compilation]) fails like this: >> >> make[2]: Entering directory `

Compilation error with stable-2.0 branch

2011-03-28 Thread Detlev Zundel
Hi, compiling TOT of this branch (commit 9dadfa47b07548ff5cf3604067910c8aece93c42 [fix prompt in fix in single-value context compilation]) fails like this: make[2]: Entering directory `/opt/src/git/guile/libguile' make all-am make[3]: Entering directory `/opt/src/git/guile/libguile' CCLD gui