Sergey Khorev wrote:

> > Yes, autoconf has run.  As I said, I don't see MZSCHEME_GENERATE_BASE
> > defined in the configure script anywhere.
> 
> I tested this on a fresh install of Ubuntu 12.10.
> Speaking of the error message, it specifically refers to MinGW because
> I wasn't able to write anything more or less automatic for MinGW. On
> Unix systems this is handled like below.
> 
> auto/configure:
> ---
>     if test -d $vi_cv_path_mzscheme_pfx/lib/plt/collects; then
>       SCHEME_COLLECTS=lib/plt/
>     else
>       if test -d $vi_cv_path_mzscheme_pfx/lib/racket/collects; then
>       SCHEME_COLLECTS=lib/racket/
>       else
>       if test -d $vi_cv_path_mzscheme_pfx/share/racket/collects; then
>         SCHEME_COLLECTS=share/racket/
>       fi
>       fi
>     fi
>     if test -f 
> "${vi_cv_path_mzscheme_pfx}/${SCHEME_COLLECTS}collects/scheme/base.ss"
> ; then
>       MZSCHEME_EXTRA="mzscheme_base.c"
>     else
>       if test -f
> "${vi_cv_path_mzscheme_pfx}/${SCHEME_COLLECTS}collects/scheme/base.rkt"
> ; then
>       MZSCHEME_EXTRA="mzscheme_base.c"
>       fi
>     fi
>     if test "X$MZSCHEME_EXTRA" != "X" ; then
>       dnl need to generate bytecode for MzScheme base
>       MZSCHEME_CFLAGS="${MZSCHEME_CFLAGS} -DINCLUDE_MZSCHEME_BASE"
>       MZSCHEME_MZC="${vi_cv_path_mzscheme_pfx}/bin/mzc"
>     fi
> ---
> 
> and then this code in Makefile is triggered with
> -DINCLUDE_MZSCHEME_BASE making it include mzscheme_base.c
> ---
> objects/if_mzsch.o: if_mzsch.c $(MZSCHEME_EXTRA)
>       $(CCC) -o $@ $(MZSCHEME_CFLAGS_EXTRA) if_mzsch.c
> 
> mzscheme_base.c:
>       $(MZSCHEME_MZC) --c-mods mzscheme_base.c ++lib scheme/base
> ---

Configure never defines INCLUDE_MZSCHEME_BASE, right?  Thus in this
code:

/* need to put it here for dynamic stuff to work */
#if defined(INCLUDE_MZSCHEME_BASE)
# include "mzscheme_base.c"
#elif MZSCHEME_VERSION_MAJOR >= 400
# error MzScheme 4.x must include mzscheme_base.c, for MinGW32 you need to 
define MZSCHEME_GENERATE_BASE=yes
#endif


When MZSCHEME_VERSION_MAJOR is 400 or larger, it will fail.

What MzScheme pacakge do you have installed?  I could not find anything
for "mzscheme" so I installed plt-scheme with racket, version 5.2.1

-- 
hundred-and-one symptoms of being an internet addict:
54. You start tilting your head sideways to smile. :-)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui