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

[patch] library name for +lua/dyn can't be retrieved

Expand Messages
  • Ken Takata
    Hi, Library name for +lua/dyn can t be retrieved properly on Ubuntu and Fedora (64 bit). The actual name is liblua5.1.so.0 on Ubuntu 12.04 and
    Message 1 of 3 , Apr 12 5:09 PM
    View Source
    • 0 Attachment
      Hi,

      Library name for +lua/dyn can't be retrieved properly on Ubuntu and Fedora
      (64 bit). The actual name is 'liblua5.1.so.0' on Ubuntu 12.04 and
      'liblua-5.1.so.0' on Fedora 17, but Vim tries to use 'liblua.so.5.1'.
      There were three problems:
      1. The configure script tried to search /usr/lib/, but the library could
      be placed on /usr/lib64/ or /usr/lib/x86_64-linux-gnu/ on 64-bit systems.
      2. For loops were not stopped properly and a variable was overwritten.
      3. 'liblua-{version}.so' was not searched.

      Attached patch fixes these problems.
      Tested on Ubuntu 12.04 64bit, 10.04 64bit and Cygwin.

      Best regards,
      Ken Takata

      --
      --
      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

      ---
      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Ken Takata
      Hi, ... I had a report from Hirohito Higashi that the previous patch didn t work well on Fedora 17. Here is an updated patch. Tested on Fedora 17 64bit,
      Message 2 of 3 , Apr 12 10:40 PM
      View Source
      • 0 Attachment
        Hi,

        2013/04/13 Sat 9:09:51 UTC+9 Ken Takata:
        >
        > Hi,
        >
        > Library name for +lua/dyn can't be retrieved properly on Ubuntu and Fedora
        > (64 bit). The actual name is 'liblua5.1.so.0' on Ubuntu 12.04 and
        > 'liblua-5.1.so.0' on Fedora 17, but Vim tries to use 'liblua.so.5.1'.
        > There were three problems:
        > 1. The configure script tried to search /usr/lib/, but the library could
        > be placed on /usr/lib64/ or /usr/lib/x86_64-linux-gnu/ on 64-bit systems.
        > 2. For loops were not stopped properly and a variable was overwritten.
        > 3. 'liblua-{version}.so' was not searched.
        >
        > Attached patch fixes these problems.
        > Tested on Ubuntu 12.04 64bit, 10.04 64bit and Cygwin.
        >
        > Best regards,
        > Ken Takata
        >

        I had a report from Hirohito Higashi that the previous patch
        didn't work well on Fedora 17. Here is an updated patch.
        Tested on Fedora 17 64bit, Ubuntu 12.04 64/32bit and Cygwin.

        Best regards,
        Ken Takata

        --
        --
        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

        ---
        You received this message because you are subscribed to the Google Groups "vim_dev" group.
        To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
        For more options, visit https://groups.google.com/groups/opt_out.
      • Bram Moolenaar
        ... Thanks, I ll add it to the todo list. -- hundred-and-one symptoms of being an internet addict: 162. You go outside and look for a brightness knob to turn
        Message 3 of 3 , Apr 13 2:18 AM
        View Source
        • 0 Attachment
          Ken Takata wrote:

          > Library name for +lua/dyn can't be retrieved properly on Ubuntu and Fedora
          > (64 bit). The actual name is 'liblua5.1.so.0' on Ubuntu 12.04 and
          > 'liblua-5.1.so.0' on Fedora 17, but Vim tries to use 'liblua.so.5.1'.
          > There were three problems:
          > 1. The configure script tried to search /usr/lib/, but the library could
          > be placed on /usr/lib64/ or /usr/lib/x86_64-linux-gnu/ on 64-bit systems.
          > 2. For loops were not stopped properly and a variable was overwritten.
          > 3. 'liblua-{version}.so' was not searched.
          >
          > Attached patch fixes these problems.
          > Tested on Ubuntu 12.04 64bit, 10.04 64bit and Cygwin.

          Thanks, I'll add it to the todo list.

          --
          hundred-and-one symptoms of being an internet addict:
          162. You go outside and look for a brightness knob to turn down the sun.

          /// 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_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

          ---
          You received this message because you are subscribed to the Google Groups "vim_dev" group.
          To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
          For more options, visit https://groups.google.com/groups/opt_out.
        Your message has been successfully submitted and would be delivered to recipients shortly.