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

building vim with perl support

Expand Messages
  • Charles E Campbell Jr
    Hello! I recently got a 64-bit computer; it has perl supported. However, the configure script doesn t appear to be picking up on the location of the header
    Message 1 of 1 , May 31 10:11 AM
    • 0 Attachment
      Hello!

      I recently got a 64-bit computer; it has perl supported. However, the
      configure script doesn't appear to be picking up on the location of the
      header files: (there were about 100 error messages)

      /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/EXTERN.h
      /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/perl.h
      /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/XSUB.h
      (etc)

      I then modified vim's Makefile to use
      -I/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE in GUI_INC_LOC;
      this cleaned up many compiler errors, but I'm now getting

      /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/proto.h:509:
      error: expected declaration specifiers or ‘...’ before ‘off64_t’
      /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/proto.h:514:
      error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
      ‘Perl_do_sysseek’
      /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/proto.h:517:
      error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
      ‘Perl_do_tell’
      /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/proto.h:4248:
      error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
      ‘Perl_PerlIO_tell’
      /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/proto.h:4249:
      error: expected declaration specifiers or ‘...’ before ‘off64_t’

      Simply including /usr/include/sys/types.h doesn't fix this (that file is
      where the typedef for off64_t is). I've tried various other things, but
      still end up with the same set of error messages.

      Any suggestions?

      Regards,
      Chip Campbell


      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.