[slim-vim] progress - great!
Larry Clapp
larry at theclapp.org
Sat Jul 15 08:43:57 CDT 2006
On Sat, Jul 15, 2006 at 11:17:45AM +0300, Sampo Vuori wrote:
> > Here is a basic, off the top of my head guide though:
> > 1) Get Darcs from http://abridgegame.org/darcs/
> > 2) Get Vim+ECL and ecl-slime from here
> > http://wiki.alu.org/Slim-Vim-Repos
> > 3) Get ECL from http://ecls.sourceforge.net/
> I got the CVS-version of ECL.
>
> > 4) Compile ECL following the instructions on the home page
> > 5) Compile Vim+Async+ECL, on Darwin I configure with
> > ./configure --prefix=/opt/local --enable-eclinterp --disable-darwin
> > The important part is really the "--enable-eclinterp" part
>
> I got here, then the ran into problems. The first complaint was
> about ecl.h not found. I told configure where to find them
>
> CFLAGS=-I/path/to/ecl-sources/src/h
This should be
CFLAGS=-I/path/to/installed/ecl/files
e.g. on my machine:
CFLAGS=-I/usr/lib/ecl/ecl
Background: when Jim Bailey first linked Vim with ECL, the released
version of ECL (0.9h) put ecl.h in (I think) /usr/lib/ecl/ecl.h. CVS
quickly changed to putting it in /usr/lib/ecl/ecl/ecl.h. I ran the
CVS version & Jim ran the release version, so any changes one of us
made would break the other, so I lived with adding the above CFLAGS to
my configure line.
Now, though, ECL has released 0.9i, and we should update the Vim
repository to work with the released version.
> Then next compiler error was:
>
> if_ecl.c:160: error: 'union cl_lispunion' has no member named
> 'string'
>
> Looks like string is member of cl_lispunion only when ECL_UNICODE is
> defined, so I did a dirty trick and added #define ECL_UNICODE to
> src/if_ecl.c.
I'll look into this. I doubt that an executable built this way would
run. But you probably knew that. :)
> Next errors come from the linker:
> objects/if_ecl.o: In function `intern_vim':if_ecl.c:(.text+0x14):
> undefined reference to `make_string_copy'
I'll look at this too. make_string_copy is a valid ECL function in my
current copy. But I'm not even running 0.9i, much less current CVS.
-- Larry
More information about the slim-vim
mailing list