chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Metikit setup problem - chicken newbe


From: felix winkelmann
Subject: Re: [Chicken-users] Metikit setup problem - chicken newbe
Date: Thu, 18 Nov 2004 17:11:39 +0100

On Thu, 18 Nov 2004 09:57:13 -0600, Patrick Brannan
<address@hidden> wrote:
> I'm trying to set up metakit on Windows and am running into a problem.
> Was wondering if anyone had any ideas.
> 
> Some info:
> 
> I am using chicken-1.74.
> 
> I extracted the egg contents to its own directory. This approach has
> worked for other eggs.
> 
> The I run chicken-setup and here's what I get:
> 
> F:\scheme\chicken-1.74\eggs\metakit>chicken-setup metakit
>   F:\scheme\chicken-1.74\csc -c++ -s -O2 -d0 metakit-core.scm -C "-I
> /usr/local/include" -L "-lmk4 -L /usr/local/lib"
> Syntax error: (set!) in line 627 - identifier expected
> (set! (mk:value c (mk:row v r)) d)
> *** Shell command terminated with exit status 70:
> F:\scheme\chicken-1.74\chicken metakit-core.scm -output-file
> metakit-core.cpp -dynamic -feature chicken-compile-shared -quiet
> -ffi-define __cplusplus
> -optimize-level 2 -debug-level 0
> make: Failed to make metakit-core.so: shell invocation failed with
> non-zero return status
> Error: shell invocation failed with non-zero return status
> "F:\\scheme\\chicken-1.74\\csc -c++ -s -O2 -d0 metakit-core.scm -C
> \"-I /usr/lo...
> 70
> Error: shell invocation failed with non-zero return status
> "F:\\scheme\\chicken-1.74\\csc -c++ -s -O2 -d0 metakit-core.scm -C
> \"-I /usr/lo...
> 70

You have to install the SRFI-17 egg. But note that there seems
to be a bug in Microsoft compiler when compiling the srfi-17.egg
with optimizations (I tested this only with VC 6.0). If you get problems,
modify the setup-script for srfi-17 (srfi-17.setup) by removing the
"-O2" from the csc invocation for srfi-17-support.scm.

> 
> It does not seem that the -I /user/local/include or /usr/local/lib
> could possibly be correct on a windows box.
> 

No, but I think MSVC would normally just ignore them. You can
remove the relevant parts in metakit.setup, if you like.

Support for eggs and chicken-setup is somewhat preliminary
for native Windows platforms, so I apologize for any inconveniences.
Linux is still the main development platform.


cheers,
felix




reply via email to

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