LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-25-2006, 02:52 PM   #1
bene223
LQ Newbie
 
Registered: Jan 2006
Posts: 19

Rep: Reputation: 0
bash: make: command not found


I'm using Damn Small Linux 3.0.3

My Goal: Install Nvidia nForce motherboard driver to get onboard Ethernet working so I can connect to the Internet

I need to use 'make' to compile the driver except I get the following error bash: make: command not found

I googled the error and found I needed to download/install
GNU Make. After using './configure' to compile it, I get the following error configure: error: no acceptable C compiler found in $PATH

I googled that error and found different solutions
A) download GCC (I looked at the prerequisites for gcc and it said it requires 'make' - so how am I supposed to install gcc then if I don't have make?)
B) DSL already has 'gcc' and 'make' they are in a package included with it.

What should I do? I'm rather new to Linux, so if you could please explain in detail what I need to do, I'd appreciate it!
 
Old 06-25-2006, 03:08 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Test if you have gcc and make installed already (the italic text is just a comment, not a command):

Code:
locate gcc ; locate make
#--- OR USE find COMMAND ---#
find / -name gcc ; find / -name make
if you got results (using locate for example), like "/bin/gcc" or "/usr/bin/make", then you've got them. If you got no results, then you probably don't have them.

Now if you have those installed, but you get the error saying that they are not in your $PATH, it means that the $PATH does not include the correct directory where the executables are; you can either add the directories where gcc and make were (you got those using either locate or find) to $PATH using set command, OR you can give the make command (for example) with the full path, like

Code:
/bin/make
instead of just "make" (change /bin/make to whatever it was when you found it using locate or find).
 
Old 06-25-2006, 03:12 PM   #3
bene223
LQ Newbie
 
Registered: Jan 2006
Posts: 19

Original Poster
Rep: Reputation: 0
'make' and 'gcc' were not found. What should I do?
 
Old 06-25-2006, 05:57 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
You need to install them from binary packages (not build them from source because, as you point out, they are interdependent). Your distro install CDs should have packages for all the development tools. Maybe not for DSL though since it is minimalistic.

Edit to add: According to distrowatch, DSL does have a packaged gcc. DSL is Debian based so you can probably find the dpkg file and use dpkg -i to install it. I don't use DSL so maybe someone who knows it a bit better can help.

One thing, I assume you have it installed on your hard drive and aren't using it as a LiveCD, correct?

Last edited by btmiller; 06-25-2006 at 06:00 PM.
 
Old 06-26-2006, 04:09 AM   #5
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Rep: Reputation: 30
It's also possible that only root has access to make, gcc, and the directories they are contained in; If you did not try running find/locate as root, try it before you do anything you may not have to.
 
  


Reply



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
bash: make: command not found MrPacane Linux - Newbie 2 05-24-2006 11:42 AM
bash: make: command not found ben_dsr Linux - Newbie 4 01-15-2005 06:50 AM
bash: make: command not found webwolf70 Linux - Software 8 08-05-2004 07:48 AM
bash: make: command not found mkzmonkeylagger Linux - General 8 03-16-2002 04:58 PM
bash: make: command not found rhuarc Linux - General 5 01-02-2002 06:44 PM

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

All times are GMT -5. The time now is 04:54 AM.

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
Open Source Consulting | Domain Registration