Solved

Where the Heck is the Make Command?

Posted on 2000-04-27
3
174 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
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 how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

737 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