Re: Bug in Guile DBI Makefile.am

2011-05-27 Thread romel
Thank you. :-) > Hi, > > On 26 May 2011 17:14, wrote: >> >> I think I found a bug in Guile DBI 2.1.4 >> >> It's in the src/test/Makefile.am file at line 32. The lib "-lguile" >> should >> be removed to successfuly compile under Guile 2.0 > > Thanks, I'll try to look at this 'real soon now'. > >

Bug in Guile DBI Makefile.am

2011-05-26 Thread romel
Hello, I think I found a bug in Guile DBI 2.1.4 It's in the src/test/Makefile.am file at line 32. The lib "-lguile" should be removed to successfuly compile under Guile 2.0 Regards, Romel Sandoval

LDAP for Guile

2011-03-24 Thread romel
Hi, I'm looking for an LDAP module for Guile 2.0, so far I have found guile-ldap [1] but looks like a defunct and incomplete project, the last release was 2003.11.03. Anybody knows of a living LDAP for Guile 2.0 project? [1] http://code.dogmap.org/guile-ldap/ Thanks, Romel Sandoval

Re: Serving files with guile web server

2011-03-19 Thread romel
ime-type mime-type '("application" . "octet-stream" (define (mime-type-symbol mime-type) (string->symbol (string-append (car mime-type) "/" (cdr mime-type (define (text-mime-type? mime-type) (if (equal? (car mime-type) "text") #t #f)) >

Re: Serving files with guile web server

