[slim-vim] Getting started

Brad Beveridge brad.beveridge at gmail.com
Tue Aug 8 22:36:11 CDT 2006


On 08/08/06, Ben <benbelly at gmail.com> wrote:
> I'm interested in installing, using, and possibly contributing to
> slim-vim.  I'm not getting off to a good start.  I'm installing on
> gentoo.  I have ecl0.9i installed already.  I pulled down the slim-vim
> source from http://theclapp.org/repos/vim70+async+ecl/.
>
> I ran configure with --enable-eclinterp, but when I build I get
> errors.  First off, if_ecl.c includes "ecl/ecl.h", but can't find it.
> The include path has /usr/lib/ecl/h, and ecl.h is there.  Does the
> non-ebuild (gentoo's install thing) have a /usr/lib/ecl/h/ecl
> directory that if_ecl.c is expecting?  Should install a second ecl?
>
> Anyway, I pulled the ecl out of the path, and now I get:
> gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -g -O2
> -Dlinux -I/usr/lib/ecl/h   -I/usr/lib/ruby/1.8/i686-linux  -o
> objects/if_ecl.o if_ecl.c
> if_ecl.c: In function `intern_vim':
> if_ecl.c:152: warning: passing arg 2 of `cl_intern' makes pointer from
> integer without a cast
> if_ecl.c: In function `string_to_line':
> if_ecl.c:157: error: union has no member named `base_string'
> if_ecl.c:158: error: union has no member named `base_string'
> if_ecl.c:158: error: union has no member named `base_string'
> if_ecl.c:159: error: union has no member named `base_string'
>
>
> I looked at the definition for cl_lispunion, and it doesn't include a
> base_string member.  Do I need a special version of ecl?
>
Hi Ben, welcome to Slim-vim.  You won't be able to just take the ecl.h
out of the sources :)
Can you run ecl-config --cflags?  It ought to produce a directory that
./ecl/ecl.h will be in
When you compile vim, try with the command
CFLAGS=`ecl-config --cflags` ./configure --enable-eclinterp

Good luck!
Brad


More information about the slim-vim mailing list