Compiling packages

I am not sure if this is the right subforum, but I have a question about compiling and installing packages.

On 11.2 I want to compile and install some packages. I noticed that 11.2 has not installed the necesarry packages by default for doing so. I am on 64 bits (Pentium4 HT)

Which packages should I install with Yast to make my distro suitable for compiling and installation of software.

gcc
make
kernel-source

Okay, I have done that.

Now I want to compile and install a driver. After unzipping I just do “make” and I get :

make[1]: Map ‘/lib/modules/2.6.31.5-0.1-desktop/build’ wordt binnengegaan
make[1]: *** Er is geen regel om doel ‘modules’ te maken. Gestopt.
make[1]: Map ‘/lib/modules/2.6.31.5-0.1-desktop/build’ wordt verlaten
rt73.ko failed to build!
make: *** [module] Fout 1

(a little Dutch, but I hope you understand the problem)

I understand that there is a problem, but even for me as a german it is hard to understand why it is stopping, because i dont speak dutch. Is there a readme for the driver you want to install? Often you can find in the Readme additional software which is needed for the installation.

Generally, we do a “configure” before “make”. That will configure the makefile for the current architecture.


./configure
make
sudo make install

See if you have a README file there. Also, there can be options for the configure program.

Well I had some advice ask on irc but did not get any result of why I have this problem. The package is a driver for ralink rt73 usb-wificard, which some say it is present in 11.2, but is NOT in mine: it ask for factory-driver when I want it to install.

So thats why I want to compile this one.

Here is the readme

Installation instructions for the Legacy rt73 module
[http://rt2x00.serialmonkey.com]

==================
Build Instructions

1. Unpack the driver sources and go to the Module directory:
      $ tar -xvzf rt73-cvs-daily.tar.gz
      $ cd ./rt73-cvs-YYYYMMDDHH/Module

2. Compile the driver sources:
      $ make

3. Install the driver (as root):
      # make install

I cant read the error messages :slight_smile:

If you have a ralink wireless card, have you installed its firmware?
Post your questions at the wireless section so that you get support.