Re: FFI nuisance

2011-03-02 Thread Ludovic Courtès
Hi, Aidan Gauland writes: > I'm trying to use SDL through Guile's dynamic FFI. There's a slight > nuisance with the procedure `dynamic-link': the name of the so file on > my system (Debian squeeze) is `libSDL-1.2.so.0' Isn’t it a packaging bug? There should be a ‘libSDL-1.2.so’ -> ‘libSDL-1.2

Re: FFI nuisance

2011-03-02 Thread Andreas Rottmann
l...@gnu.org (Ludovic Courtès) writes: > Hi, > > Aidan Gauland writes: > >> I'm trying to use SDL through Guile's dynamic FFI. There's a slight >> nuisance with the procedure `dynamic-link': the name of the so file on >> my system (Debian squeeze) is `libSDL-1.2.so.0' > > Isn’t it a packaging bu

How can I tell guile to shut up? ;)

2011-03-02 Thread Juhani Viheräkoski
It seems there is no option to disable these annoying messages in guile 2.0. I do scripts using guile and I would appreciate not getting these messages that interfere with other output. It is possible to use 2>/dev/null but what would I do if my script would output error messages (as it will probab

Re: FFI nuisance

2011-03-02 Thread Ludovic Courtès
Hi, Andreas Rottmann writes: > l...@gnu.org (Ludovic Courtès) writes: >> >> Aidan Gauland writes: >> >>> I'm trying to use SDL through Guile's dynamic FFI. There's a slight >>> nuisance with the procedure `dynamic-link': the name of the so file on >>> my system (Debian squeeze) is `libSDL-1.2.

Re: FFI nuisance

2011-03-02 Thread Aidan Gauland
On Wed, Mar 02, 2011 at 03:49:22PM +0100, Andreas Rottmann wrote: > l...@gnu.org (Ludovic Courtès) writes: > > > Hi, > > > > Aidan Gauland writes: > > > >> I'm trying to use SDL through Guile's dynamic FFI. There's a slight > >> nuisance with the procedure `dynamic-link': the name of the so file

[r6rs] with-syntax should have a body like let

2011-03-02 Thread Marco Maggi
The following program: #!r6rs (import (rnrs)) (with-syntax ((a 1)) (define b 1) (write 2)) fails with: ;;; note: source file /home/marco/var/tmp/proof.sps ;;; newer than compiled /home/marco/.cache/guile/ccache/2.0-LE-4-2.0/home/marco/var/tmp/proof.sps.go ;;; note: auto-compilation is

Re: FFI nuisance

2011-03-02 Thread Andreas Rottmann
Aidan Gauland writes: > On Wed, Mar 02, 2011 at 03:49:22PM +0100, Andreas Rottmann wrote: >> l...@gnu.org (Ludovic Courtès) writes: >> >> > Hi, >> > >> > Aidan Gauland writes: >> > >> >> I'm trying to use SDL through Guile's dynamic FFI. There's a slight >> >> nuisance with the procedure `dyna