cpulimit icon indicating copy to clipboard operation
cpulimit copied to clipboard

May I ask how to solve this error ?

Open yoyosscn opened this issue 3 years ago • 1 comments

[root@ip-172-31-33-94 cpulimit-master]# make cd src && make all make[1]: Entering directory /root/cpulimit-master/src' cc -c list.c -Wall -g -D_GNU_SOURCE make[1]: cc: Command not found make[1]: *** [list.o] Error 127 make[1]: Leaving directory /root/cpulimit-master/src' make: *** [all] Error 2

yoyosscn avatar Mar 05 '21 12:03 yoyosscn

You need to install build tools, like make glibc-devel gcc patch etc.

You can also install it using brew, which is easier:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install cpulimit

Sarke avatar Mar 09 '21 00:03 Sarke