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

34832Re: problem using vim & perl 5.8.0

Expand Messages
  • Joergen Haegg
    Nov 28, 2002
    • 0 Attachment
      In message <845FCFF2D4C0FC468B485E8777C7A00C13F58A@...>
      you write:
      >> I'm trying to use perl in vim, but after upgrading to perl 5.8.0
      >> vim dies.
      >>
      >> I'm using vim version 6.1.206, running linux (Debian)
      >> and perl 5.8.0.
      >>
      >> Any ideas?
      >>
      >
      > You have vim compiled with perl 5.6.1, and it is not binary compatible with
      > perl580. You need to recompile vim and when you will be using option +perl
      > you must be sure that your build process will be configured with correct
      > version of perl.

      I'm sorry, but it still dies. Here is a log over the configuration stage:

      make clean make[1]: Entering directory `/tmp/vim-6.1.206' Starting make in the
      src directory. If there are problems, cd to the src directory and run make
      there cd src && make clean make[2]: Entering directory `/tmp/vim-6.1.206/src'
      rm -f testdir/*.out testdir/test.log rm -f *.o objects/* core vim.core vim
      xxd/*.o rm -f xxd/xxd auto/osdef.h auto/pathdef.c auto/if_perl.c rm -f
      conftest* *~ auto/link.sed if test -d po; then \ cd po; make prefix=/usr clean;
      \ fi make[3]: Entering directory `/tmp/vim-6.1.206/src/po' rm -f core core.*
      *.old.po *.mo *.pot sjiscorr make[3]: Leaving directory
      `/tmp/vim-6.1.206/src/po' make[2]: Leaving directory `/tmp/vim-6.1.206/src'
      make[1]: Leaving directory `/tmp/vim-6.1.206' CFLAGS="-g -O2 -DFEAT_LANGMAP
      -DFEAT_KEYMAP -DFEAT_SIGNS -DFEAT_RIGHTLEFT" ./configure --prefix=/usr
      --mandir='${prefix}'/share/man --enable-multibyte --with-compiledby="Wichert
      Akkerman <wichert@...>" --enable-gpm --enable-cscope --with-x
      --enable-gui=gtk --enable-xim --enable-fontset --enable-perlinterp loading
      cache auto/config.cache checking whether make sets ${MAKE}... (cached) yes
      checking for gcc... (cached) gcc checking whether the C compiler (gcc -g -O2
      -DFEAT_LANGMAP -DFEAT_KEYMAP -DFEAT_SIGNS -DFEAT_RIGHTLEFT ) works... yes
      checking whether the C compiler (gcc -g -O2 -DFEAT_LANGMAP -DFEAT_KEYMAP
      -DFEAT_SIGNS -DFEAT_RIGHTLEFT ) is a cross-compiler... no checking whether we
      are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes
      checking how to run the C preprocessor... (cached) gcc -E checking for
      POSIXized ISC... no checking for mawk... (cached) mawk checking for strip...
      (cached) strip checking for Cygwin environment... (cached) no checking for
      mingw32 environment... (cached) no checking for executable suffix... (cached)
      no checking for buggy tools
      - sh is 'GNU bash, version 2.05b.0(1)-release (i386-pc-linux-gnu) Copyright (C)
      2002 Free Software Foundation, Inc.' - probably OK.
      - sed is 'GNU sed version 3.02

      Copyright (C) 1998 Free Software Foundation, Inc. This is free software; see
      the source for copying conditions. There is NO warranty; not even for
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, to the extent permitted by
      law.'. checking for BeOS... no checking for QNX... no checking --with-vim-name
      argument... Defaulting to vim checking --with-ex-name argument... Defaulting to
      ex checking --with-view-name argument... Defaulting to view checking
      --with-global-runtime argument... no checking --with-modified-by argument... no
      checking if character set is EBCDIC... no checking --with-features argument...
      Defaulting to normal checking --with-compiledby argument... Wichert Akkerman
      <wichert@...> checking --enable-perlinterp argument... yes
      checking for perl... /usr/local/bin/perl checking Perl version... OK checking
      --enable-pythoninterp argument... no checking --enable-tclinterp argument... no
      checking --enable-rubyinterp argument... no checking --enable-cscope
      argument... yes checking --enable-workshop argument... no checking
      --enable-sniff argument... no checking --enable-multibyte argument... yes
      checking --enable-hangulinput argument... no checking --enable-xim argument...
      yes checking --enable-fontset argument... yes checking for xmkmf... (cached)
      /usr/X11R6/bin/xmkmf checking for X... (cached) libraries /usr/X11R6/lib,
      headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... (cached) no
      checking for dnet_ntoa in -ldnet_stub... (cached) no checking for
      gethostbyname... (cached) yes checking for connect... (cached) yes checking for
      remove... (cached) yes checking for shmat... (cached) yes checking for
      IceConnectionNumber in -lICE... (cached) yes checking if X11 header files can
      be found... yes checking for _XdmcpAuthDoIt in -lXdmcp... (cached) yes checking
      for IceOpenConnection in -lICE... (cached) yes checking for
      XpmCreatePixmapFromData in -lXpm... (cached) yes checking if X11 header files
      implicitly declare return values... no checking --enable-gui argument... GTK
      GUI support checking --with-gtk-prefix argument... no checking
      --with-gtk-exec-prefix argument... no checking --disable-gtktest argument...
      gtk test enabled checking for gtk-config... (cached) /usr/local/bin/gtk-config
      checking for GTK - version >= 1.1.16... yes checking for X11/xpm.h... (cached)
      yes checking for X11/Sunkeysym.h... (cached) yes checking for XIMText in
      X11/Xlib.h... yes checking quality of toupper... good checking whether __DATE__
      and __TIME__ work... yes checking for elf.h... (cached) yes checking for main
      in -lelf... (cached) no checking for dirent.h that defines DIR... (cached) yes
      checking for opendir in -ldir... (cached) no checking for ANSI C header
      files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible...
      (cached) yes checking for stdlib.h... (cached) yes checking for string.h...
      (cached) yes checking for sys/select.h... (cached) yes checking for
      sys/utsname.h... (cached) yes checking for termcap.h... (cached) yes checking
      for fcntl.h... (cached) yes checking for sgtty.h... (cached) yes checking for
      sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking
      for termio.h... (cached) yes checking for iconv.h... (cached) yes checking for
      langinfo.h... (cached) yes checking for unistd.h... (cached) yes checking for
      stropts.h... (cached) yes checking for errno.h... (cached) yes checking for
      strings.h... (cached) yes checking for sys/resource.h... (cached) yes checking
      for sys/systeminfo.h... (cached) no checking for locale.h... (cached) yes
      checking for sys/stream.h... (cached) no checking for sys/ptem.h... (cached) no
      checking for termios.h... (cached) yes checking for libc.h... (cached) no
      checking for sys/statfs.h... (cached) yes checking for poll.h... (cached) yes
      checking for sys/poll.h... (cached) yes checking for pwd.h... (cached) yes
      checking for utime.h... (cached) yes checking for sys/param.h... (cached) yes
      checking for libintl.h... (cached) yes checking for libgen.h... (cached) yes
      checking for util/debug.h... (cached) no checking for util/msg18n.h... (cached)
      no checking for frame.h... (cached) no checking for sys/acl.h... (cached) no
      checking for sys/access.h... (cached) no checking for sys/sysctl.h... (cached)
      yes checking for sys/sysinfo.h... (cached) yes checking if strings.h can be
      included after string.h... yes checking whether gcc needs -traditional...
      (cached) no checking for working const... (cached) yes checking for mode_t...
      (cached) yes checking for off_t... (cached) yes checking for pid_t... (cached)
      yes checking for size_t... (cached) yes checking for uid_t in sys/types.h...
      (cached) yes checking whether time.h and sys/time.h may both be included...
      (cached) yes checking for ino_t... (cached) yes checking for dev_t... (cached)
      yes checking for rlim_t... (cached) yes checking for stack_t... (cached) yes
      checking whether stack_t has an ss_base field... no checking --with-tlib
      argument... automatic terminal library selection checking for tgetent in
      -lncurses... (cached) yes checking whether we talk terminfo... yes -- terminfo
      spoken here checking whether termcap.h contains ospeed... yes checking whether
      termcap.h contains UP, BC and PC... yes checking whether tputs() uses
      outfuntype... no checking whether sys/select.h and sys/time.h may both be
      included... yes checking for /dev/ptc... no checking for SVR4 ptys... yes
      checking for ptyranges... abcdepqrstuvwxyz / 0123456789abcdef checking default
      tty permissions/group... can't determine - assume ptys are world accessable
      checking return type of signal handlers... (cached) void checking for struct
      sigcontext... yes checking getcwd implementation... it is usable checking for
      bcmp... (cached) yes checking for fchdir... (cached) yes checking for fchown...
      (cached) yes checking for fseeko... (cached) yes checking for fsync... (cached)
      yes checking for ftello... (cached) yes checking for getcwd... (cached) yes
      checking for getpseudotty... (cached) no checking for getpwnam... (cached) yes
      checking for getpwuid... (cached) yes checking for getrlimit... (cached) yes
      checking for gettimeofday... (cached) yes checking for getwd... (cached) yes
      checking for lstat... (cached) yes checking for memcmp... (cached) yes checking
      for memset... (cached) yes checking for nanosleep... (cached) yes checking for
      opendir... (cached) yes checking for putenv... (cached) yes checking for
      qsort... (cached) yes checking for readlink... (cached) yes checking for
      select... (cached) yes checking for setenv... (cached) yes checking for
      setpgid... (cached) yes checking for setsid... (cached) yes checking for
      sigaltstack... (cached) yes checking for sigstack... (cached) yes checking for
      sigset... (cached) yes checking for sigsetjmp... (cached) no checking for
      sigaction... (cached) yes checking for sigvec... (cached) yes checking for
      strcasecmp... (cached) yes checking for strerror... (cached) yes checking for
      strftime... (cached) yes checking for stricmp... (cached) no checking for
      strncasecmp... (cached) yes checking for strnicmp... (cached) no checking for
      strpbrk... (cached) yes checking for strtol... (cached) yes checking for
      tgetent... (cached) yes checking for usleep... (cached) yes checking for
      utime... (cached) yes checking for utimes... (cached) yes checking for
      st_blksize... yes checking whether stat() ignores a trailing slash... no
      checking for iconv_open()... yes checking for nl_langinfo(CODESET)... yes
      checking for acl_get_file in -lposix1e... (cached) no checking for acl_get_file
      in -lacl... (cached) no checking for POSIX ACL support... no checking for
      Solaris ACL support... no checking for AIX ACL support... no checking
      --disable-gpm argument... no checking for gpm... (cached) yes checking for
      rename... yes checking for sysctl... not usable checking for sysinfo... yes
      checking for sysconf... yes checking size of int... (cached) 4 checking whether
      memmove/bcopy/memcpy handle overlaps... memmove does checking whether X_LOCALE
      needed... no checking for _xpg4_setrunelocale in -lxpg4... (cached) no checking
      how to create tags... ctags checking how to run man with a section nr... man
      checking --disable-nls argument... no checking for msgfmt... (cached) msgfmt
      checking for NLS... gettext() works checking for bind_textdomain_codeset...
      (cached) yes checking for _nl_msg_cat_cntr... yes checking for dlfcn.h...
      (cached) yes checking for dlopen()... no checking for dlopen() in -ldl... yes
      checking for dlsym()... yes checking for setjmp.h... (cached) yes updating
      cache auto/config.cache creating auto/config.status creating auto/config.mk
      creating auto/config.h make make[1]: Entering directory `/tmp/vim-6.1.206'
      Starting make in the src directory. If there are problems, cd to the src
      directory and run make there cd src && make first make[2]: Entering directory
      `/tmp/vim-6.1.206/src' CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK
      -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
      -I/usr/X11R6/include -g -O2 -DFEAT_LANGMAP -DFEAT_KEYMAP -DFEAT_SIGNS
      -DFEAT_RIGHTLEFT -I/usr/X11R6/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN
      -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
      -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8.0/CORE " srcdir=. sh ./osdef.sh
      gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-1.2
      -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2
      -DFEAT_LANGMAP -DFEAT_KEYMAP -DFEAT_SIGNS -DFEAT_RIGHTLEFT
      -I/usr/X11R6/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing
      -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
      -I/usr/lib/perl/5.8.0/CORE -o objects/buffer.o buffer.c

      [deleted]

      gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-1.2
      -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2
      -DFEAT_LANGMAP -DFEAT_KEYMAP -DFEAT_SIGNS -DFEAT_RIGHTLEFT
      -I/usr/X11R6/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing
      -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
      -I/usr/lib/perl/5.8.0/CORE version.c -o objects/version.o gcc
      -L/usr/X11R6/lib -rdynamic -L/usr/local/lib -o vim objects/buffer.o
      objects/charset.o objects/diff.o objects/digraph.o objects/edit.o
      objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o
      objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o
      objects/if_cscope.o objects/if_xcmdsrv.o objects/main.o objects/mark.o
      objects/memfile.o objects/memline.o objects/menu.o objects/message.o
      objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o
      objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o
      objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o
      objects/syntax.o objects/tag.o objects/term.o objects/ui.o objects/undo.o
      objects/window.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o
      objects/pty.o objects/gui_gtk_f.o objects/if_perl.o objects/if_perlsfio.o
      objects/version.o -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule
      -lglib -ldl -lXi -lXext -lX11 -lm -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM
      -lICE -lncurses -lgpm -ldl -rdynamic -L/usr/local/lib
      /usr/lib/perl/5.8.0/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8.0/CORE
      -lperl -ldl -lm -lpthread -lcrypt link.sh: OK, linking works, let's try
      removing a few libraries.
    • Show all 6 messages in this topic