View Full Version : Problem about gmake not found
kelvin490
July 24th, 2011, 10:16 AM
I have a set of C program but when I use "make all" to compile, it goes:
/bin/sh: gmake: not found
Is it a path problem? Or do I need to install something?
Thanks for helping.
Bachstelze
July 24th, 2011, 10:43 AM
gmake is the name generally given to GNU make on non-GNU systems, because those systems generally have their own version of make, which works differently. Since Ubuntu is a GNU-based system, you should replace all occurrences of "gmake" in your script by just "make", or create a gmake symlink to make.
kelvin490
July 25th, 2011, 06:42 AM
gmake is the name generally given to GNU make on non-GNU systems, because those systems generally have their own version of make, which works differently. Since Ubuntu is a GNU-based system, you should replace all occurrences of "gmake" in your script by just "make", or create a gmake symlink to make.
Thanks, but how to create a symlink? Is it in the script?
Bachstelze
July 25th, 2011, 12:03 PM
cd /usr/bin
sudo ln -s make gmake
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.