Solved

Where the Heck is the Make Command?

Posted on 2000-04-27
3
170 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now