kuasar-io / kuasar

A multi-sandbox container runtime that provides cloud-native, all-scenario multiple sandbox container solutions.
https://kuasar.io
Apache License 2.0
1.27k stars 91 forks source link

Can't install containerd #117

Closed LijieZhang1998 closed 4 months ago

LijieZhang1998 commented 8 months ago

What happened?

I got error when I installed containerd make install

+ install bin/ctr bin/containerd bin/containerd-stress bin/containerd-shim bin/containerd-shim-runc-v1 bin/containerd-shim-runc-v2
install: cannot stat 'bin/ctr': No such file or directory
install: cannot stat 'bin/containerd': No such file or directory
install: cannot stat 'bin/containerd-stress': No such file or directory
install: cannot stat 'bin/containerd-shim': No such file or directory
install: cannot stat 'bin/containerd-shim-runc-v1': No such file or directory
install: cannot stat 'bin/containerd-shim-runc-v2': No such file or directory
make: *** [Makefile:420: install] Error 1

Here is the output of make. I'm not sure if anything is missing.


Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  make-doc
The following NEW packages will be installed:
  make
0 upgraded, 1 newly installed, 0 to remove and 39 not upgraded.
Need to get 180 kB of archives.
After this operation, 426 kB of additional disk space will be used.
Get:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu jammy/main amd64 make amd64 4.3-4.1build1 [180 kB]
Fetched 180 kB in 0s (10.6 MB/s)
Selecting previously unselected package make.
(Reading database ... 64801 files and directories currently installed.)
Preparing to unpack .../make_4.3-4.1build1_amd64.deb ...
Unpacking make (4.3-4.1build1) ...
Setting up make (4.3-4.1build1) ...
Processing triggers for man-db (2.10.2-1) ...
Scanning processes...
Scanning processor microcode...
Scanning linux images...

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.

### What did you expect to happen?

The installation succeeds.

### How can we reproduce it (as minimally and precisely as possible)?

I followed the [instruction](https://github.com/kuasar-io/kuasar/blob/main/docs/containerd.md#building-and-installing-containerd). 

### Anything else we need to know?

_No response_

### Dev environment

_No response_
Burning1020 commented 8 months ago

@LijieZhang1998 Hi, it seems that you didn't have make command so it was installed as the output showed. And you should run make command again to build binaries.