Click to See Complete Forum and Search --> : no "make" in RH7 bash


PRSteve27
04-08-2001, 09:16 PM
I just installed Red Hat 7, and I'm trying to do a variety of things (set up my sound card, most notably) at the command line. Unfortunately, when i type "make xxxx.xxxx" i get a notice that says "bash: make: command not found". I have worked with earlier versions of Red Hat and never encountered such a proble. Does anyone know how I can restor functionality to this command?

quandary
04-08-2001, 09:25 PM
Try installing the 'make' rpm, which should be on the installation CDs.

PRSteve27
04-09-2001, 01:11 PM
OK, I installed the make rpm, but I'm getting another error now. After the make command, I get:

grep: /use/src/linux/includ/linux/version.h: No such file or directory
grep: /usr/src/linux/includ/linux/autoconf.h: No such file or directory
Makefile:44: /Makefile: No such file or directory
make: *** No rule to make target '/Makefile'. Stop.

Clearly I'm missing some files - how do I get them or copy them to where they need to be?

ironhd
04-09-2001, 01:26 PM
Get the include files for your kernal. I don't know what redhat calls it... (linuxinc.rpm?)

Make sure you have glibc, glibcso, perl, libcx... at least.

Probably all .rpm.

[ 09 April 2001: Message edited by: ironhd ]

PRSteve27
04-10-2001, 01:30 AM
I hate to sound like an utter newbie, but where would I need to have those various files? I have directories called perl5 and glib in /usr/lib. Does that mean I have what I need for perl and glib?

ironhd
04-10-2001, 09:21 AM
Sounds like it. I was just trying to head-off possible later posts. e.g. 'now it says no gcc, now it says no perl'...etc.

It does sound like, tho, you need the include files for your particular kernal. As i have no experience with red hat stuff, i don't know how to tell you to look. Kinda hoped a red hatter would have stepped in by now. If you have the CD, search for linuxinc.rpm or some variable there-of ... *inc* ?
If you are ftping this, make sure you get the include files for YOUR kernal version. On slackware, i look in /usr/src for a linux-x.x.x to see. (mine is .../linux-2-2-16 right now) Which means my kernal is 2.2.16.