LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-29-2006, 11:21 PM   #1
aardvarkk
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
bash: make command not found


Before I start, I realize that other people have had this problem and I've gone through other people's solutions but none seem to do anything for me.

I've just installed Mandriva One 2007, and I'm running into this problem while trying to get a driver for my wireless networking card installed. When I run ./configure (for the wireless card program thing), I get a message saying that I don't have a compiler present. It does something along the lines of:

gcc... no
cc... no

etc. So obviously this is a problem. I downloaded both make-3.81 and gcc-4.1.1, but both seem to involve USING the make command in their installation... am I the only one who's bothered by this? I've tried

find / -name make, which turns up nothing.

Tried:

urpmi make

Which says it can't find the make package. Put in my CD and tried to enter into the Mandriva CD package checker thing, and all of the "Development Tools" have been installed. There doesn't seem to be an option to install a make package.

Perhaps related to this is the fact that I have no man pages.

man ls

says the page can't be found. Same with everything else I've tried.

I'm quite perplexed as to how I managed to install a distribution with no man pages and seemingly no make command? I'm finding this ridiculously confusing and I'd really appreciate any help I could get.

Thanks.
 
Old 10-30-2006, 12:29 AM   #2
smaudlin
Member
 
Registered: Dec 2004
Location: Benicia, CA
Distribution: Fedora 6,5,4 Mandrake 10.1
Posts: 46

Rep: Reputation: 15
you need to start by installing GCC and the development packages. Once you have the necessary packages you should be able to uccessfully run the make and configure command. GCC no is telling you you don't have that installed and it's looking for it.
 
Old 10-30-2006, 12:38 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Moved: This thread is more suitable in our Mandriva-forum, and has
been moved accordingly to help your thread/question get the exposure it deserves.

Personally I think that something went wrong with your install, but
my knowledge of Mandriva these days is as limited as my liking for it. 8-)


Cheers,
Tink
 
Old 10-30-2006, 03:37 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The error is straightforward really. If the "make" and "gcc" packages are missing, then install them using the package manager e.g.
Code:
#urpmi make gcc
I don't think Mandriva One ships with many development packages since its just a single cd distro, so you need to go to easyurpmi and setup the main, contrib, updates and plf repos for Mandriva 2007 before running the command above.
 
Old 10-30-2006, 07:57 AM   #5
aardvarkk
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Not too possible?

Hi again,

Thanks for the suggestions. However, I've tried the urpmi command and it says it can't find the make package. I don't have access to the Internet because I need gcc and make to get my wireless card working. All I have is the original Install CD and a USB key that Mandriva (thankfully) recognizes.

I've been downloading things and moving them over to Mandriva using the key, but is there a way for me to download these things in a way that urpmi recognizes? Do they have to be in a certain location for the command to know that they exist?

Is the idea that I should be able to install gcc without using make? Because as far as I can tell, the installation instructions for both 'gcc' and 'make' require you to use 'make'. This is, of course, circular logic... but obviously I'm missing something. I've looked around for some sort of pre-compiled version of make, but I didn't really turn anything up.

Thanks for the help. I feel like this is the dumbest problem, but I'm not exactly sure what to do about it!
 
Old 10-30-2006, 09:54 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If you don't have a net connection then its not usually a good idea to get single cd distros because they usually leave out a lot of the development packages so that they fit on a single CD. If its an option, get the 3 disc set of Mandriva 2007. If not you will have to download individual rpms and install them with the rpm command. This approach is a bit problematic because you will have to resolve all dependencies manually which can be a pain.

You don't need gcc to install make or vice versa although one may depend on the presence of the other.

Last edited by reddazz; 10-30-2006 at 09:55 AM.
 
Old 01-23-2008, 06:51 PM   #7
scash
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Rep: Reputation: 0
*bump*

I'm having this exact same issue, and I'm in the exact same situation. I can't seem to find any resolution to this anywhere. Been searching for hours. Can anyone help solve this?
 
Old 01-23-2008, 07:36 PM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by scash View Post
*bump*

I'm having this exact same issue, and I'm in the exact same situation. I can't seem to find any resolution to this anywhere. Been searching for hours. Can anyone help solve this?
Did you try the suggestions in my first post in this thread. What installation media did you use and do you have a good net connection?
 
Old 01-23-2008, 07:43 PM   #9
scash
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Rep: Reputation: 0
My wireless card isn't natively supported by Mandriva, so I need to install MadWiFi. However, I get the Make: Unknown Command error as well, so I downloaded GCC, but I can't figure out how to install that either.

I have access to another computer right next to it. Installed off of LiveCD. I also have a flash drive.
 
Old 01-24-2008, 07:00 PM   #10
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Using the live cd is no good if you want development tools (same as I explained above). You are better off getting the full cd/dvd set because it comes with the tools required for development. The method you are trying to use is very time consuming and you will probably get frustrated with trying to resolve missing dependencies.
 
Old 01-28-2008, 03:21 AM   #11
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Or you could try the mandrive 2008.0, which solved a lot of wireless issues.

Another way is to copy the rpms to a directory, and then in a console,

type genhdlist to generate a hdlist, md5sum and list files in that directory on your HD.

then go into rpmdrake (manage software) and add the directory to the repo list.

If that is successful, you can install with urpmi or rpmdrake.

regards, Glenn
 
  


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 bene223 Linux - Newbie 4 06-26-2006 04:09 AM
bash: make: command not found MrPacane Linux - Newbie 2 05-24-2006 11:42 AM
bash: make command not found $%?$ OS X Bazal Other *NIX 8 10-04-2005 09:16 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:27 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