Fix: Make makefile:31 Error 127 (GCC)

# make

cc -Wall  shc.c -o shc
make: cc: No such file or directory
make: *** [makefile:31: shc] Error 127


The 127 error shows up when a command is not found, in my case, as you can see the cc command is not found, so we need to get the gcc package installed on my Ubuntu Linux.

# apt install gcc

Once I installed gcc the error was fixed.

Fixed - make error 127

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail:

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap