chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] scgi doesn't compile for me


From: Thomas Chust
Subject: Re: [Chicken-users] scgi doesn't compile for me
Date: Sun, 4 Jun 2006 00:41:32 +0200

I'm reposting this, as it didn't make its way to the mailing list, apparently. The original problem it refers to seems to have been solved anyway, though...

--

On Thu, 1 Jun 2006, jbarciela jbarciela wrote:

[...]
I want to play with scgi and chicken on my laptop (Mac G4, OSX 10.4.6)
and I'm guetting errors trying to install the scgi egg. I installed
chicken using darwinports and I have no problems installing other
eggs.
[...]

Hello,

if you installed a standard distribution of CHICKEN, you may run into trouble compiling the egg, because I was very enthusiastic about a new compiler feature when I last packaged the egg and included certain command line switches which may still only be present in the developer version of CHICKEN that you can check out via darcs...

The good news is that those compiler switches are not strictly necessary, only extremely cool ;-) I would recommend you to edit the scgi.setup file in the scgi.egg.dir directory created by chicken-setup and to apply the following diff

--- old/scgi.setup      2006-05-06 01:31:16.000000000 +0200
+++ new/scgi.setup      2006-06-02 18:19:08.281250000 +0200
@@ -5,4 +5,4 @@
  (compile
-  -O2 -d0 -check-imports -s "scgi.scm"
-  -o ,so-file -emit-exports "scgi.exports")
+  -O2 -d0 -s "scgi.scm"
+  -o ,so-file)
  (install-extension

disabling the compile time checking for unbound variables. Then try to run chicken-setup on the egg again.

If you still have trouble with the installation, feel free to ask again. If everything else failed, I could even send you MacOS X binaries for that egg ;-)

cu,
Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]