<div dir="ltr"><div><div>Well, Juan, in fact there was some relevant stuff in the config.log in the auto folder. That was the only config.log I could find. Below you can find what I got. It seems that vim require two libraries available only to people who compiled Racket from sources. In any case, I inserted the libraries into racket/lib. This time configure worked well, but make did not. Here are the error that I got:<br>
<br>if_mzsch.c: In function ‘window_new’:<br>if_mzsch.c:1782:5: error: lvalue required as left operand of assignment<br>if_mzsch.c: In function ‘buffer_new’:<br>if_mzsch.c:2136:5: error: lvalue required as left operand of assignment<br>
make[1]: ** [objects/if_mzsch.o] Erro 1<br>make[1]: Saindo do diretório `/home/rosa/edt/vim/src'<br>make: ** [first] Erro 2<br>08:53 |~/edt/vim# cd src<br>08:57 |~/edt/vim/src# emacs if_mzsch.c &<br><br></div>Since I was not  able to compile Vim, I am using Emacs with flymake (I hope there is flymake in Vim). The lines in errors were flagged by flymake, and shown in red:<br>
<br><br>  MZ_GC_CHECK();
<br>    BUFFER_REF(buf) = self; <-- This line is red
<br>    MZ_GC_CHECK();
<br>    self->buf = buf;
<br>    self->so.type = mz_buffer_type;
<br>
<br>
<br>static Scheme_Object *
<br>window_new(win_T *win)
<br>{... etc.
<br>  
<br>    MZ_GC_CHECK();
<br>    WINDOW_REF(win) = self; <-- This line is red
<br>    MZ_GC_CHECK();
<br>    self->win = win;
<br>    self->so.type = mz_window_type;
<br>
<br><br> WINDOW_REF(win) = self;<br><br>BUFFER_REF(buf) = self;<br><br></div>Does it makes sense?<br><div><div><div><br><br>configure:5279: gcc -o conftest -g -O2  -DINCLUDE_MZSCHEME_BASE -I/home/rosa/racket/include       -DMZSCHEME_COLLECTS='"/home/rosa/racket/collects"'   -L/usr/local/lib conftest.c  -L/home/rosa/racket/lib -lmzscheme -lmzgc -Wl,-rpath -Wl,/home/rosa/racket/lib -lffi >&5<br>
/usr/bin/ld: cannot find -lmzscheme<br>/usr/bin/ld: cannot find -lmzgc<br>collect2: ld returned 1 exit status<br>configure:5279: $? = 1<br>configure: failed program was:<br>| /* confdefs.h */<br>| #define PACKAGE_NAME ""<br>
| #define PACKAGE_TARNAME ""<br>| #define PACKAGE_VERSION ""<br>| #define PACKAGE_STRING ""<br>| #define PACKAGE_BUGREPORT ""<br>| #define PACKAGE_URL ""<br>| #define UNIX 1<br>
| #define STDC_HEADERS 1<br>| #define HAVE_SYS_WAIT_H 1<br>| #define FEAT_NORMAL 1<br>| #define USE_XSMP_INTERACT 1<br>| /* end confdefs.h.  */<br>| <br>| int<br>| main ()<br>| {<br>| <br>|   ;<br>|   return 0;<br>| }<br>
<br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/29 Juan Francisco Cantero Hurtado <span dir="ltr"><<a href="mailto:iam@juanfra.info" target="_blank">iam@juanfra.info</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 11/28/13 23:58, Eduardo Costa wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I need a fast text editor, with outlines, and a fast lisp for performing<br>
textual search with a bit of semantics. The programs have both Scheme and<br>
Common Lisp versions. They are straightforward, in the sense that no<br>
esoteric Lisp resources are used. Vanilla flavor Lisp.<br>
<br>
The programs will be used by 40 or 50 people with little or no computer<br>
experience. However, these people can use the console (they are quite good<br>
at cp, rm, mkdir, etc.) and text editors, like Vim and Emacs.<br>
<br>
<br>
I was thinking about Vim compiled with Racket. However, I failed to compile<br>
Vim with Racket, and everybody else failed too. Here is what I did (and<br>
everybody else followed suit):<br>
<br>
./configure --enable-mzscheme<br>
<br>
checking for mzscheme... /usr/local/bin/mzscheme<br>
checking MzScheme install prefix... /home/rosa/racket<br>
checking if scheme.h can be found in /home/rosa/racket/include... yes<br>
checking for racket collects directory... /home/rosa/racket/<br>
checking for mzscheme_base.c... needed<br>
checking for ffi_type_void in -lffi... yes<br>
checking if compile and link flags for MzScheme are sane... no: MZSCHEME<br>
DISABLED<br>
<br>
I searched the Internet for mzscheme_base.c to no avail. It seems that the<br>
binding between Vim and mzscheme was developed by Serguey Khorev and<br>
Matthew Flatt. I will appreciate feedback on what I am doing wrong.<br>
<br>
</blockquote>
<br></div></div>
Search the file "config.log" within the vim source directory. This file will tell you what is the problem.<br>
<br>
<br>
____________________<br>
 Racket Users list:<br>
 <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/<u></u>users</a><br>
</blockquote></div><br></div>