Shougo / vimproc.vim

Interactive command execution in Vim.
1.08k stars 133 forks source link

vimproc not working on Acer C720 Chromebook: E364: Library call failed for "vp_pty_open()" #262

Open mike-pomodoro opened 8 years ago

mike-pomodoro commented 8 years ago

I've followed the vimproc install steps on a Ubuntu VM and it works fine, but the same install steps do not work on Chrome OS. It appears vimproc is not compatible with Chrome OS.

This fails on my Google Chrome OS Acer C720 laptop:

:VimProcBang pwd

With error:

E364: Library call failed for "vp_pty_open()"

And with error:

[vimproc] Your vimproc binary is not compatible with this vimproc!

The laptop is a Chromebook running this Chrome OS version:

Version 52.0.2743.85 (64-bit) Platform 8350.60.0 (Official Build) stable-channel peppy Firmware Google_Peppy.4389.93.0

The laptop's been put into Developer mode and Chromebrew has been installed to allow building and installing general Linux applications.

The Linux kernel installed on this laptop:

(env) chronos@localhost ~/.vim/bundle/vimproc.vim$ uname -a Linux localhost 3.8.11 #1 SMP Wed Jul 20 21:28:49 PDT 2016 x86_64 Intel(R) Celeron(R) 2957U @ 1.40GHz GenuineIntel GNU/Linux

VIM is version 7.4:

(env) chronos@localhost ~/.vim/bundle/vimproc.vim$ vim --version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jul 28 2016 23:21:04)

The error when executing:

:VimProcBang pwd

Error detected while processing function 70_vp_dlopen..70_libcall: line 1: dlerror = "/home/chronos/user/.vim/bundle/vimproc.vim/lib/vimproc_linux64.so: failed to map segment from shared object: Operation not permitted" E364: Library call failed for "vp_dlopen()" Error detected while processing function 70_vp_dlopen: line 1: E714: List required [vimproc] function vimproc#dll_version..70_libcall, line 1 [vimproc] Vim(let):dlerror = "/home/chronos/user/.vim/bundle/vimproc.vim/lib/vimproc_linux64.so: failed to map segment from shared object: Operation not permitted" [vimproc] Your vimproc binary is not compatible with this vimproc! [vimproc] Please re-compile it. Error detected while processing function vimproc#commands#bang..vimproc#pgroup open..70_pgroup_open..vimproc#plineopen3..70_plineopen..70_vp_pty _open..70_libcall: line 1: dlerror = "/home/chronos/user/.vim/bundle/vimproc.vim/lib/vimproc_linux64.so: failed to map segment from shared object: Operation not permitted" E364: Library call failed for "vp_pty_open()"

The vimproc_linux64.so file has been built:

(env) chronos@localhost ~/.vim/bundle/vimproc.vim$ ls -l lib/ total 36 -rwxr-xr-x 1 chronos chronos 28664 Jul 30 02:14 vimproc_linux64.so

Using this make command:

(env) chronos@localhost ~/.vim/bundle/vimproc.vim$ make make -f make_unix.mak make[1]: Entering directory /home/chronos/user/.vim/bundle/vimproc.vim' cc -W -O2 -Wall -Wno-unused -Wno-unused-parameter -std=gnu99 -pedantic -shared -fPIC -o lib/vimproc_linux64.so src/proc.c -lutil make[1]: Leaving directory/home/chronos/user/.vim/bundle/vimproc.vim'

The version of vimproc is:

Git commit b2255c66a3dc04fba1adbda3e380facff45fe6ec commit b2255c66a3dc04fba1adbda3e380facff45fe6ec Merge: c2f6b82 f28ee40 Author: Shougo Shougo.Matsu@gmail.com Date: Sun Jul 10 11:37:46 2016 +0900 Merge pull request #256 from rafalio/master Add vim plug to readme

Shougo commented 8 years ago

This environment is not supported. You can fix it!