On Fri, 2009-03-06 at 06:31 -0800, yhara wrote:
> > That's the current web page.  The current checkout URL is:
> >
> > http://bazaar.launchpad.net/~ikarus-libraries-team/ikarus-libraries/srfi
> >
> Thanks for your information. Checkout from the url was successfully
> done.
> 
> Some SRFIs (srfi-1,2,6,8,11,16,31,38,39,41,48) looks working, but
> loading
> others (srfi-0,9,13,14,19,23,26,27,42,43,61,67,78) results in an
> error
> like this:
> 
>   $ cat 27.scm
>   (import (rnrs) (srfi :27))
>   (display "27") (newline)

That program works for me.

>   $ ikarus --r6rs-script 27.scm
>   Unhandled exception:
>    Condition components:
>      1. &who: for
>      2. &message: "invalid import spec"
>      3. &syntax:
>          form: (for (srfi private include compat) expand)
>          subform: #f

What version of Ikarus are you using?

> The environmental variable IKARUS_LIBRARY_PATH is set to
> /Users/yhara/research/r_6rs/ikarus
> and the directory I ran the checkout command is:
> /Users/yhara/research/r_6rs/ikarus/srfi
> 
> Is some more commands are needed to install the SRFI libraries?

All that should be required is having the "srfi" directory in a
directory configured to be a root for searching.  It looks like your
search paths are configured correctly because you say some of the (srfi
---) libraries are importable, and the exception you're getting can only
happen if a library importing (for (srfi private include compat) expand)
has already been found.  I suspect you're using a version of Ikarus
before it was updated to allow the (for --- expand) import syntax.  I
suggest using the latest version:

$ bzr checkout --lightweight lp:ikarus
$ cd ikarus
$ ./configure --prefix=$SOMEWHERE --enable-libffi
# ... snipped ...
$ make install
# ... snipped ...
$ 

[If that doesn't work, try again without --enable-libffi.  If that
doesn't work, tell us.]

And stay up-to-date via:

$ cd ikarus
$ bzr update
$ make install

And you can subscribe to:

https://code.launchpad.net/~aghuloum/ikarus/ikarus.dev

to be automatically notified of updates to the branch.

-- 
: Derick
----------------------------------------------------------------

Reply via email to