Re: [Chicken-users] Using csc with clang

2012-10-03 Thread Jim Ursetto
Upgrade to 4.7.0.6 or 4.8.0, the fix to work with clang wasn't in until after 4.7.0. 4.6.0 is very old at this point. Also I would build chicken with make PLATFORM=linux C_COMPILER=clang and then all your eggs and code will automatically be built with clang. I doubt it is safe to use -cc

Re: [Chicken-users] chicken-4.8.0rc4 on Solaris / SPARC - shell and rt lib issues

2012-09-18 Thread Jim Ursetto
On Sep 18, 2012, at 10:32 AM, Claude Marinier wrote: Hi, Just finished building 4.8.0 rc4 on Solaris 10 (SPARC) with only a few hacks. The check runs and finishes with this. done. make[1]: Leaving directory

Re: [Chicken-users] Debian chicken 4.7.0.6 : tests/finalizer-error-test.scm fails

2012-09-13 Thread Jim Ursetto
Claude, I'm guessing you didn't install chicken first prior to running the tests. The finalizer error only occurs with older chickens. I can't reproduce the problem with make PLATFORM=blah PREFIX=$PWD/tmp all install check On Sep 13, 2012, at 8:40 AM, Claude Marinier wrote: IBM ThinkCenter,

Re: [Chicken-users] Building Chicken on OS X Lion

2012-09-13 Thread Jim Ursetto
Hans, I've verified that chicken 4.7.0.6 builds, installs and tests out correctly on Lion with Xcode 4.4.1. It works fine with either gcc or clang. Here is my test line: make PLATFORM=macosx PREFIX=$PWD/inst C_COMPILER=clang all install check From your paste, it looks like you're not

Re: [Chicken-users] Building Chicken on OS X Lion

2012-08-31 Thread Jim Ursetto
I hope this is not a problem with XCode 4.4.1. I haven't upgraded from XCode 4.3.2 yet. Anyone else have a successful build with 4.4.1? In the meantime if you have some time to kill, you could try building with C_COMPILER=clang. I doubt this will make a difference though. I will try to upgrade

Re: [Chicken-users] Building Chicken on OS X Lion

2012-08-31 Thread Jim Ursetto
On Aug 31, 2012, at 3:36 PM, Shawn Rutledge wrote: I just built the 4.8.0 rc3 on Lion with xcode 4.3.3, using clang, like this: CC=clang C_COMPILER=clang make PLATFORM=macosx install Will csc remember to use clang then? Doesn't seem to be any trouble to chicken-install extensions,

Re: [Chicken-users] checking whether a C macro is defined

2012-08-16 Thread Jim Ursetto
Hi, That should be foreign-declare for the whole thing, not foreign-code. Or use # ... # which is shorthand for foreign-declare. # #include foo.h #ifndef FOO #define FOO -1 #endif # Another option is the feature-test egg, which is useful for complex cases, and doesn't require that you redefine

Re: [Chicken-users] Unbounded stack growth

2012-07-11 Thread Jim Ursetto
It seems that compiling with clang (llvm 3.0) prevents the crash, at least for values up to 20 million, on OS X and Linux. Any higher and I start to hit swap. I don't know why this works. Plain gcc on linux, and llvm-gcc (llvm 2.7) on OS X 10.7, do crash at about 600k here w/ stack ulimit 8M.

Re: [Chicken-users] Unbounded stack growth

2012-07-11 Thread Jim Ursetto
On Jul 11, 2012, at 2:47 PM, Marc Feeley wrote: I'm pretty sure LLVM is simply implementing the tail-call itself. So there is no stack growth in the unwinding phase. That is possible. We do currently disable __attribute__((noreturn)) on functions across the board when using clang, and last

Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API

2012-06-04 Thread Jim Ursetto
On Jun 3, 2012, at 5:06 AM, Christian Kellermann wrote: * Peter Danenberg p...@roxygen.org [120603 11:30]: Quoth Christian Kellermann on Prickle-Prickle, the 8th of Confusion: Which version of chicken is this? I get the arity error for both csi and compiled version for chicken master. It's

Re: [Chicken-users] Emacs and Chicken on Windows

2012-04-03 Thread Jim Ursetto
Cool. You might also want to have a look at http://synthcode.com/wiki/scheme-complete. On Apr 3, 2012, at 10:06 PM, Daniel Leslie wrote: Perhaps of some interest is the work I've put into my Emacs scripts for Chicken. I've had consistent problems with SLIME and Chicken on Windows, which

Re: [Chicken-users] Posix realpath

2012-04-01 Thread Jim Ursetto
On Apr 1, 2012, at 11:15 AM, Matt Welland wrote: Note that normalize-path is not the same as realpath and that although realpath would be nice to have calling the system realpath works just fine and so this is a suggestion and not a request What is the system realpath? Jim

Re: [Chicken-users] Posix realpath

2012-04-01 Thread Jim Ursetto
On Apr 1, 2012, at 12:22 PM, Jim Ursetto wrote: On Apr 1, 2012, at 11:15 AM, Matt Welland wrote: Note that normalize-path is not the same as realpath and that although realpath would be nice to have calling the system realpath works just fine and so this is a suggestion and not a request

