LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   linux kernel source tree not found whats wrong? (https://www.linuxquestions.org/questions/linux-hardware-18/linux-kernel-source-tree-not-found-whats-wrong-211456/)

vavoem 07-30-2004 08:53 AM

linux kernel source tree not found whats wrong?
 
I have debian installed and try to install a integrated broadcom 57xx networkcard
I ve downloaded the rpm
run
rpm -ivh drivername.rpm
now it installs some files in /usr/src/rpm/drivername
the i run
rpm -bb /specs/drivername/drivername.rpm

but when i make it says there linux kernel source tree not found

Frustin 07-30-2004 08:56 AM

what the _hell_ are you doing using rpm packages on debian, apt is SO much easier to use.

anyway what do you have in /usr/src? do an ls and paste it here.

vavoem 07-30-2004 12:54 PM

The only driver i could find from broadcom was a rpm package.
If you can tell me where to find the proper apt package i'd be more happy to install that offcourse ;) the reason i chose Debian was because of that.

Gets me rather frustrated however that everyone is telling me how easy it is but i cannot find those packages anywhere apt-get idont know.

I'll have to get back with you on the dir stuff because the machines at work and i'm at home :) drinkin the brewsky......

jomen 07-30-2004 03:20 PM

you try to install a source-rpm - which needs to be compiled - and needed for that is the kernel-source-tree, which you do not semm to have installed.
I've used Debian some time ago and I remember the procedure like this:

via the (excellent) package-management-system (I always used dselect, because I was used to it) you install the kernel-source
this leaves you with the tarred and gzipped kernel-source in /usr/src - so you need to unpack that there. But maybe the unpacking-process is now also done automatically during the install of the package - it has been a while.

Debian uses its own format to package software (files which end with .deb) but there is a tool called "alien" which is able to convert from .deb to .rpm and vice versa. You should use that - to avoid having software on the system, which is not known by the package-management-system - which in turn can cause all sorts of problems.

Try searching for .deb files for your card - but using a source-rpm to compile the driver should not do any harm. But you need the kernel-source to do this.

Frustin 08-02-2004 02:36 AM

Quote:

Originally posted by vavoem
Gets me rather frustrated however that everyone is telling me how easy it is but i cannot find those packages anywhere apt-get idont know.
i do appologise it was supposed to be sound like incredualarity not anger.

are you using your linux for personal use or is it for work? if its for personal use then i would use unstable, i have been using it for the past 3 years and only a very few times has it caused me agro, usually because an app has been released that really wasnt tested much.

do you know how to change to using unstable? There are so many more packages available using it.

vavoem 08-02-2004 07:33 AM

The problem resolved itself in a rather strange manner.
I came in this morning to find out. the machine had disolved.
Together with some 30 other pc's and 40 TFT 15"Monitors......
:( i was sent away by the police because the wanted to take fingerprints

Frustin 08-02-2004 07:35 AM

ah.


All times are GMT -5. The time now is 08:38 AM.