Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.