[slim-vim] thanks, feedback

Larry Clapp larry at theclapp.org
Fri Aug 11 05:13:06 CDT 2006


On Thu, Aug 10, 2006 at 08:53:12PM +0100, Serafeim Zanikolas wrote:
> First of all, thanks a lot for the slim-vim effort! I've discovered
> lisp relatively recently and decent vim support was quite a barrier
> for me.

Glad you like it!  Welcome to the project!

> A couple of issues related to building vim:
> 
> - had to chmod +x the following files:
> /configure
> /src/mkinstalldirs
> /src/configure
> /src/auto/configure

I took a look at my tarball, and sure enough, those files aren't
executable.  I fixed that.[1]  If you're using "darcs get", you need
to make sure you pass the --set-scripts-executable flag, e.g.

  darcs get --set-scripts-executable \
    http://theclapp.org/repos/vim70+async+ecl

> - export LC_ALL=C (changing only LC_NUMERIC  didn't work for me)

Bummer.  I didn't have to fiddle with my LC_* options at all, so this
is news to me.

> Another thing is that "ecl-config --libs" seems to output
> /usr/local/lib/ecl despite having been configured (and installed in)
> --prefix=/usr/local/ecl-0.9i, ie,
> 
> $ /usr/local/ecl-0.9i/bin/ecl-config --libs
> -Wl,--rpath,/usr/local/lib/ecl -L/usr/local/lib/ecl -lecl    -ldl  -lm
> 
> This is ecl's bug but it affects the built process. vim's
> configure/make silently ignore their failure to find ecl's libraries
> and build vim without ecl even when configured with
> --enable-eclinterp.

That's actually standard operating procedure for Vim's makefile for
all the other interps, too (iirc).  Configure checks to see if it can
build with the flags from ecl-config, and if it can't it disables ecl
in the makefile.

I can double check that that's s.o.p.; if it's not, I'll fix it.
Either way, perhaps I can make the failure more obvious.  (I'm the guy
that added autoconf support for ecl, but I just pulled a
monkey-see-monkey-do on the autoconf code for Python.  If anybody else
out there knows autoconf, please feel free to help out.)

-- Larry


[1] Just to document what I did:

  cd vim70+async+ecl
  darcs setpref predist "chmod +x $(echo $(find . -perm +0111 -type f))"

which runs the given chmod after it builds a new temporary tree but
before it tars it up.

The "find" expanded into 

  ./pixmaps/gen-inline-pixbufs.sh
  ./runtime/doc/vim2html.pl
  ./runtime/macros/less.sh
  ./runtime/tools/efm_perl.pl
  ./runtime/tools/ref
  ./runtime/tools/efm_filter.pl
  ./runtime/tools/mve.awk
  ./runtime/tools/pltags.pl
  ./runtime/tools/vimspell.sh
  ./runtime/tools/shtags.pl
  ./runtime/tools/vim132
  ./runtime/tools/vimm
  ./src/auto/configure
  ./src/configure
  ./src/installman.sh
  ./src/installml.sh
  ./src/link.sh
  ./src/mkinstalldirs
  ./src/osdef.sh
  ./src/pathdef.sh
  ./src/toolcheck
  ./src/vimtutor
  ./src/which.sh
  ./configure

According to the darcs manual, this preference setting should
propagate to other repositories the next time you do a pull.

-- L



More information about the slim-vim mailing list