Thursday, November 28, 2013

Re: Unable to compile Vim with support for lisp

On Thursday, November 28, 2013 2:40:40 PM UTC-2, Sergey Khorev wrote:
> Ed,
>  
> checking for mzscheme... (cached) /usr/local/bin/mzscheme
>
> checking MzScheme install prefix... (cached) /home/ed/racket
>
>
>
>
> These too lines look suspicious. Apparently you have two different versions of MzScheme/Racket installed and this confuses the configure script.

Hi, Serguey.

I tried to install vim+mzscheme in a brand new machine. First, I checked that there was not scheme installed:

ed@mi ~/edt $ sudo updatedb
[sudo] password for ed:
Sorry, try again.
[sudo] password for ed:
ed@mi ~ $ locate racket

ed@mi ~/edt $ locate racket

Then I downloaded Racket:

ed@mi ~/edt $ wget http://download.racket-lang.org/\
installers/5.3.6/racket/racket-5.3.6-bin-i386-linux-f12.sh

...snip
Saving to: 'racket-5.3.6-bin-i386-linux-f12.sh'
100%[==============>] 80.959.315 635KB/s in 2m 26s

2013-11-28 17:21:50 (543 KB/s) -
'racket-5.3.6-bin-i386-linux-f12.sh' saved [80959315/80959315]

... and installed it:

ed@mi ~/edt $ sudo sh racket-5.3.6-bin-i386-linux-f12.sh
[sudo] password for ed:
This program will extract and install Racket v5.3.6.
... snip

Where do you want to install the "racket" directory tree?
1 - /usr/racket [default]
2 - /usr/local/racket
3 - ~/racket (/home/ed/racket)
4 - ./racket (here)
Or enter a different "racket" directory to install in.
> 3
If you want to install etc.
...snip
(default: skip links) > /usr/local


Next step: Install mercurial.

ed@mi ~/edt $ sudo apt-get install mercurial
... snip
Creating config file /etc/mercurial/hgrc.d/hgext.rc

ed@mi ~/edt $ hg clone https://vim.googlecode.com/hg/ vim

ed@mi ~/edt $ cd vim
ed@mi ~/edt/vim $ ./configure --enable-mzschemeinterp

As you can see below, I get the same result as before:

checking for mzscheme... /usr/local/bin/mzscheme
checking MzScheme install prefix... /home/ed/racket
checking if scheme.h can be found in /home/ed/racket/include... yes
checking for racket collects directory... /home/ed/racket/
checking for mzscheme_base.c... needed
checking for ffi_type_void in -lffi... no
checking if compile and link flags for MzScheme are sane... no: MZSCHEME DISABLED



--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: