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

2012-02-16 Thread James Abbott
> > Assuming you installed it with make install ;) > I just did :-) It works now - no adding to path was needed. Thanks for the prompt replies everybody! Now, let the exorcism begin (I was taught Java at my University). Cheers, James On Thu, Feb 16, 2012 at 4:06 PM, Jim Ursetto wrote: > Assu

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: c

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

2012-02-16 Thread James Abbott
Jim & Toby: thanks for your help. My system doesn't seem to recognize the csi command: $ csi -s test.scm > -bash: csi: command not found > "csc -help" returns the same message. Seems like something needs to be added to the path for bash to pick it up? Cheers, James On Wed, Feb 15, 2012 at 7:1

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

2012-02-15 Thread Jim Ursetto
It's needed on most Core 2 Duos in 10.6 because they run a 32-bit kernel and 64-bit userspace, and Chicken's config-arch.sh just checks the kernel width. `uname -m` on those systems will show x86, but gcc builds x86-64. Later C2Ds (I believe) and all i3/i5/i7 run a 64-bit kernel by default. I

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

2012-02-15 Thread Jim Ursetto
OK, I need to update the docs to say the workaround is needed on 10.7 as well then. Thanks. Use 'csi -script myfile.scm' to run a .scm file at the command line, or 'csi' to enter the interpreter. On Feb 15, 2012, at 11:16 AM, James Abbott wrote: > Hi Jim,- > > running: > > make PLATFORM=ma

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

2012-02-15 Thread Kon Lovett
On Feb 15, 2012, at 7:21 AM, Jim Ursetto wrote: > Ok, then also add ARCH=x86-64 like you had originally. It was my understand > this wasn't needed on 10.6 or 10.7 Not needed in my experience. (Lion on a MacBook Pro). I use "make PLATFORM=macosx C_COMPILER=gcc-4.2" > and I thought I confirmed

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

2012-02-15 Thread James Abbott
Hi Jim,- running: > make PLATFORM=macosx C_COMPILER=gcc-4.2 PLATFORM=macosx ARCH=x86-64 > built the source. Output of uname -a: > Darwin james-abbotts-macbook.local 11.3.0 Darwin Kernel Version 11.3.0: > Thu Jan 12 18:48:32 PST 2012; root:xnu-1699.24.23~1/RELEASE_I386 i386 > Now, is there a

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

2012-02-15 Thread Jim Ursetto
Ok, then also add ARCH=x86-64 like you had originally. It was my understand this wasn't needed on 10.6 or 10.7 and I thought I confirmed that, but maybe not. Let me know if it works, and if so, what the output of `uname -a` on your system is. On Feb 15, 2012, at 2:49 AM, James Abbott wrote:

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

2012-02-15 Thread James Abbott
Hi all,- thanks for the replies. I have Xcode 4.1. So the "make PLATFORM=macosx C_COMPILER=gcc-4.2" command should work. However I get this message: make -f ./Makefile.macosx CONFIG= all > gcc-4.2 -c apply-hack.x86.S -o apply-hack.x86.o > apply-hack.x86.S:35:suffix or operands invalid for `call'

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

2012-02-14 Thread Jim Ursetto
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, at 19:23, Stephen Eilert wrote: > > On Tue, Feb 14, 2012 at 12:28 PM, Jim Ursetto wrote: > On Fe

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

2012-02-14 Thread Stephen Eilert
On Tue, Feb 14, 2012 at 12:28 PM, Jim Ursetto 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 u

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
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

[Chicken-users] Installing on Mac OS 10.7.3

2012-02-14 Thread James Abbott
Hi,- I recently discovered Chicken Scheme through a podcast pick ( http://rubyrogues.com/databases-sql-nosql/ - thanks, Aaron!). I had previously been searching for a Scheme implementation to run on a Mac, but Chicken didn't even show on the radar. Racket looks all right, but is slow - so I'm stoc