Solved

Where the Heck is the Make Command?

Posted on 2000-04-27
3
173 Views
Last Modified: 2013-11-13
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
Comment
Question by:Solaris042700
3 Comments
 
LVL 2

Expert Comment

by:modulus
ID: 2757642
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
 
LVL 2

Expert Comment

by:fremsley
ID: 2758674
maybe make is not in the path because it was installed in some unusual directory.

  find / -name make
0
 

Accepted Solution

by:
joweilee earned 50 total points
ID: 2765696
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question