LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-30-2004, 08:53 AM   #1
vavoem
Member
 
Registered: Oct 2003
Location: Rotterdam, the Netherlands
Distribution: Debian Sarge
Posts: 102

Rep: Reputation: 15
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
 
Old 07-30-2004, 08:56 AM   #2
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
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.
 
Old 07-30-2004, 12:54 PM   #3
vavoem
Member
 
Registered: Oct 2003
Location: Rotterdam, the Netherlands
Distribution: Debian Sarge
Posts: 102

Original Poster
Rep: Reputation: 15
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......
 
Old 07-30-2004, 03:20 PM   #4
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
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.
 
Old 08-02-2004, 02:36 AM   #5
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
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.
 
Old 08-02-2004, 07:33 AM   #6
vavoem
Member
 
Registered: Oct 2003
Location: Rotterdam, the Netherlands
Distribution: Debian Sarge
Posts: 102

Original Poster
Rep: Reputation: 15
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
 
Old 08-02-2004, 07:35 AM   #7
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
ah.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to integrate driver source into kernel source tree zhchang Linux - Software 5 11-23-2005 12:34 AM
linux-source vs. linux-tree for 2.6.12 kernel Pingus Debian 3 08-24-2005 04:33 PM
Kernel Source Tree? raxxal Fedora 1 04-07-2005 05:14 PM
Linux Kernel Source Tree Not found pzearfoss Linux - General 6 12-28-2004 02:16 PM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 08:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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