2011-03-19 Thread romel
t) (values `((content-type . (,mime-type-symbol))) (call-with-input-file file-path (lambda (in-port) (get-bytevector-all in-port)) (not-found request))) I hope it's readable :-) Guile web module it's great! Thanks, Romel Sandoval

Re: Serving files with guile web server

2011-03-17 Thread romel
he file to either create a string or a bytevector from it. Any recommendation will be highly appreciated. Thanks, Romel Sandoval > Hi, > > I will like to serve plain text files and images with run-server from (web > server) module. > > After reading the documentation I t

Serving files with guile web server

2011-03-16 Thread romel
("unexpected body type") #f) - Anybody knows how to serve text and image files from guile web server? Thanks, Romel Sandoval

Guile Reference Manual 2.0 bug

2011-03-16 Thread romel
ource not found: " (unparse-uri (request-uri request) I'm unable to find where "unparse-uri" is defined, maybe this has been deprecated before 2.0 release from (web uri) module. I think it was replaced with "uri->string". Regards, Romel Sandoval

Re: tekuti

2011-03-14 Thread romel
OK, I got it. Thanks, Romel Sandoval > On 03/12/2011 09:26 PM, ro...@lavabit.com wrote: >> I don't modify anything and find the same message at launch. >> >> --- >> fatal: ambiguous argument 'refs/heads/index': unknown revision or path >> not >&

Re: tekuti

2011-03-12 Thread romel
was able to setup tekuti using Wingo repository with Guile 1.9.14. Regards, Romel Sandoval > Hello, > > Trying tekuti for the very frst time [never used/hold any blog, please > excuse my > total lack of knowledge about this] > > I took a git clone and slightly modified config.sc

[SOLVED] Re: Problems building GNU Greg testing framework

2011-01-10 Thread romel
ad to remove a hardcoded -lguile library reference from /src/test/Makefile.am. Before: libguile_dbd_test_la_LIBADD = -ldl -lz -lguile After: libguile_dbd_test_la_LIBADD = -ldl -lz Regards, Romel Sandoval > Hi! > > ro...@lavabit.com writes: > >> I'm trying to build GNU Greg

Problems building GNU Greg testing framework

2011-01-07 Thread romel
. (cached) gcc checking whether the C compiler (gcc -I/home/romel/opt/include -I/home/romel/opt/include/guile/2.0 -L/home/romel/opt/lib) works... yes checking whether the C compiler (gcc -I/home/romel/opt/include -I/home/romel/opt/include/guile/2.0 -L/home/romel/opt/lib) is a cross-compiler... no

Re: Guile base64

2010-09-03 Thread Romel Sandoval
El vie, 03-09-2010 a las 01:34 +0200, Andreas Rottmann escribió: > Andy Wingo writes: > > > Greets, > > > > On Thu 02 Sep 2010 01:12, l...@gnu.org (Ludovic Courtès) writes: > > > >> Romel Sandoval writes: > >> > >>> What happened

Guile base64

2010-09-01 Thread Romel Sandoval
r not? [1] http://www.gnuvola.org/software/guile/doc/Base64.html [2] http://cygwin.ru/ml/guile/2000-01/msg00622.html [3] http://www.gnu.org/software/guile/old-gnu-guile-projects.html Regards, -- Romel R. Sandoval-Palomo

Re: Data Dictionary and Configuration Files with Guile Scheme

2010-08-20 Thread Romel Sandoval
Thanks Thien-Thi that's exactly what I was trying to achieve. El mié, 18-08-2010 a las 20:20 +0200, Thien-Thi Nguyen escribió: > () Romel Sandoval > () Thu, 05 Aug 2010 12:15:44 -0500 > >What do you think? > > I use Guile-PG (several modules) and a homegrown metainfo

Re: Data Dictionary and Configuration Files with Guile Scheme

2010-08-18 Thread Romel Sandoval
El mié, 18-08-2010 a las 09:05 -0700, Andy Wingo escribió: > On Thu 05 Aug 2010 10:15, Romel Sandoval writes: > > > I'm trying to create a data dictionary [1] to generate code from it. > [...] > > This way I can write s-exp as in the example *projects-table* an after

Data Dictionary and Configuration Files with Guile Scheme

2010-08-05 Thread Romel Sandoval
le* (table "projects" (column "id" (type . integer) (constraint . primary-key)) (column "title" (type . string) (length . 32) (constraint . not-null))) }}} I think this could be a good way to define configuration files too. What do you think? Exists b

Re: Failing to build g-wrap for guile 1.9.10

2010-06-03 Thread Romel Sandoval
My distro is Trisquel 3.5 based on Ubuntu. I pulled the patch and now building works without --disable-Werror. Regards, Romel. El jue, 03-06-2010 a las 16:36 +0200, Andreas Rottmann escribió: > Romel Sandoval writes: > > > GCC 4.4.1 > > eglibc 2.10.1 > > > That

Re: Failing to build g-wrap for guile 1.9.10

2010-06-03 Thread Romel Sandoval
GCC 4.4.1 eglibc 2.10.1 El jue, 03-06-2010 a las 14:00 +0200, Andreas Rottmann escribió: > Romel Sandoval writes: > > > Well `--disable-Werror' make it. Thanks! > > > > Rottmann, are you going to patch the code on the GIT repository? > > > Yes, I'm

Re: Failing to build g-wrap for guile 1.9.10

2010-06-02 Thread Romel Sandoval
Well `--disable-Werror' make it. Thanks! Rottmann, are you going to patch the code on the GIT repository? El mié, 02-06-2010 a las 21:29 +0200, Andreas Rottmann escribió: > Romel Sandoval writes: > > > After configure while trying to build I got this: > > > >

Re: Failing to build g-wrap for guile 1.9.10

2010-06-02 Thread Romel Sandoval
I'm trying to build G-Wrap because guile-gnome depends on it. El mié, 02-06-2010 a las 00:21 +0200, Ludovic Courtès escribió: > Hi, > > This won’t answer your question, but if you’re using 1.9, you may want > to look at the dynamic FFI in (system foreign) instead of G-Wrap. > > Thanks, > Ludo’.

Re: Failing to build g-wrap for guile 1.9.10

2010-06-01 Thread Romel Sandoval
OK, after setting ACLOCAL_FLAGS now configure script finish successfully. But says that it's not working with guile 1.9. But I'm using Guile 1.9.10: .. checking size of size_t... 8 checking size of ssize_t... 8 checking for guile... /home/romel/usr/bin/guile checking for guile-confi

Failing to build g-wrap for guile 1.9.10

2010-05-31 Thread Romel Sandoval
ONFIG_PATH="$HOME/usr/lib/pkgconfig" export LD_LIBRARY_PATH="$HOME/usr/lib/" export PATH=$PATH:"$HOME/usr/bin" When I try: /autogen.sh --prefix $HOME/usr It gives me: {{{ DEBUG: /home/romel/usr + passing --prefix=/home/romel/usr to configure + options passed to confi

Re: Web services on guile

2010-05-25 Thread Romel Sandoval
I think, I will go for s-expression then. El dom, 23-05-2010 a las 23:16 +0200, Andy Wingo escribió: > On Sun 23 May 2010 11:25, Sascha Ziemann writes: > > > 2010/5/22 Romel R. Sandoval Palomo : > >> I think I have four alternatives: > >> > >> 1. Keep

Web services on guile

2010-05-22 Thread Romel R. Sandoval Palomo
Hi, I'm planning to write an application with a client server architecture. I want to write the server on PHP and the client on Scheme (Guile). The user of the client application will push some information to the server every time she wants. Something similar to a commit or push on version contro

Re: [SOLVED] Guile module for sqlite

2010-05-18 Thread Romel R. Sandoval Palomo
010 20:57, Romel R. Sandoval Palomo wrote: > > Thank you, its great, unfortunately to me, I'm targeting > > guile 2.0 (1.9.10) and the released guile-dbi (2.1.2) use the > > deprecated guile/gh.h > > I removed the guile/gh.h years ago, and should have published > v

Re: Guile module for sqlite

2010-05-17 Thread Romel R. Sandoval Palomo
Thank you, its great, unfortunately to me, I'm targeting guile 2.0 (1.9.10) and the released guile-dbi (2.1.2) use the deprecated guile/gh.h I found guile-dbi developers remove that dependency on its SVN repository, but I failed to build because I failed to generate configure script using autog

Guile module for sqlite

2010-05-15 Thread Romel R. Sandoval Palomo
qlite) so it will be loaded with: (use-modules (db sqlite)) Regards. -- Romel R. Sandoval