Closed BatLev closed 6 months ago
Our CI runs Ubuntu, so it should work fine.
That said, RPi might have too little RAM to compile YCM. Try adding swap and also running YCM_CORES=1 ./install.py --tern-completer
.
Thank you for answering.could you be more specific? How can i add swap and where should i run this code? In vim or in terminal in the install.py-s folder or in the .vimrc? If it doesnt have enough ram to compile will it have enough to run it?
How can i add swap
Google is your friend. There's a few different ways and depends on your system.
where should i run this code?
On the command line.
If it doesnt have enough ram to compile will it have enough to run it?
That depends on the project you are trying to use YCM for, but 1GB can be quite small.
Thank you.
You made my day. Its so good to know that its a hardware problem and not a me problem
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
inside the brackets) before filing your issue:vim --version
.:YcmDebugInfo
.:YcmToggleLogs
command.vim -Nu /path/to/YCM/vimrc_ycm_minimal
, including what I expected to happen and what actually happened.install.py
(orcmake
/make
/ninja
) including its invocationThank you for adhering to this process! It ensures your issue is resolved quickly and that neither your nor our time is needlessly wasted.
Issue Details
Hello!
my situation is complicated. I am a beginer and i am pretty sure the problem is my setup but i cant find anithing that works
device: Raspberry pi 3 os: Raspberry pi os lite arm 64 bookworm plugin manager: vim-plug
vim version 9+ python version 3.11
What did you do? on a perfectly new install i did the followings:
sudo apt-get update sudo apt-get upgrade sudo apt install vim sudo apt install build-essential cmake vim-nox python3-dev sudo mkdir -p /etc/apt/keyrings curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_current.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list sudo apt install mono-complete golang nodejs openjdk-17-jdk openjdk-17-jre npm curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
here i edited my .vimrc:
call plug#begin()
Plug 'Valloric/YouCompleteMe', { 'do': './install.py --tern-completer' }
call plug#end
after that i opened vim and :PlugInstall
(from there i got the error that my ycm server shut down and it kept crushing when i did :YcmRestartServer)
here the installer stalled indefinitli
i tryed doing it manually with python3 install.py --all and --tern-completer with --verbose both stops on the task of making identifierutils.cpp.o interupting is my only chace here. i waited for a whole night and tried multiple times. nothing works
i hope its enough
i have done the same things on an ubuntu wsl and it worked perfectly. i think the os o the pi could be the problem.
thanks in advance