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

Re: vim +perl etc. on OS X

Expand Messages
  • Bram Moolenaar
    ... Juan Fuentes suggested that it should work fine without threads and with the newer thread system, but not with Perl 5.5 threads. Later Perl versions can
    Message 1 of 17 , Jan 17, 2004
    • 0 Attachment
      Aron Griffis wrote:

      > I just tested. I have perl-5.8.2 installed and I'm testing 6.2.140
      > (with a workaround to allow threaded perl). I get the following output:

      Juan Fuentes suggested that it should work fine without threads and with
      the newer thread system, but not with Perl 5.5 threads. Later Perl
      versions can still be build with the 5.5 threads.

      I now have the following configure check for Perl threads. Please try
      this with various versions of Perl.


      *** ../vim-6.2.181/src/auto/configure Mon Dec 29 21:00:25 2003
      --- src/auto/configure Sat Jan 17 12:49:31 2004
      ***************
      *** 1570,1579 ****

      if test "X$vi_cv_path_perl" != "X"; then
      echo $ac_n "checking Perl version""... $ac_c" 1>&6
      ! echo "configure:1480: checking Perl version" >&5
      if $vi_cv_path_perl -e 'require 5.003_01' >/dev/null 2>/dev/null; then
      eval `$vi_cv_path_perl -V:usethreads`
      if test "X$usethreads" = "XUNKNOWN" -o "X$usethreads" = "Xundef"; then
      echo "$ac_t""OK" 1>&6
      eval `$vi_cv_path_perl -V:shrpenv`
      if test "X$shrpenv" = "XUNKNOWN"; then # pre 5.003_04
      --- 1570,1595 ----

      if test "X$vi_cv_path_perl" != "X"; then
      echo $ac_n "checking Perl version""... $ac_c" 1>&6
      ! echo "configure:1574: checking Perl version" >&5
      if $vi_cv_path_perl -e 'require 5.003_01' >/dev/null 2>/dev/null; then
      eval `$vi_cv_path_perl -V:usethreads`
      if test "X$usethreads" = "XUNKNOWN" -o "X$usethreads" = "Xundef"; then
      + badthreads=no
      + else
      + if $vi_cv_path_perl -e 'require 5.6.0' >/dev/null 2>/dev/null; then
      + eval `$vi_cv_path_perl -V:use5005threads`
      + if test "X$use5005threads" = "XUNKNOWN" -o "X$use5005threads" = "Xundef"; then
      + badthreads=no
      + else
      + badthreads=yes
      + echo "$ac_t"">>> Perl > 5.6 with 5.5 threads cannot be used <<<" 1>&6
      + fi
      + else
      + badthreads=yes
      + echo "$ac_t"">>> Perl 5.5 with threads cannot be used <<<" 1>&6
      + fi
      + fi
      + if test $badthreads = no; then
      echo "$ac_t""OK" 1>&6
      eval `$vi_cv_path_perl -V:shrpenv`
      if test "X$shrpenv" = "XUNKNOWN"; then # pre 5.003_04
      ***************
      *** 1602,1609 ****
      #define FEAT_PERL 1
      EOF

      - else
      - echo "$ac_t"">>> Perl with threads cannot be used <<<" 1>&6
      fi
      else
      echo "$ac_t"">>> too old; need Perl version 5.003_01 or later <<<" 1>&6
      --- 1618,1623 ----

      --
      FATHER: Who are you?
      PRINCE: I'm ... your son ...
      FATHER: Not you.
      LAUNCELOT: I'm ... er ... Sir Launcelot, sir.
      "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
      \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
    Your message has been successfully submitted and would be delivered to recipients shortly.