$ csi
CHICKEN
(c)2008-2011 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.7.0
linux-unix-gnu-x86 [ manyargs dload ptables ]
compiled 2011-07-09 on localhost (Linux)
#;1> (use remote-mailbox)
Error: (import) during expansion of (import ...) - cannot import from
undefined module: remo
Hi,
I'm not sure where to direct this to, but entering "io:event-dispatch"
in the Identifier search field generates a 500 error.
http://wiki.call-cc.org/search?text=&ident=io:event-dispatch
Thanks,
Dave
___
Chicken-users mailing list
Chicken-users@no
Hi all,
I have some code that runs fine on my Mac and under OpenBSD. Under Linux
however, it crashes. Same code, all running under csi 4.7.0 64-bit.
Could this be an issue with my code? I'm not sure I fully understand the
ramifications of using shared structure with partition and append and wan
On Jul 1, Jim Ursetto scribed:
> On Jul 1, 2011, at 1:38 PM, Christian Kellermann wrote:
>
> > A convenient way is to define a system comprising your source for the
> > .so with the system egg (http://api.call-cc.org/doc/system). This uses
> > the compile-file procedure to create a new .so name ea
Hi all,
I run csi inside emacs. I have a .so file that occasionally needs to be
updated. Is there a way to reload the .so after I re-make it, without
having to exit csi? I've tried use, import, require-extension, and ,l
the.so. It never picks up my changes. The only reliable solution is to
ex
On Jun 18, Christian Kellermann scribed:
> * HP Wei [110618 03:53]:
> >
> > Machine: iMac Mac OS X 10.6.7
> >
> > I installed chicken by the following command:
> >
> > sudo port install chicken
I have no problem building chicken from sources on OS X 10.6.7. You need
XCode installed and this wor
Hi all,
I'm trying to convert a time string to seconds and back and I'm having a
problem using string->time, local-time->seconds, and seconds->local-time
in unit posix:
CHICKEN
(c)2008-2011 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.7.0
openbsd-unix-gnu-x86-64 [ 64bit manyargs dl
On May 27, Kon Lovett scribed:
>
> Chicken x86:
> 520cbadfbf1e95567b1b49bd543fa8ab
>
sauron:chicken-4.7.0 dnm$ csi -v
CHICKEN
(c)2008-2011 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.7.0
macosx-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
compiled 2011-05-26 on sauron.local (D
On May 27, Christian Kellermann scribed:
>
> I forgot to add I am using a 64 bit linux machine for my tests.
I've duplicated your (incorrect) result:
CHICKEN
(c)2008-2011 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.7.0
macosx-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
compi
On May 5, Felix scribed:
>
> For example, I may have several applications that use one or the other
> installed egg. Those eggs may be out of date, but I'm more interested
> in having my system running, so when I install new extensions,
> "chicken-install" will warn me when an egg requires higher
Hi all,
I have a source file that appears to load fine in csi but won't compile
with csc. Any advice on how to diagnose what the compiler is
complaining about?
$ csi
CHICKEN
(c)2008-2011 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.6.7
macosx-unix-gnu-x86-64 [ 64bit manyargs dloa
Hi,
I'm trying to wrap some utility functions in a module into a .so. I'm
getting undefined symbol errors, and I'm not quite sure how to resolve
them:
$ csc -s lib.scm -j lib
Undefined symbols:
"_C_regex_toplevel", referenced from:
_f_1400 in lib.o
"_C_symbol_2dutils_toplevel", referen
Hi,
I couldn't chicken-install ezxdisp on my Mac. It failed with the
complaint
/usr/local/bin/csc -feature compiling-extension -setup-mode-s -O3
-d1 -X easyffi ezxdisp.scm -C -w ezxdisp-x11.c -C "-I.
-I/usr/X11R6/include" -L "-L -L/usr/X11R6/lib -lX11" -j ezxdisp
ld: -L must be immediately
Hi all,
I'm not sure fixing the docs is the correct thing here, but I'll be happy
to do it.
http://wiki.call-cc.org/man/4/Unit%20library#get-environment-variable
[procedure] (get-environment-variable STRING)
[procedure] (getenv STRING)
Returns the value of the environment variable STRING or #f
On Mar 11, Christian Kellermann scribed:
>
> If we are lucky we can see something obvious. :)
>
For posterity (and the archives)
$ ulimit -c unlimited # enables coredumps
but, I did it this way, instead:
$ cat t1.scm
(use srfi-27)
(print (random-integer (expt 2 32)))
$ csc -o t1 -k t1.scm
$ gdb t
On Mar 11, David N Murray scribed:
> #;2> (random-integer (expt 2 32))
> Floating point exception
>
> Looking at the difference between your csi announcement and mine, I notice
> that I'm building the 64bit version.
Is there something I can do to build chicken and the eg
On Mar 10, Kon Lovett scribed:
>
> Hi David,
>
> I get the folllowing:
>
> $ csi -n
>
> CHICKEN
> (c)2008-2011 The Chicken Team
> (c)2000-2007 Felix L. Winkelmann
> Version 4.6.5
> macosx-unix-gnu-ppc [ manyargs dload ptables ]
> compiled 2011-02-03 on Nikko.local (Darwin)
>
[snip]
> #;3> (random-
$ csi
CHICKEN
(c)2008-2010 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.6.0
macosx-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
compiled 2010-12-08 on sauron.local (Darwin)
#;1> (use srfi-27)
[snip loadings]
; loading /usr/local/lib/chicken/5/numbers.import.so ...
; loading /us
Hi all,
I just installed 4.3.0 on my Vista box and got it built (at least it
looks like it's built). I figured it might be a good idea to update the
eggs I have installed with the new csc, so I tried:
> chicken-install defstruct
It complains that it can't find chicken.h (and generates a zillion
Hi all,
I've been toying around with embedded C just to learn how. I have the
following sample:
(use easyffi)
(import foreign)
#>
#include
#include
const char* dummy(char* dst, int len, int seconds) {
struct tm* tm = localtime(&seconds);
snprintf(dst, len, "%02d/%02d:%02d:%02d:%02d:", tm
(apologies if this posts twice to the list. originally sent 20 hours ago)
Hi all,
I've been toying around with embedded C just to learn how. I have the
following sample:
(use easyffi)
(import foreign)
#>
#include
#include
const char* dummy(char* dst, int len, int seconds) {
struct tm* tm
(Should this go to the dev list?)
This took me a while to find. It was buried in a record-printer of a
defstruct that had a default of 0 for a time field:
$ csi -n
CHICKEN
(c)2008-2009 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.1.7
openbsd-unix-gnu-x86-64 [ 64bit manyargs dload
I thought this sounded familiar:
http://lists.gnu.org/archive/html/chicken-users/2009-08/msg00069.html
But, there doesn't seem to be a resolution in the thread.
I couldn't get make PLATFORM=mingw-msys to work either, but I can't
remember why. I did get 4.2.0 built using a command prompt (CMD, not
On Sep 13, Jim Ursetto scribed:
> On Sat, Sep 12, 2009 at 10:39 PM, David N Murray
> wrote:
> >
> > d...@kili:~/tr/scheme$ cat ~/.csirc
> > (require 'readline)
> > (current-input-port (make-gnu-readline-port))
> > (gnu-history-install-file
Sorry for the extraordinarily long-winded email the first time around.
The attached patch seems to fix the problem:
d...@kili:~/tr/scheme$ export TZ=EST5EDT
d...@kili:~/tr/scheme$ csi -q t.scm
#,(date 39200 9 4 2 13 9 2009 -14400 EDT #t #f #f #f)
Sun Sep 13 02:04:09-0400 2009
d...@kili:~/tr/sc
Hi Kon!
Under OpenBSD, I'm required to set the TZ environment variable:
d...@kili:~/tr/scheme$ csi
CHICKEN
(c)2008-2009 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.1.7
openbsd-unix-gnu-x86-64 [ 64bit manyargs dload ptables applyhook ]
compiled 2009-09-02 on kili.jsbsystems.com (O
Sometimes I think it's just me:
d...@kili:~/tr/scheme$ cat ~/.csirc
(require 'readline)
(current-input-port (make-gnu-readline-port))
(gnu-history-install-file-manager (string-append (or (getenv "HOME") ".")
"/.csi.history"))
d...@kili:~/tr/scheme$ csi
CHICKEN
(c)2008-2009 The Chicken Team
(c)20
Hi all,
I'm coming from an SBCL/Slime environment and would like some advice on
code organization. I'm working on a medium-sized project and have
multiple source code files for the various sections of the program. I
have a similar environment setup in Emacs to replace slime and be able to
run Ch
On Sep 2, Kon Lovett scribed:
>
> I am working on srfi-19 but this will not be available until Fri.
>
Thanks Kon.
I tried to install srfi-19 and it requires type-errors:1.4.0. Both
chicken.kitten-technologies.co.uk and galinha.ucpel.tche.br are reporting
Error: [Server] version not found: ("ty
On Sep 4, felix scribed:
>
> Does the C library on OpenBSD handle "+inf." in it's "strtol"? It looks
> like it doesn't (see convert_string_to_number in runtime.c).
>
No, it doesn't. Is this the fix? All tests run after I applied this.
--- runtime.c.~1~ Wed Sep 2 15:58:55 2009
+++ runtim
Kon, thanks for the help on the previous issues. Many thanks.
I'm making progress on srfi-19.
~# chicken-install srfi-29
retrieving ...
connecting to host "chicken.kitten-technologies.co.uk", port 80 ...
[snip download and stuff that worked]
changing current directory to /tmp/chicken-install-285
Still trying to install locale (ultimate goal is to install srfi-19).
lookup-table fails with the following error:
installing lookup-table: ...
changing current directory to .
/usr/local/bin/csi -bnq -e "(require-library setup-api)" -e "(import
setup-api)" -e "(extension-name-and-version '(\"loo
I'm trying to chicken-install locale and it requires check-errors.
check-errors fails to build because it tries to import srfi-12 (the
require is commented out, but the egg won't install). I removed srfi-12
from the import list of conditions.scm (patch attached) and the tests all
ran fine.
Cheers
On Sep 2, Christian Kellermann scribed:
> find a patch for the srfi-19 egg attached to this email. When applied
> to the trunk of the chicken3 egg it will happily install on chicken
> 4. This has been sent to Kon for review, so don't consider this one
> blessed by the original author. Maybe Kon wi
Hi,
Should this go to chicken-devel?
I just checked out the latest via subversion and was trying to build it on
an OpenBSD AMD64 box. It built fine, but runtests.sh fails:
library tests ...
Error: unbound variable: +inf.
Call history:
Hi all,
I'm a noob to Scheme & Chicken, so forgive me if this is really trivial,
but I'm struggling mightily.
# csi
CHICKEN
(c)2008-2009 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.1.0 - SVN rev. 15292
openbsd-unix-gnu-x86-64 [ 64bit manyargs dload ptables applyhook ]
compiled 200
36 matches
Mail list logo