Irvin <[email protected]> writes: > Hi, > I'm new to ikarus and having trouble importing the srfi library. I > checked out the library into a directory in my IKARUS_LIBRARY_PATH > using > > sudo bzr checkout --lightweight > https://code.launchpad.net/~scheme-libraries-team/scheme-libraries/srfi > > but when I start ikarus and type (import (srfi lists)) I get the error > > Unhandled exception > Condition components: > 1. &error > 2. &who: expander > 3. &message: "cannot locate library in library-path" > 4. &library-resolution: > library: (srfi lists) > files: ("./srfi/lists/main.ikarus.sls" "./ .....directories > searched for here > This should be `(srfi :1 lists)', or `(srfi :1)'. If you still can't import using the correct library name, could you provide the exact value of IKARUS_LIBRARY_PATH, the directory you checked out the SRFI libraries into, and the *complete* error message?
> I've also tried putting the srfi directory into /usr/local/lib/ikarus. > It seems the problem is the files in the srfi directory are different > than what ikarus is looking for. Is there something I need to do > inside srfi like compiling the files? I tried ikarus > --compile-dependencies compile-all.ikarus.sps, but I got the error > > Unhandled exception: > Condition components: > 1. &who: cons* > 2. &message: "multiple definitions of identifier" > 3. &syntax: > form: cons* > subform: #f > 4. &trace: #<syntax cons*> > Are you using the latest Ikarus from bzr? I seem to remember that this happened to me with a not-totally-up-to-date Ikarus. Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>
