Closed soufianeEL closed 2 years ago
I also get a similar error on Ubuntu 20.04 AWS Lightsail instance:
ubuntu@ip-172-26-0-245:/usr/local/bin/massdns$ makemkdir -p bincc -DMASSDNS_REVISION=\"v1.0.0-59-g59c18ae\" -O3 -std=c11 -DHAVE_EPOLL -DHAVE_SYSINFO -Wall -fstack-protector-strong src/main.c -o bin/massdnsmake: cc: Command not foundmake: *** [Makefile:6: all] Error 127
The CentOS issue is fixed by a5a17668c05b2485e9e1b25abf4d2eb0f7a773c0 as described in https://github.com/blechschmidt/massdns/issues/127#issuecomment-1073249014.
Regarding Ubuntu, it looks like the build-essential
package, in particular gcc
, is not installed. Please make sure that cc
points to your C compiler, e.g. by checking which cc
.
why i get that error when i'm trying to compile source ? could you please help me ?``