LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-18-2007, 04:12 PM   #1
jeromeb748
LQ Newbie
 
Registered: Jan 2007
Location: Paris, France
Distribution: Mandriva
Posts: 4

Rep: Reputation: 0
make is not in path


the "make" command in not in my path.
where is make ?
---
jerome ~/Desktop$ make
bash: make: command not found
---

Thank you
 
Old 01-18-2007, 04:28 PM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
The make utility is usually in /usr/bin.

If you did not install the development tools (or whatever your distribution calls them), you will need to do that. If you enter "cc --version" and hit the return key, you should get something much like:
Code:
cc --version
cc (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you don't, you don't have the development tools installed and need to do that; check your system documentation.
 
Old 01-18-2007, 04:34 PM   #3
jeromeb748
LQ Newbie
 
Registered: Jan 2007
Location: Paris, France
Distribution: Mandriva
Posts: 4

Original Poster
Rep: Reputation: 0
I have cc compiler but not make

Code:
jerome ~/Desktop$ cc --version
cc (GCC) 4.1.1 20060724 (prerelease) (4.1.1-3mdk)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Code:
jerome /usr/bin$ make
bash: make: command not found
Is there a package to install ?

Last edited by jeromeb748; 01-18-2007 at 04:37 PM.
 
Old 01-18-2007, 04:47 PM   #4
jeromeb748
LQ Newbie
 
Registered: Jan 2007
Location: Paris, France
Distribution: Mandriva
Posts: 4

Original Poster
Rep: Reputation: 0
ok, I just had to install the package "make-3.8-1mdv2007.0"
problem solved
 
Old 01-18-2007, 05:08 PM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
There may well be, now the question is where to find it. Do you know, for certain, that the development tools were installed (they don't by default in some distributions)? If not, you will need to install them from your distribution media, read through the instructions that came with your distribution. For example, if you're using SUSE, you would add the development tools with YaST (sorry, I do not know how to do that as I do not use SUSE or any other RPM-based distribution).

You might, as root, see if the make utility is installed in some odd place; find / -name 'make' -print will find it. If that doesn't turn anything up, it's not installed any you need to do that.
 
Old 01-18-2007, 05:41 PM   #6
jeromeb748
LQ Newbie
 
Registered: Jan 2007
Location: Paris, France
Distribution: Mandriva
Posts: 4

Original Poster
Rep: Reputation: 0
you're right. I installed a light distribution from a live CD (Mandriva One)
although I installed the "cc" compiler with a RPM package, the "make" comes with another package.
thank you for your help and kindness
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Do you add to the path line or make a new path in /etc/profile? M$ISBS Linux - Newbie 2 12-13-2006 03:14 PM
How do I make sure something is in right path? Ken1015 Linux - Newbie 3 09-03-2005 10:02 PM
How do I make PATH ? akihandyman Linux - Newbie 1 02-07-2004 10:05 PM
How do I make path? akihandyman Linux - Newbie 1 12-25-2003 02:29 PM
How to make PATH? tommilaiho Linux - Software 4 12-01-2003 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration