make not found openSuse 11 default install

While trying to solve a wireless issue I’m finding that the most basic compiling task seems to stop me. When I run a ‘make’ command I get: /usr/bin/make: No such file or directory

seems like this should be really straightforward.

thanks in advance…

YaST > Software > Install software > Search > “make” > Accept

You’ll probably need the C compiler next.

Sorry, should have been more descriptive.

Did the software search and installed ‘make’ package which resulted in a change of error message to:
/bin/sh: cc: command not found
Makefile.inc:81: *** Cannot detect kernel version - please check compiler and KERNELPATH. Stop.

For the record have gcc43 package installed (thought that should have make included).

Hi
Since you have make installed, I’m assuming you have the ‘base
Development’ pattern installed. What did the readme that came with the
file say?

Are you trying to compile a module down in the kernel-source tree?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 11:35, 1 user, load average: 0.16, 0.11, 0.09
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

Hi
You need to have the base development, C/C++ tools and kernel-source
installed… either via YaST or the zypper command;


sudo zypper in -t pattern devel_basis devel_C_C++
sudo zypper in kernel-source


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 11:56, 2 users, load average: 0.01, 0.07, 0.08
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

thanks again, Malcolm, the zypper commands did the trick, was able to make and make install madwifi. I’ll start a new thread back in wireless to address the current state of things.

I’m also on a default OpenSuse11 install – all I’ve accomplished so far is getting the initial round of updates.

I also need to compile madwifi, and am attempting to do so following a guide in another thread.

I found this thread because I can’t compile anything.

When I run the first zypper command above, I get this:

sudo zypper in -t pattern devel_basis devel_C_C++
root's password:
Reading installed packages...
'devel_basis' not found.
'devel_C_C++' not found.

Can someone please help me to correct the problem?

Thanks!

Hi
Do you have the online repositories oss and non-oss added? Check with;


zypper lr


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 1 day 12:06, 1 user, load average: 0.27, 0.20, 0.17
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.80

Doh!

I had followed the directions at Repositories/11.0 - openSUSE-Community, then noticed that it appeared that those two repositories were the same as two that were there by default, so I disabled them.

Apparently they aren’t the same, or they are the same and zypper disabled the two with matching paths as well.

Looks like I’m in business now, thanks!