Skip to main content

Questions tagged [compile-vim]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
42 views

Compile error due to being unable to find ncurses library when compiling in MSYS2 environment

I am trying to compile Vim from source with Ruby support for the command-t plugin in an MSYS2 environment (using the UCRT64 shell). So I followed the instructions of the Vim website and used git to ...
I Like Python's user avatar
0 votes
1 answer
51 views

How do I read this output from `vim --version`?

I'm not sure how to interpret vim --version output; what do the various components mean? Here's an example: VIM - Vi IMproved 9.1 (2024 Jan 02, compiled May 03 2024 02:45:42) Included patches: 1-16 ...
rwen's user avatar
  • 1
0 votes
0 answers
31 views

Compile Neovim failed for "unprotected error in call to Lua API (26)"

Run make CMAKE_BUILD_TYPE=RelWithDebInfo got following errors: With little knowledge of lua, I have no idea how to solve this... touch build/.ran-cmake ninja -C build ninja: Entering directory `build'...
tangxindan's user avatar
3 votes
1 answer
619 views

Compiling VIM from source with Python3 enabled not working after upstream image rolled from Python 3.9 to 3.10

I have a standard development environment I build via scripts in Github Codespaces to work on projects that come up. Up until recently, I had been compiling vim from source to upgrade the VIM 8 that ...
Demaratus's user avatar
2 votes
1 answer
70 views

Why is my Vim build failing on WSL?

I'm running Ubuntu 20.04.4 under WSL2 on Windows 11. I've cloned https://github.com/vim/vim.git in the environment. (The latest commit is tagged as v9.0.0260.) When I go to the directory and do this .....
Denizen's user avatar
  • 41
0 votes
0 answers
41 views

Building from source ,perl ruby lua and python support are not activating, why?

Here are the things I have : The configure snippet I am using : ./configure --with-features=huge --enable-rubyinterp=yes --with-ruby-command=/usr/bin/ruby ---enable-pythoninterp=yes --with-python-...
unixbhaskar's user avatar
0 votes
0 answers
533 views

Building gvim inside WSL 2 Ubuntu

Details of what already exists inside WSL 2 Ubuntu 20.04 inside Microsot Windows 11: $ vi --version VIM - Vi IMproved 8.1 (2018 May 18, compiled Feb 01 2022 09:16:32) Included patches: 1-2269, 3612, ...
user1823664's user avatar
0 votes
0 answers
41 views

gvim menus are too big

Many compiler, install module, gyrations later, I was finally able to get vim with the gui to compile and execute. However, the menus, both at the top of the main screen, and the pull down menus are ...
ktom's user avatar
  • 1
1 vote
1 answer
342 views

vim broken after python update (error while loading shared libraries: libpython3.9.so.1.0)

I built vim from source with option --enable-python3interp. But after a system wide update (pop-os / ubuntu 21 to 22.04), python went from 3.9 to 3.10 and I suppose this is what broke my vim: $vim vim:...
calocedrus's user avatar
1 vote
2 answers
111 views

What may be causing build from source to *NOT* respect my ./configure options?

I recently upgraded from Unbuntu 18.x to 20.x and I'm trying to compile vim with the following features: +lua +python +python3 +ruby but I haven't been able to get it to go through. Looking through ...
Spectator6's user avatar
0 votes
1 answer
165 views

How can I compile Vim without requiring libsodium?

I have a limited OS, and compiling vim. How to disable libsodium lib? I installed libsodium18 and libsodium-dev and libsodium-dbg, but I get the following errors: error: '...
PersianGulf's user avatar
1 vote
1 answer
1k views

vimtex: how to switch latex engine dynamically

I now use vimtex to edit my latex source files. Usually, I use the xelatex engine. So I have the following line at the beginning of my .tex file. % !TeX program = xelatex Sometimes I need to switch ...
jiaopjie's user avatar
  • 113
0 votes
1 answer
47 views

Building: --disable-statusline is unrecognized option

I want to improve Gentoo ebuild. I tried :helpgrep statusline. In the future, how can I get all possible build flags about features in :version?
Vitaly Zdanevich's user avatar
1 vote
1 answer
100 views

Building: cannot disable ipv6: "unrecognized option"

My full configure is: ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --...
Vitaly Zdanevich's user avatar
3 votes
1 answer
291 views

GUI support will not compile in latest from github

I'm using CentOS 7.5. I just did a git pull in my clone of the vim repo to the latest: last tag v8.2.2340. I'm trying to compile. No matter what I do, it will not compile for the GUI (which it's ...
Andrew Falanga's user avatar
1 vote
2 answers
307 views

`:make` not echoing output to the command line

I have a simple makefile as follow: all: A.cpp g++ -o A.exe A.cpp .\A In A.cpp, #include <iostream> using namespace std; int main() { cout << "Hello World!\n" <&...
Y.T.'s user avatar
  • 113
3 votes
1 answer
1k views

enable '+python3' failed

I try to compile vim from source. First I do ./configure --with-features=huge \ --enable-multibyte \ --enable-python3interp=yes \ --with-python3-command=/usr/bin/...
ZhiyuanLck's user avatar
1 vote
0 answers
994 views

Building vim with GTK on ubuntu

I am interested in building vim from source. The configure script is not detecting that I have gtk3 (dev) installed, and the only gui vim it builds is Athena. The non-gui portion of vim builds OK. I ...
Paperclip Bob's user avatar
0 votes
2 answers
2k views

Vim command to open zathura immediately after a latex compile?

I have the following line in my nvim configuration file: map <leader>c :w! \| !compiler <c-r>%<CR>\| !zathura $(echo %:r".pdf") && disown<CR><CR> The ...
mtheorylord's user avatar
1 vote
1 answer
1k views

Syntax in autocmd command to compile and run cpp code

From this post here: https://stackoverflow.com/questions/540721/compile-directly-from-vim One of the answer is: autocmd filetype cpp nnoremap <F4> :!g++ % -ggdb -o %:r <CR> autocmd ...
mle0312's user avatar
  • 341
1 vote
1 answer
113 views

Cannot read output of ./a.out

My current keybinding for compiling cpp files is: autocmd filetype cpp nnoremap <F2> :!g++ -g %<CR>:!./a.out<CR> When I press F2, vim escapes to the shell and a.out executes well ...
Manas Singh's user avatar
3 votes
2 answers
6k views

The :python command doesn't work - E319: Sorry, the command is not available in this version

I am trying to use Python in vim, but it doesn't work despite vim having the +python3 option. :python print("hello") gives E319: Sorry, the command is not available in this version Question: How ...
MiniMax's user avatar
  • 197
2 votes
1 answer
133 views

How to have two different makefile mapped to two different keys?

I am using F5 to compile my programs From my .vimrc set makeprg=make\ -f\ ~/makefile\ %< noremap <F5> :make<CR> But I want to add one other way to compile my programs which compiles a ...
kayush's user avatar
  • 147
0 votes
1 answer
35 views

How to compile startuptime for ver 8?

When I try using vim --startuptime myfile, it reports it is not compiled in. There seems to be no instructions on how to compile in startuptime. I have tried adding --enable-startuptime to the ...
oldunixguy's user avatar
0 votes
1 answer
104 views

How can I delete or ignore a test when compiling vim?

I am compiling vim under Arch linux and it is failing the test "test_netbeans.vim" even though I did not ask for netbeans to be enabled for the build. I tried editing the shared.vim file and removing ...
Tyler Durden's user avatar
  • 2,131
0 votes
1 answer
58 views

Where are the compile options documented with the actual switches?

If I look in the documentation for Vim, it lists the compilable features, but: this list shows the feature as the help output, not how the feature is actually configured during the build. For example, ...
Tyler Durden's user avatar
  • 2,131
3 votes
2 answers
3k views

Compiling Vim with python3 showing E370: Could not load library libpython3.7m.a

I have been trying to compile Vim with python3 on my Mac for many hours, as a result, it looks fine now, as the following: VIM - Vi IMproved 8.1 (2018 May 18, compiled Dec 9 2018 00:37:54) macOS ...
Songcheng Li's user avatar
0 votes
1 answer
216 views

How to compare two different Vim installs?

Basically, I want to compare which features were enabled when each installation of Vim was compiled. If there's also other significant differences between the two installations, besides their feature-...
ma11hew28's user avatar
  • 203
1 vote
1 answer
1k views

How to install the latest version of Vim on macOS?

I'd use Homebrew to install Vim on macOS, with brew install vim, but the Homebrew Formula for Vim seems to install many additional features that I don't need. For example, while I do plan on using Vim ...
ma11hew28's user avatar
  • 203
0 votes
1 answer
333 views

Python integration not working as usual

I am compiling Vim on Linux (18.04 Ubuntu) on a new environment and I am experiencing an issue with a lot of my vimrc configuration, which has some inline python logic. Basically the python code just ...
Steven Lu's user avatar
  • 2,281
2 votes
1 answer
4k views

How to build vim GUI version with GTK

I pulled all the source files, and then ran the following command to configure and tried to build vim with GUI support: /configure --enable-gui=auto Here is some more information: checking --enable-...
Coeus Wang's user avatar
2 votes
1 answer
3k views

Compile vim with python3 support in Windows

I'm used to Ubuntu and know how to compile and edit vim. But how can i compile vim with python3 support on windows ? Prefer to do it from the terminal. But i don't mind if i need to do it with miniGW ...
An0n's user avatar
  • 129
2 votes
2 answers
6k views

Unable to uninstall VIM installed from source

I installed VIM by compiling from source a while back following the instructions here. At that time, for some reason, I didn't use checkinstall, as a result I can't uninstall it using sudo apt-get ...
alpha_989's user avatar
  • 901
0 votes
1 answer
656 views

How to compile vim for user only and use git to track it?

How can I compile vim for my user only so set source path to /home/user/ ? And how can I track changes with git. Basically I want to build and compile vim from source, and store it on my github repo....
An0n's user avatar
  • 129