|
From: | Dennis Marti |
Subject: | [Chicken-users] Re: 1.12 on MacOS X |
Date: | Mon, 30 Jun 2003 14:18:14 -0400 |
Brian Campbell asked:
Can anyone tell me what I need to do to fix this? Am I missing some other required package, or what?
Felix replied:
Googling around for this, I stumbled over several occurrences of this problem. Now, I don't have a 100% answer, so I recommend replacing the line extern char **environ; in posix.scm with char **environ;You won't be able to use `current-environment', though, but I guess thisis not really crucial. Anyway, this is just a crude hack to get you going. Note that I had reports that building the dynamically linked version of Chicken fails on Jaguar, a couple of months ago. So if this stilldoesn't work (depending on OS and libtool version), you should configureChicken with "--disable-shared".
I just built chicken 1.12 on OS X with the --disable-shared config option. I manually changed the optimization from O3 to O2 because I'm convinced that speeds up the compile (my Mac is getting old and slow, like it's owner). No other edits were required to get chicken to build; although the package 5 test case fails.
My environment: $ uname -vDarwin Kernel Version 6.6: Thu May 1 21:48:54 PDT 2003; root:xnu/xnu-344.34.obj~1/RELEASE_PPC
(That's 10.2.6) $ gcc --version gcc (GCC) 3.1 20020420 (prerelease) $ limit stacksize stacksize 8MBI'll look into these things more later. Right now I'm trying to finish up an entry for ICFP. Did anybody else on the list try it?
Dennis
[Prev in Thread] | Current Thread | [Next in Thread] |