LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-11-2004, 03:27 AM   #1
toolfan
LQ Newbie
 
Registered: Feb 2004
Distribution: SlackWare 9.2
Posts: 19

Rep: Reputation: 0
Newbie Needs some major help.


Hi everyone,

I have been browsing the forums and haven't found a solution to my problem yet, I want to say thanks in advance for the help I get from eveyone.

I am completely NEW to linux, I have been a windows user for years (Shameful Fact),
and I just want to get my video card running properly.

My video card is an ATI radeon 9800 pro all in wonder 128 mb.

I tried to run the rpm in gnome by doulbe clicking, it said it had a problem with a file in the system, i forget exact name but its a flgrx file or what not.

So I went to ATI's site and read about fixing the error, told me to run a command that forced file replacement, something like rpm -Uh --force <ati rpm file name>.rpm, i used that command while logged in under root, it said it installed but then i get this error:

[root@sbcglobal Downloads]# rpm -Uh --force fglrx-4.3.0-3.7.6.i386.rpm
########################################### [100%]
########################################### [100%]
*** Trying to install a precompiled kernel module.
*** WARNING ***
Tailored kernel module for fglrx not present in your system.
You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'
in order to install the module into your kernel's module repository.
(see readme.txt for more details.)

As of now you can still run your XServer in 2D, but hardware acclerated
OpenGL will not work and 2D graphics will lack performance.

failed.
*** Error: no kernel module build environment - please consult readme.
Installed: qt3 (gcc 3.2) based control panel application
===
ATI display drivers successfully installed
please run 'fglrxconfig' now


I have tried to goto the folder and use the command ./make.sh, it says i dont have permission, I have no clue what to do or how to do it, so when replying back, remember i am only advanced in windows, not linux heh. Thanks again.



Toolfan.
 
Old 05-11-2004, 03:50 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
u must be root user when u r doing that. arent u root ? if u are already root, try
#sh make.sh

Last edited by maxut; 05-11-2004 at 03:52 AM.
 
Old 05-11-2004, 03:54 AM   #3
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
hi toolfan,

be careful of your subject line on the post - it's a bit vague!

anyway, on to your problem.. ati drivers can be difficult to install, but -

Quote:
I have tried to goto the folder and use the command ./make.sh, it says i dont have permission, I have no clue what to do or how to do it, so when replying back, remember i am only advanced in windows, not linux heh. Thanks again.
i think you will need to run the make.sh command as root. in a terminal window, you'd enter 'su', then your root password. you should then be able to run the make.sh command successfully.
 
Old 05-12-2004, 05:16 AM   #4
toolfan
LQ Newbie
 
Registered: Feb 2004
Distribution: SlackWare 9.2
Posts: 19

Original Poster
Rep: Reputation: 0
I haven't made any progress, here is what I did. I used su root and entered my password to be root user, I then went to the folder lib/modules/fglrx/build_mod ans ran this command sh make.sh, it gave me this in terminal:

initializing...
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h
[root@sbcglobal build_mod]#


No clue what that is supposed to mean, so i tried this command ./make.sh and it said permission denied, so i'm no farther than i was heh. Thanks. Any help is greatly appreciated.

EDIT: Also I cannot figure out what Xfree86 version im using, I went to ATI and tried their Check.sh command and it says it couldnt figure out what one im using in a spot in the log and it also at the top only says Xfree86 4.x.

Last edited by toolfan; 05-12-2004 at 05:19 AM.
 
Old 05-12-2004, 05:39 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
It appears that you haven't installed your kernel sources. You haven't given any details about your distro, but (unless you have installed a kernel since your distro was installed) you should be able to find the sources on your install cds.

Go to your package manager and install the sources, then try the reinstall of your drivers as per the posts above.
 
Old 05-12-2004, 03:57 PM   #6
toolfan
LQ Newbie
 
Registered: Feb 2004
Distribution: SlackWare 9.2
Posts: 19

Original Poster
Rep: Reputation: 0
LOL, now I feel stupid, i totally forgot to mention distro. I am using Mandrake 9.2, I use the GNOME window manager (not sure if thats relevant).

I will try and mess around with this package installer and see where I get. BUt keep up the answers heh I need them.

Thanks.
 
Old 05-12-2004, 04:11 PM   #7
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Rep: Reputation: 31
u do have to install the kernel sources. Have your RH9 cds ready and go to sistem settings -> add/remove applications. somewhere at the bottom there should be Kernel developement tools or summat. Check it and make shure all 4 packages are to be installed. Then click refresh. It should be ok then.
 
Old 05-12-2004, 04:24 PM   #8
toolfan
LQ Newbie
 
Registered: Feb 2004
Distribution: SlackWare 9.2
Posts: 19

Original Poster
Rep: Reputation: 0
I looked through packages on the cd and noticed there was a xfree86 4.3 package to install, I tried to install it and it got to 4/5 installed and it said it conflicted with the file fglrx4.3 or whatever which was the ati driver, so im not sure what to do, im gonna try to find this build program package and install it.

EDIT: Things aren't going so well for me lol, but im not giving up, I found the kernel source and it said it has a bad signature when I try to install it, i'm going to check linux update for one if I can, any advice on if I should isntall this bad signature file anyways?

Last edited by toolfan; 05-12-2004 at 04:26 PM.
 
Old 05-12-2004, 04:32 PM   #9
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
A bad signature is not uncommon for Mdk , for some reason. Go ahead and install with the bad signature. It won't hurt anything.
 
Old 05-12-2004, 05:05 PM   #10
toolfan
LQ Newbie
 
Registered: Feb 2004
Distribution: SlackWare 9.2
Posts: 19

Original Poster
Rep: Reputation: 0
ok installed source. Logged in as root, went to folder /lib/modules/fglrx/build_mod and ran the command sh make.sh and i got the following:

initializing...
Error:
kernel includes at /usr/src/linux/include do not match current kernel.
they are versioned as ""
instead of "2.4.22-10mdk".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
[root@sbcglobal build_mod]#


So tell me what to do next people hehe im clueless here and frustrated, i sure hope it isnt like this in linux to isntall everything.
 
Old 05-13-2004, 06:56 AM   #11
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Rep: Reputation: 31
you haven't done any harm, at the least. And no, it isn't like that to install everything. Your problem (i think) is that you have to install the kernel sources, because your compiled kernel is not compatible with some programs. You have to recompile it (or sometimes the sources are just used to determine the flags the module has to be compiled with). Just install the sources an see if it works.
 
  


Reply



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
Major Hardware changes - Newbie How to jdier Linux - Hardware 2 07-02-2004 09:44 AM
konsole does not close?newbie needs major help ginda Linux - Software 2 05-11-2004 04:13 PM
Major development-packages problem (newbie style) THX1138 Linux - Newbie 2 02-08-2004 06:24 PM
Major MAJOR complaint... MasterC General 15 07-17-2003 04:15 PM
Major Newbie Needs Help 1967mustangman Linux - Software 2 12-15-2001 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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