Re: [Chicken-users] Posix realpath

2012-04-01 Thread Jim Ursetto
In case it helps, I've added resolve-pathname to the posix-extras egg in version 0.1.2. On Apr 1, 2012, at 12:54 PM, Jim Ursetto wrote: On Apr 1, 2012, at 12:22 PM, Jim Ursetto wrote: On Apr 1, 2012, at 11:15 AM, Matt Welland wrote: Note that normalize-path is not the same as realpath

Re: [Chicken-users] Regexp egg compilation error

2012-03-12 Thread Jim Ursetto
On Mar 12, 2012, at 10:19 PM, Kon Lovett wrote: I think the extension is called regex: http://wiki.call-cc.org/eggref/4/regex BTW, this is for temporary backwards-compatibility. New code should use irregex: http://wiki.call-cc.org/man/4/Unit%20irregex Not just back-compat, regex also

Re: [Chicken-users] Making stack-allocated Chicken-managed objects from C

2012-03-06 Thread Jim Ursetto
On Mar 6, 2012, at 10:31 AM, Kristian Lein-Mathisen wrote: (define %make-point (foreign-primitive void (((c-pointer (struct point)) dest) (float x) (float y)) #END dest-x = x; dest-y = y; C_return(); END )) (define (make-point x y)

Re: [Chicken-users] case vs. eq? - just curious ....

2012-03-02 Thread Jim Ursetto
eqv?, to be exact. Your case statement works fine for me, with for example (comp-text '=). (eq? comp =) compares against the value of the procedure =, whereas the case compares against the symbol =. So you are doing two different comparisons. You can use ,x (case ...) at the REPL to see

Re: [Chicken-users] case vs. eq? - just curious ....

2012-03-02 Thread Jim Ursetto
On Mar 2, 2012, at 7:57 PM, Matt Welland wrote: I'm trying to convert a comparison operator to the equivalent text. These are not symbols. I think case treats the target list as if it was created with a quote: '(). That's what case does. You want `select`:

[Chicken-users] llvm patches integrated (was: Installing on Mac OS 10.7.3)

2012-02-18 Thread Jim Ursetto
this out if interested. At the least, it seems to speed up the build process, along with the chicken compiler. Jim On Feb 14, 2012, at 9:26 AM, Jim Ursetto wrote: If you have already upgraded to XCode 4.2, then they have removed plain gcc completely and this will fail. In this case you

Re: [Chicken-users] Installing on Mac OS 10.7.3

2012-02-16 Thread Jim Ursetto
Assuming you installed it with make install ;) then it's in /usr/local/bin by default, so make sure that's in your path. On Feb 16, 2012, at 2:41 AM, James Abbott wrote: Jim Toby: thanks for your help. My system doesn't seem to recognize the csi command: $ csi -s test.scm -bash: csi:

Re: [Chicken-users] Installing on Mac OS 10.7.3

2012-02-15 Thread Jim Ursetto
! Cheers, James On Wed, Feb 15, 2012 at 5:16 AM, Jim Ursetto zbignie...@gmail.com wrote: Check out the latest code, apply the ticket patches, make a boot chicken, then build chicken with the chicken-boot binary. Normal procedure in other words when building from git. On Feb 14, 2012

Re: [Chicken-users] Installing on Mac OS 10.7.3

2012-02-15 Thread Jim Ursetto
that comes with Chicken? Ie, can I run something like: scheme myfile.scm chicken myfile.scm bok myfile.scm ? Thanks, James On Wed, Feb 15, 2012 at 4:21 PM, Jim Ursetto zbignie...@gmail.com wrote: Ok, then also add ARCH=x86-64 like you had originally. It was my understand

Re: [Chicken-users] Installing on Mac OS 10.7.3

2012-02-14 Thread Jim Ursetto
Use these instructions instead, from the stability branch. http://code.call-cc.org/cgi-bin/gitweb.cgi?p=chicken-core.git;a=blob_plain;f=README;hb=1144d803cc214758be60ba09ae4de34ebff7cb63 In short, $ make PLATFORM=macosx C_COMPILER=gcc-4.2 This works with XCode 4.2 on Lion. If this works without

Re: [Chicken-users] Installing on Mac OS 10.7.3

2012-02-14 Thread Jim Ursetto
On Feb 14, 2012, at 9:26 AM, Jim Ursetto wrote: This works with XCode 4.2 on Lion. If this works without hanging, you're done. If you have already upgraded to XCode 4.3... Oops. I meant it works until XCode 4.2, and if you upgraded to XCode 4.2 already (which you probably have) then you

Re: [Chicken-users] Installing on Mac OS 10.7.3

2012-02-14 Thread Jim Ursetto
Ursetto zbignie...@gmail.com wrote: On Feb 14, 2012, at 9:26 AM, Jim Ursetto wrote: This works with XCode 4.2 on Lion. If this works without hanging, you're done. If you have already upgraded to XCode 4.3... Oops. I meant it works until XCode 4.2, and if you upgraded to XCode 4.2 already

Re: [Chicken-users] Dynamic wind problem in with-input-from-file

2011-12-20 Thread Jim Ursetto
Thanks for noticing this. It may also happen if you catch an exception raised in the body. We applied a fix to the master branch and also to stability (and 4.7.0.4-st has now been released). Jim On Dec 19, 2011, at 9:40 AM, obscurolocon...@googlemail.com wrote: I tried the following:

Re: [Chicken-users] unbound variable: sxml:sxml-xml

2011-12-07 Thread Jim Ursetto
On Dec 7, 2011, at 10:41 AM, Peter Bex wrote: Actually, the main reason is that SSAX is a horrible mess which has many completely unrelated procedures all mixed together. There are several egg that provide different sets of procedures from the SSAX project. Most eggs include all files from

Re: [Chicken-users] Correct behavior of SRFI-1 any

2011-11-28 Thread Jim Ursetto
On Nov 28, 2011, at 9:01 PM, Nick Zarr wrote: I've been testing my implementation against Chicken for correctness and here's what I get on Chicken: #;2 (any (lambda (x) (if (even? x) x)) '(1 2 3)) #;3 (any (lambda (x) (even? x)) '(1 2 3)) #t #;4 (any even? '(1 3 5)) #f For #3 and #4

Re: [Chicken-users] BUG, list-ref bug found in chicken version 4.7.0

2011-11-21 Thread Jim Ursetto
It's also fixed as of 4.7.0.1-st (commit faa97a3) On Nov 21, 2011, at 4:39 AM, Christian Kellermann wrote: Hi Markus! Thanks for your detailed report. * Markus Klotzbuecher m...@marumbi.de [21 11:22]: #;1 (list-ref 2 '(1 5 2)) Segmentation fault xudifsd@xudifsd-laptop:~$ csi -v

Re: [Chicken-users] Chicken objc egg on OSX Lion

2011-11-19 Thread Jim Ursetto
On Nov 19, 2011, at 11:01 AM, Achint Sandhu wrote: The cleanest option I have found so far is the objective-C extension for Chicken Scheme (http://wiki.call-cc.org/eggref/4/objc), which I'm having trouble installing on 10.7. A quick google search reveals

Re: [Chicken-users] Chicken objc egg on OSX Lion

2011-11-19 Thread Jim Ursetto
On Nov 19, 2011, at 4:05 PM, Achint Sandhu wrote: Is there something that would prevent the support for Objective C 2.0 or is it the case that no one has got around to it yet ? No, not as far as I know -- it's just a matter of coding. It's just that no one has been interested enough to do

Re: [Chicken-users] 64-bit SPARC build - Re: [4.7.0.3-st] Compiling on Solaris 10

2011-11-10 Thread Jim Ursetto
Toby, On Nov 10, 2011, at 6:40 AM, Toby Thain wrote: 3) It's really sad to see 25% CPU utilisation on this quad-CPU system throughout the long build. Is the parallel make patch coming? :) The patch in ticket 526 (http://bugs.call-cc.org/raw-attachment/ticket/526/parallel-build-2.diff.txt)

Re: [Chicken-users] gmake check fails on OpenBSD 5.0

2011-11-05 Thread Jim Ursetto
On Nov 4, 2011, at 1:37 PM, Pekka Niiranen wrote: Hi Pekka. port-fileno...FAIL [ 8 ] gmake[1]: Leaving directory `/home/pekka/compile/chicken-4.7.0.3-st' gmake: *** [check] Error 2 I commented out the following two lines from port-tests.scm (check (port-fileno out)) (check

Re: [Chicken-users] c-string return question

2011-10-13 Thread Jim Ursetto
On Oct 13, 2011, at 11:02 AM, Jörg F. Wittenberger wrote: ages ago I wrote these simple lines: Out of curiosity, would this suit your purposes instead: (##sys#char-utf8-string (integer-char x)) ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] sandbox egg: C_emit_trace_info

2011-10-01 Thread Jim Ursetto
Patch looks good to me but should be ACKed by the egg author (Felix) On Oct 1, 2011, at 5:01 PM, Alan Post wrote: The sandbox egg makes a call to the runtime.c procedure: C_emit_trace_info In commit 2d5244dd01d4e91ed6f73bb566e92f04a2ab6361 of core, this procedure was deprecated in favor

Re: [Chicken-users] file-read and let-values

2011-09-19 Thread Jim Ursetto
On Sep 19, 2011, at 9:59 AM, Sascha Ziemann wrote: Is this the prefered way to use the return values of file-read? (let-values (((data bytes)) (apply values (file-read fileno size))) No, just destructure the returned list: (let* ((rc (file-read fileno size)) (data (car rc))

Re: [Chicken-users] chicken hangs and uses 100% cpu (mac os x lion)

2011-09-13 Thread Jim Ursetto
On Sep 13, 2011, at 7:56 PM, Topher Cyll wrote: Hey everyone, Like a previous poster, I'm having issues with Chicken on Mac OS X (although for me the issues are on Lion, not Snow Leopard). Add C_COMPILER=gcc-4.2 to the make line. E.g. make C_COMPILER=gcc-4.2 PLATFORM=macosx This

Re: [Chicken-users] wiki pages and h1 title

2011-09-10 Thread Jim Ursetto
Hi John, On Sep 10, 2011, at 11:56 AM, John Gabriele wrote: I've noticed that some of the wiki pages have an h2 title at the top, some don't. For the ones that have have a table of contents, some have an h2 above the toc, some have it below. I think pages look a bit odd if they have no

Re: [Chicken-users] wiki pages and h1 title

2011-09-10 Thread Jim Ursetto
On Sep 10, 2011, at 5:46 PM, John Gabriele wrote: The stopgap measure though, would appear to be this: https://wiki.call-cc.org/eggs%20tutorial (I just now added the h2 heading to it.) I think this looks reasonable ___ Chicken-users mailing list

Re: [Chicken-users] MacPorts and Chicken

2011-09-10 Thread Jim Ursetto
On Sep 10, 2011, at 5:28 PM, Jimmy Coyne wrote: Hi, Trying to use Chicken for the first time and having some install issues on Snow leopard (10.6.8). Followed the wiki macport instructions - sudo port install chicken --- Attempting to fetch chicken-4.4.0_0.darwin_10.x86_64.tbz2 from

Re: [Chicken-users] process-wait

2011-09-02 Thread Jim Ursetto
On Sep 2, 2011, at 3:50 PM, Felix wrote: The signal handlers that you set with set-signal-handler! are not executed at interrupt time. They just save the signal number and provoke a GC on the next heap-check that happens to execute. Then the interrrupt-processing wraps up the execution state

Re: [Chicken-users] script to generate html from wiki-formatted text?

2011-08-30 Thread Jim Ursetto
John, Another option is to look at manual-labor, which uses svnwiki-sxml and chicken-doc-html under the hood. A further option is hyde. Jim On Aug 30, 2011, at 3:13 PM, Mario Domenech Goulart wrote: Hi John, On Tue, 30 Aug 2011 16:15:20 -0400 John Gabriele jmg3...@gmail.com wrote: Does

Re: [Chicken-users] script to generate html from wiki-formatted text?

2011-08-30 Thread Jim Ursetto
On Aug 30, 2011, at 8:10 PM, John Gabriele wrote: On Tue, Aug 30, 2011 at 6:23 PM, Jim Ursetto zbignie...@gmail.com wrote: Another option is to look at manual-labor, which uses svnwiki-sxml and chicken-doc-html under the hood. Thanks. That also works nicely for me. The styling reminds me

Re: [Chicken-users] Egg - Chicken version compatibility

2011-08-20 Thread Jim Ursetto
On Aug 20, 2011, at 17:32, Alaric Snell-Pym ala...@snell-pym.org.uk wrote: * How about, when interfaces change in the manual, writing something along the lines of added in version X, so that people writing code using those interfaces who are concerned about compatability are given pause for

Re: [Chicken-users] configuring readline support; cannot import from undefined module: regex

2011-08-16 Thread Jim Ursetto
On Aug 15, 2011, at 10:47 PM, John Gabriele wrote: Hi, Following the instructions at http://wiki.call-cc.org/man/3/Using%20the%20interpreter#auto-completion-and-edition to set up readline support, I get: Error: (import) during expansion of (import ...) - cannot import from undefined

Re: [Chicken-users] My code doesn't float

2011-08-16 Thread Jim Ursetto
Better solution is probably to declare these in test1.h and then include it from stest1.scm via # #include test1.h # and also #include it from test1.c for good measure. Same would be true if you had implemented stest1 directly in C. On Aug 17, 2011, at 12:04 AM, Paul Colby wrote: Got it,

Re: [Chicken-users] LLVM fails on Mac OS X 10.7

2011-08-05 Thread Jim Ursetto
To add, llvm-gcc is now the default on 10.7, so any Lion user would probably see this issue. That is why it was necessary to set gcc-4.2 explicitly. On Aug 5, 2011, at 11:32 PM, Josh Chaney wrote: I have a similar, or same issue as reported here (

Re: [Chicken-users] Problem w/ a new egg

2011-07-06 Thread Jim Ursetto
On Jul 5, 2011, at 10:05 PM, Kon Lovett wrote: My initial save did not list the .meta in the files manifest so the above msg made some sense. I quickly remedied the oversight. But I still get the msg. Just so you know, the files entry isn't used anymore. Jim

Re: [Chicken-users] Solaris 10 / SPARC - PsTK and manyargs

2011-07-06 Thread Jim Ursetto
On Jul 6, 2011, at 8:02 AM, Claude Marinier wrote: I asked chicken-install to save the temporary files and moved them to /usr/local/src. Applied the patch; had fun with carriage returns. Built with chicken-install -l /usr/local/src -t local pstk Sorry about the CRs, the original file

Re: [Chicken-users] reload .so in csi?

2011-07-01 Thread Jim Ursetto
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 each time it is compiled. That is probably

Re: [Chicken-users] where move-file is?

2011-06-30 Thread Jim Ursetto
On Jun 30, 2011, at 8:30 AM, Mario Domenech Goulart wrote: Maybe Jim can provide a good explanation for the api.call-cc.org path. I suppose the Extensions section from the manual is mapped as `eggs' in chicken-doc. I'm not sure. It's an unfortunate exception. The pages mapped under chicken

Re: [Chicken-users] Problems with csc 4.7.0 on x86_64

2011-06-14 Thread Jim Ursetto
On Jun 14, 2011, at 2:11 AM, Vesa Kaihlavirta wrote: Excerpts from Jim Ursetto's message of 2011-06-14 03:35:48 +0300: FYI, there is a patch to enable parallel builds Full chicken build, single process, ran through bash's time on our build machine: real 3m11.415s user 3m5.0568s You

Re: [Chicken-users] Problems with csc 4.7.0 on x86_64

2011-06-13 Thread Jim Ursetto
FYI, there is a patch to enable parallel builds at http://bugs.call-cc.org/attachment/ticket/526/parallel-build-2.diff.txt . It's not officially supported yet, but if you want to test it out, please do. Jim On Jun 13, 2011, at 10:20 AM, Vesa Kaihlavirta wrote: Excerpts from Jim Pryor's

Re: [Chicken-users] Problems with csc 4.7.0 on x86_64

2011-06-12 Thread Jim Ursetto
I think Thomas is right, it looks like the system can't find the shared library as it is perhaps installed incorrectly, and is falling back to the static library which will fail. On Jun 12, 2011, at 2:44 PM, Jim Pryor wrote: $ csc -s hello.scm /usr/bin/ld:

Re: [Chicken-users] Different factorial results

2011-06-03 Thread Jim Ursetto
On Jun 3, 2011, at 11:49 AM, John Cowan wrote: Steve Graham scripsit: Thanks, Mario. Worked like a charm. Why is that not part of the base package? Licensing. The numbers egg has to be GPL, because it depends on the GMP (GNU Multi-precision Library) which is GPL. numbers is BSD and

Re: [Chicken-users] [wish list] chicken-install: show available eggs, upgrade all installed eggs?

2011-05-05 Thread Jim Ursetto
On May 5, 2011, at 9:58 AM, William Xu wrote: Felix felix at call-with-current-continuation.org writes: What editor are you using? Emacs. You mentioned in the other mail it has no problem with default setup. i think that may be due to my emacs config then, i will check my config.

Re: [Chicken-users] Difficulty installing Hyde egg

2011-04-05 Thread Jim Ursetto
Hi John, On Apr 5, 2011, at 2:12 PM, John Magolske wrote: If building chicken from source, could there be a way of doing something like: SET(BINPATH /home/john/.chicken/bin) If building from source, you might as well just do make PREFIX=/home/john/.chicken and dispense with all the

Re: [Chicken-users] Generic RDBMS Interface [Was: Re: Creating Windows GUI App]

2011-04-01 Thread Jim Ursetto
On Apr 1, 2011, at 7:47 AM, Thomas Chust wrote: There is at least one small point that I would want to do differently, though: In my opinion it has some value if the procedure establishing the database connection has a fixed signature and driver specific information is encoded in a single

Re: [Chicken-users] Big Randoms

2011-03-11 Thread Jim Ursetto
On Mar 11, 2011, at 8:55 AM, David N Murray wrote: Looking at the difference between your csi announcement and mine, I notice that I'm building the 64bit version. If I try the same thing on a 32-bit build, I don't have the problem. Not that this helps much but I can reproduce the SIGFPE (on

Re: [Chicken-users] getenv

2011-03-11 Thread Jim Ursetto
Hi Dave, The wiki manual tracks the latest stable release of Chicken, which is 4.6.0 and still contains getenv. It should be removed when 4.7.0 comes out. Jim On Mar 11, 2011, at 3:33 PM, David N Murray wrote: Hi all, I'm not sure fixing the docs is the correct thing here, but I'll be

Re: [Chicken-users] No... but it is... interesting...

2011-03-10 Thread Jim Ursetto
On Mar 10, 2011, at 10:57 AM, John Cowan wrote: I get one failure running on Chrome 10.0.648.127 beta for Windows: (every-of #t) returns #f instead of #t. Same here on Safari 5.0.4 ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] foreign-lambda* question

2011-03-09 Thread Jim Ursetto
John, Presuming you no longer need the contents of values after the call to window-property-set, you can then use free from unit lolevel to free the memory. Is that the case? On Mar 9, 2011, at 21:35, John J Foerch jjfoe...@earthlink.net wrote: Hello, I'm writing a program that uses xlib

Re: [Chicken-users] Problem OS X Snow Leopard installation/Compilation

2011-03-08 Thread Jim Ursetto
Hi Francis, The readme instructions you refer to are only to be used for *universal* builds, which are not possible on snow leopard. Nor are they really desirable even on tiger or leopard unless you absolutely must support PPC and Intel in the same install. Simply build normally without

Re: [Chicken-users] readline egg (OS X 10.6.6 / Chicken 4.6.0)

2011-03-04 Thread Jim Ursetto
On Wed, Jan 26, 2011 at 18:33, Jim Ursetto zbignie...@gmail.com wrote: The readline egg build system (which determines which libraries to use for readline) has been rewritten around 9,996 times and I think a recent change broke it, deleting the code which honored CSC_OPTIONS. I have checked

Re: [Chicken-users] Chicken Scheme 3 extension dependency problem

2011-02-15 Thread Jim Ursetto
the Scheme 3 Eggs. I may try an svnwiki install again eventually. On Mon, Feb 14, 2011 at 1:12 PM, Jim Ursetto zbignie...@gmail.com wrote: If only the Chicken 4 versions added a dependency on simple-logging, why is it a problem for Chicken 3

Re: [Chicken-users] Chicken Scheme 3 extension dependency problem

2011-02-14 Thread Jim Ursetto
If only the Chicken 4 versions added a dependency on simple-logging, why is it a problem for Chicken 3? On Feb 14, 2011, at 10:58, Paul Nelson pablo...@salientblue.com wrote: I have been working on installing svnwiki using Chicken Scheme 3. Unfortunately, several of the extensions (Eggs)

Re: [Chicken-users] C_word type / Cython (warning: passing argument 2 from incompatible pointer type)

2011-02-12 Thread Jim Ursetto
C_word is the fundamental scheme object type. The underlying type of int or long is just used to make the width of this type 32-bit or 64-bit, and the actual representation is indicated by a type tag (some subset of bits in that word). So it actually can return an arbitrary result. See Data

Re: [Chicken-users] How can I get an offline version of the manual

2011-02-07 Thread Jim Ursetto
In addition you can use the command-line version of manual-labor directly to build the manual from a Chicken snapshot, or as shown below, a copy of the manual from the wiki: $ chicken-install manual-labor $ svn co --username anonymous --password

Re: [Chicken-users] readline egg (OS X 10.6.6 / Chicken 4.6.0)

2011-01-26 Thread Jim Ursetto
David, The readline egg build system (which determines which libraries to use for readline) has been rewritten around 9,996 times and I think a recent change broke it, deleting the code which honored CSC_OPTIONS. I have checked in a fix (again...) to trunk. If you have access, can you try it

Re: [Chicken-users] The following code causes a segfault in the chicken interpreter (forwarded)

2011-01-17 Thread Jim Ursetto
Works fine on Ubuntu 10.10, csi 4.5.2 (once you change syntax rules to syntax-rules). 4.2.0 is pretty ancient. -- Forwarded message -- From: Tom Ostojich tostoj...@gmail.com Using csi version 4.2.0 on GNU/Linux (Ubuntu 10.04) built for x86 causes a segfault when the

Re: [Chicken-users] Re: sqlite3 egg patches for chicken experimental branch

2011-01-13 Thread Jim Ursetto
On Jan 13, 2011, at 4:11, Felix fe...@call-with-current-continuation.org wrote: From: Jim Ursetto zbignie...@gmail.com Subject: Re: [Chicken-users] Re: sqlite3 egg patches for chicken experimental branch Date: Wed, 12 Jan 2011 23:16:21 -0600 I am wondering why milliseconds-time

Re: [Chicken-users] Re: sqlite3 egg patches for chicken experimental branch

2011-01-12 Thread Jim Ursetto
On Wed, Jan 5, 2011 at 21:05, Thomas Chust ch...@web.de wrote: the patch replacing noop by void is fine, of course. Concerning the change of thread-sleep!/ms I have the same doubts as you: It should really be possible to sleep less than a second waiting for database locks, so the computation

Re: [Chicken-users] New salmonella features

2010-12-16 Thread Jim Ursetto
On Sun, Oct 24, 2010 at 11:26, Mario Domenech Goulart mario.goul...@gmail.com wrote: For those using the test egg (http://wiki.call-cc.org/eggref/4/test), here's a simple trick to set the exit status according to the existence of test failures:  (unless (zero? (test-failure-count)) (exit 1))

Re: [Chicken-users] Re: seg fault

2010-12-01 Thread Jim Ursetto
I swear this was documented in the README, but I can't find it now. Anyway, instead of changing the Makefile, you just need to pass ARCH=x86-64 to the make command, like: make PLATFORM=macosx ARCH=x86-64 Sorry for the inconvenience. Jim On Mon, Nov 29, 2010 at 17:44, David Dreisigmeyer

Re: [Chicken-users] Re: seg fault

2010-12-01 Thread Jim Ursetto
We've been over this a few times and haven't found a reliable solution, mainly because no devs have 10.6. The issue is not the kernel but the default output format of gcc itself. If anyone has a reliable way to determine that for all 10.6 installs, and which still works for all 10.4 and 10.5,

Re: [Chicken-users] objc install error on OS X 10.6.5

2010-12-01 Thread Jim Ursetto
It's not supported on 10.6, I apologize. For this one there is no workaround. On Dec 1, 2010, at 12:09, David Dreisigmeyer dwdreisigme...@gmail.com wrote: I can't install the objc egg (see below). Thanks again. -Dave P.S. Sorry for all of the emails. Last login:

Re: [Chicken-users] Re: seg fault

2010-12-01 Thread Jim Ursetto
Maybe! I'll check it out. On Dec 1, 2010, at 18:47, Thomas Chust ch...@web.de wrote: 2010/12/2 Jim Ursetto zbignie...@gmail.com: No, this is not a kernel issue but a gcc output issue. On Dec 1, 2010, at 7:48, David Dreisigmeyer dwdreisigme...@gmail.com wrote: Would this help

Re: [Chicken-users] Scheme Code beautifier

2010-11-30 Thread Jim Ursetto
Sure Joe, you can use indent-region, which is bound to M-C-\. It won't change your linebreaks, but it will reindent your code. 2010/11/29 Joe Python jopyt...@gmail.com: Is there a 'Scheme Code beautifier' where I can call within emacs to tidy up existing code with correct indentations?

Re: [Chicken-users] Can an egg have a library and executable with the same name?

2010-11-25 Thread Jim Ursetto
On Nov 25, 2010, at 2:09, Peter Bex peter@xs4all.nl wrote: On Wed, Nov 24, 2010 at 08:16:55PM -0700, Alan Post wrote: If it isn't, can someone point me to an egg that has a library and an executable named after the egg? awful does this. And chicken-doc, chicken-doc-admin, and

Re: [Chicken-users] Re: on the hardship of upgrading chicken from 4.6.1 to 4.6.3 -- what I forgot

2010-11-17 Thread Jim Ursetto
On Wed, Nov 17, 2010 at 15:35, Jörg F. Wittenberger joerg.wittenber...@softeyes.net wrote: * A lot of changes are about white space / reformatting or insignificant things as replacing angle brackets with round ones.  Especially in LISP languages, where this amounts to large line wise diff's for

[Chicken-users] Chicken Gazette - Issue 9

2010-10-25 Thread Jim Ursetto
_/_/_/ _/_/_/ / _/_/_/_/ _/_/_/ _/ _/ _/_/_/_/_/ / _/_/_/ _/ _/_/_/ _/_/_/_/ _/_/ / _/_/_/ _/ _/_/ _/_/_/_/ / _/_/_/ _/_/ _/

Re: [Chicken-users] Chicken Gazette - Issue 9

2010-10-25 Thread Jim Ursetto
Hi Alan. On Mon, Oct 25, 2010 at 18:06, Alan Post alanp...@sunflowerriver.org wrote:  $ sudo chicken-doc-admin -m man/4  Error: (irregex-match-start-index) not a valid index  #regexp-match (8 submatches)  8 It's a problem with irregex in 4.6.2 (the one that was fixed by Peter). You have to

Re: [Chicken-users] using mmap files as strings?

2010-10-23 Thread Jim Ursetto
On Sat, Oct 23, 2010 at 05:04, Peter Bex peter@xs4all.nl wrote: On Fri, Oct 22, 2010 at 05:58:02PM -0600, Alan Post wrote: This is excellent, I've learned a lot more about how all of this works together now. What method would I use to convert a pointer and a length to a string?  Even

[Chicken-users] Re: New directory during extension install

2010-10-22 Thread Jim Ursetto
Oh, thank you. That's the first good explanation I got regarding the difference between (posix create-directory) and (chicken eggs create-directory/parents). That means I can't create directories without creating their parents then, right? Say out of some misguided safety precaution I don't

Re: [Chicken-users] Installing data files for eggs

2010-10-21 Thread Jim Ursetto
On Thu, Oct 21, 2010 at 01:11, Felix fe...@call-with-current-continuation.org wrote: IIRC, debian only allows post-installation changes to VARDIR. Does this apply to DATADIR as well? Where do you (Peter, Jim) see this data files to be copied to on egg-installation? I have no idea about either

Re: [Chicken-users] /sbin/ldconfig: libchicken.so not a symbolic link

2010-10-20 Thread Jim Ursetto
Hi there. Did you happen to install over an older version of chicken, one which may have left a libchicken.so remnant there? From your mail, it sounds like libchicken.so already existed and it was a real file instead of a symlink, is that correct? Jim 2010/10/18 Yi DAI plm@gmail.com: Hi,

Re: [Chicken-users] /sbin/ldconfig: libchicken.so not a symbolic link

2010-10-20 Thread Jim Ursetto
PM, Jim Ursetto zbignie...@gmail.com wrote: Hi there. Did you happen to install over an older version of chicken, one which may have left a libchicken.so remnant there? From your mail, it sounds like libchicken.so already existed and it was a real file instead of a symlink, is that correct

Re: [Chicken-users] Installing data files for eggs

2010-10-18 Thread Jim Ursetto
On Sat, Oct 2, 2010 at 13:55, Peter Bex peter@xs4all.nl wrote: Hi all, Is there a proper way to install data files from egg .setup-files? I couldn't find anything at http://wiki.call-cc.org/manual/Extensions so I rolled my own for the slatex egg: [...] The disadvantages are obvious:

Re: [Chicken-users] Using irregex safely responsibly

2010-10-11 Thread Jim Ursetto
On Mon, Oct 11, 2010 at 02:51, Peter Bex peter@xs4all.nl wrote: On Mon, Oct 11, 2010 at 01:17:49PM +0900, Alex Shinn wrote: However, in case of substring and index operations, the result is always an integer/a string.  Returning #f is completely unambiguous in those cases, so I don't see

Re: [Chicken-users] Using irregex safely responsibly [Was: Re: dev-snapshot 4.6.3]

2010-10-08 Thread Jim Ursetto
On Fri, Oct 8, 2010 at 02:09, Peter Bex peter@xs4all.nl wrote: That's not quite true; some of the compatibility code is still necessary to make up for the changes in the API. If that's the case, it means that eggs compiled with 4.6.0 aren't compatible with those compiled with 4.6.2, because

Re: [Chicken-users] Using irregex safely responsibly [Was: Re: dev-snapshot 4.6.3]

2010-10-08 Thread Jim Ursetto
bump binversion to 6 after all. :( On Fri, Oct 8, 2010 at 16:00, Jim Ursetto zbignie...@gmail.com wrote: 2) eggs using the old irregex API would be compatible with all Chicken versions without rebuilding. ___ Chicken-users mailing list Chicken-users

Re: [Chicken-users] dev-snapshot 4.6.3

2010-10-07 Thread Jim Ursetto
On Wed, Oct 6, 2010 at 07:58, Felix fe...@call-with-current-continuation.org wrote: - the `regex' library unit has been removed and is separately  available as an extension which should be fully backwards-  compatible Just wanted to clarify that if you are upgrading over an older version in

Re: [Chicken-users] Using irregex safely responsibly [Was: Re: dev-snapshot 4.6.3]

2010-10-07 Thread Jim Ursetto
On Thu, Oct 7, 2010 at 15:53, Peter Bex peter@xs4all.nl wrote: In your egg's file, where you would previously use this idiom: (require-library regex)      ; or (use regex) for the lazy sloppy (import irregex) you can now replace it with this block (you can delete emulation of

Re: [Chicken-users] More on Packaging eggs

2010-09-29 Thread Jim Ursetto
On Sep 29, 2010, at 16:10, Peter Bex peter@xs4all.nl wrote: wiki-parse was and initial attempt to tweak what was originally a parser by Alex Shinn for mediawiki syntax, so that it could read svnwiki syntax. If Alex still wants to support it (I wouldn't recommend it, we've hacked this

Re: [Chicken-users] 4.6.1 performance boost

2010-09-24 Thread Jim Ursetto
Felix, Which commit is this in? I would like to try before and after tests to confirm. Jim On Fri, Sep 24, 2010 at 11:50, Felix fe...@call-with-current-continuation.org wrote: From: Mario Domenech Goulart mario.goul...@gmail.com Subject: [Chicken-users] 4.6.1 performance boost Date: Fri, 24

Re: [Chicken-users] Incremental build, tricks or tips anyone?

2010-09-05 Thread Jim Ursetto
Matthew, Would it be possible for you to use the make macro that is built into setup-api (and therefore chicken-install), along with 'csc -t' for example to do the translation from .c to .o, rather than manually invoking gcc? csc can also be called in a separate step to link your object files

Re: [Chicken-users] tinyclos fails to install ...

2010-09-05 Thread Jim Ursetto
On Sep 5, 2010, at 17:24, Matthew Welland m...@kiatoa.com wrote: I don't see any options to force chicken-install to use an older version of an egg. Is my only option to either manually get the older egg or manually make a new chicken? chicken-install tinyclos:1.6.4

[Chicken-users] Re: chicken-doc

2010-09-02 Thread Jim Ursetto
On Fri, Jul 30, 2010 at 12:34, Jim Ursetto zbignie...@gmail.com wrote: Hi all.  Pre-built documentation tarballs are now being generated daily from the latest wiki documentation. Hi chicken-doc-u-hens, chicken-doc 0.4 is now in the wild and sports a more efficient repository format which

Re: [Chicken-users] Initial release of epoll egg

2010-08-18 Thread Jim Ursetto
On Aug 18, 2010, at 12:10, Peter Bex peter@xs4all.nl wrote: On Wed, Aug 18, 2010 at 10:05:50AM -0700, David Reynolds wrote: If you've seen my last email, you know I'm working on some server technology called Rooster. I broke out the epoll stuff into its own egg and put it on github

Re: [Chicken-users] Scheme code to be read

2010-08-18 Thread Jim Ursetto
On Aug 18, 2010, at 12:21, Mario Domenech Goulart mario.goul...@gmail.com wrote: That's indeed a good idea (as long as the eggs are not mine). That's awful___ Chicken-users mailing list Chicken-users@nongnu.org

<    1   2   3   4   >