chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Problem with (require-for-syntax srfi-40)


From: felix
Subject: Re: [Chicken-users] Problem with (require-for-syntax srfi-40)
Date: Tue, 11 May 2004 00:38:07 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

Alejandro Forero Cuervo wrote:
Hi.

I'm  having  a  problem using  (require-for-syntax  srfi-40).   I
downloaded and installed  the srfi-40 egg from the  web site with
chicken-setup.  If I (require-for-syntax srfi-40) through csi, it
works correctly and I can create lazy streams.

chicken-setup shows the following:


the registry pathname is /mnt/matrix/stow/chicken-1.33/lib/chicken/REGISTRY

Installed extensions:

srfi-40 [syntax] (srfi-40 base)


However, when I  try to run a compiled program  that requires it,
it fails:


$ touch test.scm && csc -R srfi-40 test.scm && ./test
Error: (require) can not find required extension: (srfi-40 base)

##sys#require


I noticed that I can do (require '(srfi-40 base)) through csi but
running a  compiled program  with such  sentence fails  (with the
same error as above).

What am I doing wrong?  How can  I compile a unit that depends on
srfi-40?


Very strange. If you put (require-for-syntax 'srfi-40) at the start
of test.scm, does it work then?


cheers,
felix




reply via email to

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