Задать вопрос
@nihi1ist

Чего не хватает при сборке neovim?

Получаю ошибку при сборке Neovim 0.8.0:
Текст ошибки
cd build && tail -v -n \+0 CMakeFiles/CMakeError.log
==> CMakeFiles/CMakeError.log <==
Determining if the function kstat_lookup exists in the kstat failed with the following output:
Change Dir: /home/nihi1ist/.src/neovim/0.8.0/neovim-0.8.0/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_9e23f && [1/2] Building C object CMakeFiles/cmTC_9e23f.dir/CheckFunctionExists.c.o
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
[2/2] Linking C executable cmTC_9e23f
FAILED: cmTC_9e23f 
: && /usr/bin/cc -g -O2 -ffile-prefix-map=/home/nihi1ist/.src/neovim/0.8.0/neovim-0.8.0=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=1 -DDISABLE_LOG -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=1 -DCHECK_FUNCTION_EXISTS=kstat_lookup -O2 -DNDEBUG -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -Wl,--no-undefined CMakeFiles/cmTC_9e23f.dir/CheckFunctionExists.c.o -o cmTC_9e23f -L/home/nihi1ist/.src/neovim/0.8.0/neovim-0.8.0/build/CMakeFiles/CMakeTmp/kstat.h -Wl,-rpath,/home/nihi1ist/.src/neovim/0.8.0/neovim-0.8.0/build/CMakeFiles/CMakeTmp/kstat.h  -lkstat && :
/usr/bin/ld: невозможно найти -lkstat: Нет такого файла или каталога
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.



Determining if the function kvm_open exists in the kvm failed with the following output:
Change Dir: /home/nihi1ist/.src/neovim/0.8.0/neovim-0.8.0/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_576e4 && [1/2] Building C object CMakeFiles/cmTC_576e4.dir/CheckFunctionExists.c.o
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
[2/2] Linking C executable cmTC_576e4
FAILED: cmTC_576e4 
: && /usr/bin/cc -g -O2 -ffile-prefix-map=/home/nihi1ist/.src/neovim/0.8.0/neovim-0.8.0=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=1 -DDISABLE_LOG -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=1 -DCHECK_FUNCTION_EXISTS=kvm_open -O2 -DNDEBUG -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -Wl,--no-undefined CMakeFiles/cmTC_576e4.dir/CheckFunctionExists.c.o -o cmTC_576e4 -L/home/nihi1ist/.src/neovim/0.8.0/neovim-0.8.0/build/CMakeFiles/CMakeTmp/kvm.h -Wl,-rpath,/home/nihi1ist/.src/neovim/0.8.0/neovim-0.8.0/build/CMakeFiles/CMakeTmp/kvm.h  -lkvm && :
/usr/bin/ld: невозможно найти -lkvm: Нет такого файла или каталога
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.



Determining if the function perfstat_cpu exists in the perfstat failed with the following output:
Change Dir: /home/nihi1ist/.src/neovim/0.8.0/neovim-0.8.0/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_ce1f8 && [1/2] Building C object CMakeFiles/cmTC_ce1f8.dir/CheckFunctionExists.c.o
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
[2/2] Linking C executable cmTC_ce1f8
FAILED: cmTC_ce1f8 
: && /usr/bin/cc -g -O2 -ffile-prefix-map=/home/nihi1ist/.src/neovim/0.8.0/neovim-0.8.0=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=1 -DDISABLE_LOG -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=1 -DCHECK_FUNCTION_EXISTS=perfstat_cpu -O2 -DNDEBUG -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -Wl,--no-undefined CMakeFiles/cmTC_ce1f8.dir/CheckFunctionExists.c.o -o cmTC_ce1f8 -L/home/nihi1ist/.src/neovim/0.8.0/neovim-0.8.0/build/CMakeFiles/CMakeTmp/libperfstat.h -Wl,-rpath,/home/nihi1ist/.src/neovim/0.8.0/neovim-0.8.0/build/CMakeFiles/CMakeTmp/libperfstat.h  -lperfstat && :
/usr/bin/ld: невозможно найти -lperfstat: Нет такого файла или каталога
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.



Determining if the function sendfile exists in the sendfile failed with the following output:
Change Dir: /home/nihi1ist/.src/neovim/0.8.0/neovim-0.8.0/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_599ff && [1/2] Building C object CMakeFiles/cmTC_599ff.dir/CheckFunctionExists.c.o
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
[2/2] Linking C executable cmTC_599ff
FAILED: cmTC_599ff 
: && /usr/bin/cc -g -O2 -ffile-prefix-map=/home/nihi1ist/.src/neovim/0.8.0/neovim-0.8.0=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=1 -DDISABLE_LOG -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=1 -DCHECK_FUNCTION_EXISTS=sendfile -O2 -DNDEBUG -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -Wl,--no-undefined CMakeFiles/cmTC_599ff.dir/CheckFunctionExists.c.o -o cmTC_599ff  -lsendfile && :
/usr/bin/ld: невозможно найти -lsendfile: Нет такого файла или каталога
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.



dh_auto_configure: error: cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUSTED_OUTPUT_TYPE=nvim -DPREFER_LUA=OFF -DLIBLUV_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/lua/5.1/luv.so -DLIBLUV_INCLUDE_DIR:PATH=/usr/include/lua5.1 -DCOMPILE_LUA=OFF .. returned exit code 1
make[1]: *** [debian/rules:63: override_dh_auto_configure] Ошибка 255
make[1]: выход из каталога «/home/nihi1ist/.src/neovim/0.8.0/neovim-0.8.0»
make: *** [debian/rules:60: binary] Ошибка 2

Не нашел ничего на эту пакетов с таким именем или файлами с таким именем. Чего не хватает для сборки?
  • Вопрос задан
  • 73 просмотра
Подписаться 1 Простой Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы