Jump to content

Установка kesl на Ubuntu 22.04.1


Go to solution Solved by Demiad,

Recommended Posts

Пытаюсь установить kesl_11.2.0-4528_amd64.deb на Ubuntu 22.04.1 посредством команды

apt-get install ./kesl_11.2.0-4528_amd64.deb
 

Уже экспериментальным путём понял, что ему нужен bison и flex - их уже установил.

Сейчас падает на компиляции компонента ядра (если правильно понимаю):

root@ecs-9b51:~# apt-get install ./kesl_11.2.0-4528_amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'kesl' instead of './kesl_11.2.0-4528_amd64.deb'
kesl is already the newest version (11.2.0-4528).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up kesl (11.2.0-4528) ...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Debian bookworm/sid
checking for linux kernel sources... /lib/modules/5.15.0-53-generic/build
checking for linux kernel version file... /lib/modules/5.15.0-53-generic/build/include/generated/utsrelease.h
checking for linux kernel version... 5.15
checking for arch_ptrace... found, address 0xffffffff8c851d30
checking for access_process_vm... found, address 0xffffffff8cafe380
checking for __ptrace_link... found, address 0xffffffff8c8ccb20
checking for __ptrace_unlink... found, address 0xffffffff8c8ccb90
checking for get_empty_filp... found, address 0
checking for release_open_intent... found, address 0
checking for sys_call_table... found, address 0xffffffff8da00300
checking for kstrdup... found, address 0xffffffff8cad61e0
checking whether dentry.d_child is available... no
checking whether struct inode_operations have rename2... no
checking whether defined function 'kernel_dequeue_signal'... no
checking whether struct inode_operations have dentry_open... no
checking whether __ptrace_link uses task cred struct as a third argument... no
checking whether inode_operations->rename() have 5 arguments... no
configure: creating ./config.status
config.status: creating redirfs/Makefile
config.status: creating Makefile
config.status: creating kavmon.h
config.status: creating osdef.h
config.status: creating module.linux/Makefile
Making link in redirfs
make[1]: Entering directory '/var/opt/kaspersky/kesl/11.2.0.4528_1668599007/opt/kaspersky/kesl/src/kernel/redirfs'
make -C /lib/modules/5.15.0-53-generic/build SUBDIRS=/var/opt/kaspersky/kesl/11.2.0.4528_1668599007/opt/kaspersky/kesl/src/kernel/redirfs modules
make[2]: Entering directory '/usr/src/linux-headers-5.15.0-53-generic'
make[3]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/include/generated/uapi/asm/unistd_32.h'.  Stop.
make[2]: *** [arch/x86/Makefile:217: archheaders] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.15.0-53-generic'
make[1]: *** [Makefile:16: redirfs_build] Error 2
make[1]: Leaving directory '/var/opt/kaspersky/kesl/11.2.0.4528_1668599007/opt/kaspersky/kesl/src/kernel/redirfs'
make: *** [Makefile:5: all] Error 1

kesl.postinst: ERROR: failed to build kernel module.

dpkg: error processing package kesl (--configure):
 installed kesl package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 kesl
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

Прошу уточнить, что необходимо ещё поставить, чтобы установка kesl прошла успешно.

Link to comment
Share on other sites

4 часа назад, KhAN2 сказал:
make[3]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/include/generated/uapi/asm/unistd_32.h'.  Stop.
make[2]: *** [arch/x86/Makefile:217: archheaders] Error 2

Ищет какие-то 32х-разрядные API, а в "Ubuntu" вроде как вообще от "32 bit" давно отказались.

Могу конечно и ошибаться.

А вообще интересно, впервые вижу, что бы под "Ubuntu" какие-то модули при установке "KES" компилировались, понимаю там "Gentoo"/ "Calculate".

Link to comment
Share on other sites

Тем не менее инсталлер каспера пытается что-то компильнуть.

До этого этим же deb пакетом всё прекрасно ставилось на Ubuntu 20, а вот на Ubuntu 22 - не ставится, пытается компилировать.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...