Solved

Where the Heck is the Make Command?

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
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.

832 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