LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 07-18-2005, 01:51 PM   #1
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Rep: Reputation: 32
[Error] Kernel Module : No kernel module build environment


I've been trying to install the official ATI driver for my graphics card,
but I get the following error:

[Error] Kernel Module : No kernel module build environment

The strange think is that the installation works fine in the 2.4.x kernel,
but in the 2.6.8-2-686 kernel it give the above error. I'm using Sarge and
i have the kernel sources and headers for 2.6.8-2-686 installed.

what other package do I need to install? Where am I going wrong?

Last edited by saman007uk; 07-18-2005 at 01:52 PM.
 
Old 07-18-2005, 09:28 PM   #2
ruddigger
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian Sarge
Posts: 13

Rep: Reputation: 0
did you try downloading the kernel-build-2.6xxxx package? can that have anything to do w/it?
 
Old 07-19-2005, 02:05 AM   #3
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Original Poster
Rep: Reputation: 32
Yes - but no such pacakge exists for i386, it's all for powerpc, sparc, etc.
 
Old 09-08-2006, 07:25 PM   #4
Pirate Steve
LQ Newbie
 
Registered: Sep 2006
Location: Oregon
Distribution: Debian
Posts: 8

Rep: Reputation: 0
I have the same error but I'm using the 2.4 sarge kernel. I'm
super new to Linux so I'm hoping it's something simple! I read that the
software requirements are POSIX, glibc 2.2 or 2.3, Linux Kernel 2.4 or
higher, and XFree86 4.3. I don't know about POSIX, that's a total
mystery to me, but Debian sarge should use glibc 2.3, and XFree86 I have
installed is 4.3. As I mentioned I am using the 2.4 Kernel

About POSIX and glibc, are those packages I need to specify? Hep! I'm
surfing the web in w3m!!
 
Old 09-09-2006, 03:59 AM   #5
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Original Poster
Rep: Reputation: 32
What I don when installing ATI drivers is convert the RPM dpackage to .DEB packages using a program called "alien". You can search for it using apt-get.

Afterwards, installing the DEB is easy (although you need to use the --overwrite-all feature).
 
Old 09-09-2006, 09:27 AM   #6
Pirate Steve
LQ Newbie
 
Registered: Sep 2006
Location: Oregon
Distribution: Debian
Posts: 8

Rep: Reputation: 0
It said "Unknown type of package".

I used apt-get install alien

then I navigated to the directory where the ATI driver installer lives
and typed
alien ati-driver-installer-8.28.8.run

Is there another set of drivers I should use?
Did neglect a dependency with alien? It says in the man that it needs
rpm so I tried to install it but it was already current.
 
Old 09-09-2006, 05:36 PM   #7
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Original Poster
Rep: Reputation: 32
That's not an RPM package. An RPM package ends in .rpm and not in .run. You can doenload the RPM from the ATI website.
 
Old 09-09-2006, 06:34 PM   #8
Pirate Steve
LQ Newbie
 
Registered: Sep 2006
Location: Oregon
Distribution: Debian
Posts: 8

Rep: Reputation: 0
I got it figured out.
 
  


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
no kernel module build environment" Error message during RPM install gotmonkey Linux - Hardware 7 12-07-2007 02:08 AM
how to know whether a driver or other module build-in kernel ? jiawj Slackware 1 04-10-2005 02:21 AM
Unable to build the NVIDIA kernel module subaruwrx Linux - General 2 03-12-2005 08:15 PM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 04:54 PM
VMWare kernel module build fails jpbarto Linux From Scratch 8 05-23-2003 04:27 PM


All times are GMT -5. The time now is 04:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration