Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

May I ask how to solve this error ? #98

Open
yoyosscn opened this issue Mar 5, 2021 · 1 comment
Open

May I ask how to solve this error ? #98

yoyosscn opened this issue Mar 5, 2021 · 1 comment

Comments

@yoyosscn
Copy link

yoyosscn commented Mar 5, 2021

[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

@Sarke
Copy link

Sarke commented Mar 9, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants