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

Using --enable-mzinterp doesn't work out of the box

Expand Messages
  • Eric Dobson
    I had trouble using enable-mzinterp out of the box (downloaded from the hg repo). These were the changes I had to make. I think someone should actually fix
    Message 1 of 3 , Dec 9, 2012
    • 0 Attachment
      I had trouble using enable-mzinterp out of the box (downloaded from the hg repo).

      These were the changes I had to make. I think someone should actually fix them up and get a patch in so that it works out of the box.

      diff -r 52bfa939fc07 src/auto/configure
      --- a/src/auto/configure        Thu Dec 06 21:30:29 2012 +0100
      +++ b/src/auto/configure        Sun Dec 09 15:27:55 2012 -0800
      @@ -4927,7 +4927,7 @@
       
         if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
           if test "x$MACOSX" = "xyes"; then
      -      MZSCHEME_LIBS="-framework PLT_MzScheme"
      +      MZSCHEME_LIBS="-framework Racket"
           elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.a"; then
             MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.a"
             MZSCHEME_CFLAGS="-DMZ_PRECISE_GC"
      @@ -4981,6 +4981,7 @@
       
           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mzscheme_base.c" >&5
       $as_echo_n "checking for mzscheme_base.c... " >&6; }
      +    MZSCHEME_EXTRA="mzscheme_base.c"
           if test -f "${SCHEME_COLLECTS}collects/scheme/base.ss" ; then
             MZSCHEME_EXTRA="mzscheme_base.c"
           else

      I also needed to put Racket.framework in /System/Library/Frameworks as vim was not looking in PLT_HOME/lib.

      --
      You received this message from the "vim_mac" 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
    • björn
      ... Yes, as it is I don t think it can be merged. If it is cleaned up so that it works without having to put frameworks into /Sys/Lib/Fwk etc. then I ll take
      Message 2 of 3 , Dec 11, 2012
      • 0 Attachment
        On Mon, Dec 10, 2012 at 12:29 AM, Eric Dobson wrote:
        I had trouble using enable-mzinterp out of the box (downloaded from the hg repo).

        These were the changes I had to make. I think someone should actually fix them up and get a patch in so that it works out of the box.

        Yes, as it is I don't think it can be merged.  If it is cleaned up so that it works without having to put frameworks into /Sys/Lib/Fwk etc. then I'll take a look at merging it.

        Björn

        --
        You received this message from the "vim_mac" 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
      • Bram Moolenaar
        ... I suspect we need to add some code to autoconf to handle the different path names. They probably differ on various versions of the OS, and perhaps
        Message 3 of 3 , Dec 11, 2012
        • 0 Attachment
          Eric Dobson wrote:

          > I had trouble using enable-mzinterp out of the box (downloaded from
          > the hg repo).
          >
          > These were the changes I had to make. I think someone should actually fix
          > them up and get a patch in so that it works out of the box.
          >
          > diff -r 52bfa939fc07 src/auto/configure
          > --- a/src/auto/configure Thu Dec 06 21:30:29 2012 +0100
          > +++ b/src/auto/configure Sun Dec 09 15:27:55 2012 -0800
          > @@ -4927,7 +4927,7 @@
          >
          > if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
          > if test "x$MACOSX" = "xyes"; then
          > - MZSCHEME_LIBS="-framework PLT_MzScheme"
          > + MZSCHEME_LIBS="-framework Racket"
          > elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.a"; then
          > MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.a"
          > MZSCHEME_CFLAGS="-DMZ_PRECISE_GC"
          > @@ -4981,6 +4981,7 @@
          >
          > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mzscheme_base.c"
          > >&5
          > $as_echo_n "checking for mzscheme_base.c... " >&6; }
          > + MZSCHEME_EXTRA="mzscheme_base.c"
          > if test -f "${SCHEME_COLLECTS}collects/scheme/base.ss" ; then
          > MZSCHEME_EXTRA="mzscheme_base.c"
          > else
          >
          > I also needed to put Racket.framework in /System/Library/Frameworks as vim
          > was not looking in PLT_HOME/lib.

          I suspect we need to add some code to autoconf to handle the different
          path names. They probably differ on various versions of the OS, and
          perhaps different installations of MzScheme.

          I would appreciate someone sending me a patch for that.

          --
          hundred-and-one symptoms of being an internet addict:
          137. You decide to stay in college for an additional year or two,
          just so you can have the free Internet access.

          /// Bram Moolenaar -- Bram@... -- 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_mac" 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
        Your message has been successfully submitted and would be delivered to recipients shortly.