• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 178
  • Last Modified:

Where the Heck is the Make Command?

I am currently running Linux-Mandrake 6.5
Several of the HOW-TO's involving the installation of Hardware, such as the SBLive! and a PP3 Zip drive call for a "Make" command, but the system replies that that command does not exist.
What should I do?
0
Solaris042700
Asked:
Solaris042700
1 Solution
 
modulusCommented:
There is a "make" command.  Note the lower case of the first letter.  If you're typing this and it's still not working then the rest of this post applies.  If you're typing it with a capital M then try a lower case.




There are two possible answers:
1. You have no make on your system
2. It's there but you path doesn't include the directory it's in.

First,  type
which make

does it report:
/usr/bin/make

or anything else with make at the end of it? If not then you have not installed the make program (wow!).  To deal with this then you need to install the rpm (either from the CDROM or download it)
make-3.77-6.i386.rpm.
To install it use:
rpm -Uvh make-3.77-6.i386.rpm

If it does report something about make then it may be that your path (the list of places searched for programs) is screwed up.  Type:
echo $PATH

does it report something like:
/usr/local/bin:/bin:/usr/bin:/usr/local/

If it doesn't then that's where the problem lies.  You can then either laboriously type in the absolute pathname that was reported by "which make" every time you want to use it:
/usr/bin/make or you can set up your path correctly.  To do the latter you need to use a text editor to edit your /etc/profile file to include the line:
PATH="$PATH:/usr/local/:usr/local/bin:/usr/bin:/usr/sbin"

I have to say though, that if this isn't set up already and you're just installing the system something has gone wrong!  It would be weird if your basic environment weren't set up correctly.
0
 
fremsleyCommented:
maybe make is not in the path because it was installed in some unusual directory.

  find / -name make
0
 
joweileeCommented:
type at a console:
which make
and that should tell you where make is.

If you're using make, be sure to be in the directory where you configuration files are, or else it won't have anything to make.

Give me points,
Jowei
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now