Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-25-2006, 03:52 PM   #1
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, 04:08 PM   #2
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):

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

instead of just "make" (change /bin/make to whatever it was when you found it using locate or find).
Old 06-25-2006, 04:12 PM   #3
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, 06:57 PM   #4
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 07:00 PM.
Old 06-26-2006, 05:09 AM   #5
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.


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

All times are GMT -5. The time now is 09:10 PM.

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