Re: [Chicken-users] quick port question

2007-02-23 Thread Tony Sidaway
On 2/23/07, Peter Busser <[EMAIL PROTECTED]> wrote: Hi! > What is the recommended Scheme/Chicken way to run Unix/shell commands > and read their output? There is no standard Scheme way I think. But Chicken supports starting a program and reading the output from a pipe. I don't remember the func

Re: [Chicken-users] quick port question

2007-02-23 Thread Peter Busser
Hi! > What is the recommended Scheme/Chicken way to run Unix/shell commands > and read their output? There is no standard Scheme way I think. But Chicken supports starting a program and reading the output from a pipe. I don't remember the function right now, but you can find it in the Chicken man

[Chicken-users] quick port question

2007-02-23 Thread john
Hi. Are ports automatically closed when out of scope? For example, in something like this: (receive (in out pid) (process "/usr/bin/uptime") (read-string #f in)) What is the recommended Scheme/Chicken way to run Unix/shell commands and read their output? Cheers, John. __

Re: [Chicken-users] libffi & cmake

2007-02-23 Thread John Cowan
felix winkelmann scripsit: > John, could you try the current darcs head? I have > added a user option (WITHOUT_LIBFFI). I built and tested successfully both with and without, so my libffi seems to be working again, probably a result of the new drop of gcc 3.x.x. -- There is / One art

Re: [Chicken-users] MacOS X build trouble

2007-02-23 Thread Thomas Christian Chust
felix winkelmann wrote: > [...] > Ok, I have made some changes to static/CMakeLists.txt. Thomas, > could you try the current darcs head? > [...] Hello Felix, yes, that change avoids the linker issue. The current CHICKEN builds fine now and seems to work correctly like it always did :-) cu, Tho

[Chicken-users] Trouble with libraries on MacOS X

2007-02-23 Thread Thomas Christian Chust
Hello, I'm using CMake 2.4.6 on a PowerPC iBook running MacOS X 10.4.8 and I found some issues with building both shared and static libraries and with linking to static libraries using CMake. I have attached a very simple example project to this e-mail that can be used to demonstrate the problems

Re: [Chicken-users] libffi & cmake

2007-02-23 Thread Mario Domenech Goulart
On Fri, 23 Feb 2007 08:30:21 +0100 "felix winkelmann" <[EMAIL PROTECTED]> wrote: > John, could you try the current darcs head? I have > added a user option (WITHOUT_LIBFFI). Tried it on GNU/Linux with cmake 2.4-patch 5. It seems to be ok. Thanks. Best wishes, Mario _

Re: [Chicken-users] MacOS X build trouble

2007-02-23 Thread felix winkelmann
On 2/22/07, Thomas Christian Chust <[EMAIL PROTECTED]> wrote: Hello, the current CHICKEN darcs head fails to build on my PowerPC iBook running MacOS X 10.4.8. csc -version tells me the bootstrapping compiler is version 2.523 - macosx-unix-gnu-ppc - [ libffi dload ptables applyhook cmake ] and th

Re: [Chicken-users] MacOS X build trouble

2007-02-23 Thread felix winkelmann
On 2/23/07, Brandon J. Van Every <[EMAIL PROTECTED]> wrote: felix winkelmann wrote: > > Brandon: could I just conditionalize the sections in > static/CMakeLists.txt > that build/install ...-static? Would that be sufficient, or is there > something > else I have to take care of? Probably that's i

Re: [Chicken-users] MacOS X build trouble

2007-02-23 Thread Brandon J. Van Every
felix winkelmann wrote: Brandon: could I just conditionalize the sections in static/CMakeLists.txt that build/install ...-static? Would that be sufficient, or is there something else I have to take care of? Probably that's it. But for minimal invasiveness, I recommend you build as usual,