[Chicken-users] libsvm egg

2007-12-08 Thread Daishi Kato
Hi all!

I made an wrapper egg for libsvm.
http://www.csie.ntu.edu.tw/~cjlin/libsvm

It's pretty straightforward based on SWIG,
but it would be really nice if someone could review it,
especially around set-finalizer!.
I'm also sure some objects are not properly freed
when an error occurs.

The code is in a svn repo.

Thanks,
Daishi


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] compiling chicken on windows

2007-12-08 Thread Marc-Antoine Desroches

Hello,

I'm trying to setup chicken on windows xp, with no luck.

mingw32-make.exe PLATFORM=mingw
mingw32-make.exe -f Makefile.mingw all
mingw32-make.exe[1]: Entering directory 
`C:/download/chicken-2.732/chicken-2.732'

gcc -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. \
 -c -Os \
 -DC_BUILDING_LIBCHICKEN library.c -o library-static.o
In file included from chicken.h:46,
from library.c:10:
chicken-config.h:1: error: syntax error before '-' token
In file included from chicken.h:191,
from library.c:10:
C:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h:191: 
error: syntax error before size_t
C:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h:202: 
error: syntax error before size_t

...

I also looked at the wiki where it is suggested to use CMake but it 
can't find CMakeLists.txt.


Any tips  tricks are welcome :-)

Thanks,

Marc-Antoine


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Concurrency, Blocking I/O

2007-12-08 Thread Moe Aboulkheir

Hey,

I've been using Chicken for some time for a variety of things, and am 
considering using it for a large, upcoming project - one of its components is a 
database-driven website.  I'm concerned about blocking when performing database 
access (PostgreSQL or similar) in the lightweight (SRFI-18) threads spawned by 
Spiffy.  How are you guys dealing with these kinds of issues?  I'd like to hear 
what everybody has to say.

Thanks,
Moe


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users