Loading ...
Sorry, an error occurred while loading the content.

vim with scheme interp

Expand Messages
  • Nicolas Weber
    Hi, I want to build vim (vim-7.0f03) with --enable-mzschemeinterp. I installed DrScheme, it installs to /Applications/PLT Scheme v301 (with spaces!). Now I ran
    Message 1 of 1 , May 5, 2006
    • 0 Attachment
      Hi,

      I want to build vim (vim-7.0f03) with --enable-mzschemeinterp. I
      installed DrScheme, it installs to /Applications/PLT Scheme v301
      (with spaces!).

      Now I ran
      export PLTHOME=/Applications/PLT\ Scheme\ v301/
      ./configure --enable-pythoninterp --enable-mzschemeinterp --enable-
      perlinterp --enable-rubyinterp --enable-cscope --enable-tclinterp

      This gave
      checking PLTHOME environment var... "/Applications/PLT Scheme v301/"
      checking if scheme.h can be found in /Applications/PLT Scheme v301//
      include... auto/configure: line 3827: test: too many arguments
      "no"

      I changed line 3830 of src/auto/configure from
      if test -f $vi_cv_path_mzscheme_pfx/include/scheme.h; then
      to
      if test -f "$vi_cv_path_mzscheme_pfx/include/scheme.h"; then

      Now configure completed successfully. But running make gives
      Starting make in the src directory.
      If there are problems, cd to the src directory and run make there
      cd src && make first
      CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC -fno-common -fpascal-
      strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -pipe -I. -Iproto
      -DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -I/
      Applications/PLT Scheme v301//include -DMZSCHEME_COLLECTS='"/
      Applications/PLT Scheme v301//collects"' -g -pipe -DPERL_DARWIN -no-
      cpp-precomp -fno-strict-aliasing -I/usr/local/include -I/System/
      Library/Perl/5.8.6/darwin-thread-multi-2level/CORE -I/System/Library/
      Frameworks/Python.framework/Versions/2.3/include/python2.3 -I/System/
      Library/Frameworks/Tcl.framework/Headers -D_REENTRANT=1 -
      D_THREAD_SAFE=1 -I/usr/lib/ruby/1.8/powerpc-darwin8.0 " srcdir=.
      sh ./osdef.sh
      /bin/sh: line 1: Scheme: command not found

      Now, I understand why this doesn't work (The " that starts to quote
      the DMZSCHEME path ends the CC=" part), but I don't know how to fix
      this.

      Ideas?

      Thanks,
      Nico
    Your message has been successfully submitted and would be delivered to recipients shortly.