LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-05-2003, 05:26 PM   #1
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
NVIDIA_kernel will not compile !


ok, this is reeealy starting to p1$$ me off now !

ages ago i installed my nvidia card, and it was working fine,

i went to the nvidia site, downloaded the binary .run file

changed to runlevel 3, ran it. updated XF86config
EASY

NOW, months later ive found a load of open GL games.
but when i try to install them, i get a failed dependance, OpenGL is not installed. AGH !

aparently i also have to install NVIDIA_GLX,
which has the dependency NVIDIA_kernel.

there are NO links to these files on nvidia's site, nor any mention of them, but i finaly find them using the search feature, (direct links to the files, no other explanation)

but, the damn NVIDIA_kernel will not compile.
it gives programming errors..
integer to pointer without casting
and warning depreciated header files ect ect ect.

i have redhat 9.

how the h3ll do i get openGL on my system ?????????
 
Old 08-05-2003, 05:31 PM   #2
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
The GLX module should be built with the .run file automatically.

so you run the .run file (as root, with Kernel Source and headers installed), and you get no errors?

Then you edit your XF86Config:

adding: "load glx"
and removing: "load dri" and "load GLcore"


and using the driver: "nvidia".
 
Old 08-05-2003, 05:35 PM   #3
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
Yes, that is exactly what i did.

and got NO errors.

but then, every OpenGL game i try to install fails on the missing dependency

OpenGL is NOT installed.

when it must be !!!
Ut2003 works, so does tuxracer (1000 frames per second)

but no other games.

Last edited by qwijibow; 08-05-2003 at 05:39 PM.
 
Old 08-05-2003, 06:10 PM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Well if UT2003 and Tuxracer work then it's obviously installed and working fine.
Maybe those apps are looking in the wrong place or for an out-dated thing. Which apps are they and how are you installing them?
 
Old 08-07-2003, 08:39 AM   #5
the panther
LQ Newbie
 
Registered: Aug 2003
Location: Turkey
Distribution: Slackware 9.0
Posts: 25

Rep: Reputation: 15
I get an error saying that Kernel headers wern't installed

I'm a newbie, and I don't remember doing such a thing

how do I install these "kernel headers"??

I use Slackware 9.0 and a Geforce FX 5600

Thanks!
 
Old 08-07-2003, 09:28 AM   #6
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Quote:
I get an error saying that Kernel headers wern't installed

I'm a newbie, and I don't remember doing such a thing

how do I install these "kernel headers"??

I use Slackware 9.0 and a Geforce FX 5600

Thanks!
Kernel headers are found in the source code of your kernel. You can find the version of your kernel by typing this in the console:
uname -r
This will tell you the kernel version, after that you can simply download and install kernel-source package from the internet. For example, if my kernel is 2.4.8-20, I'll look for kernel-source-2.4.8-20-i386.tar.gz on the net.
 
Old 08-07-2003, 10:23 AM   #7
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
if you are installing your graphics card, use the binary from nvidia.com

(the ia32 driver, ull know what i mean when u see it)

i was only trying to do it the old way (compiling the headers)
because the normal way wasnt working for me.

go for the binary .run file
 
  


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
cannot compile jonn SUSE / openSUSE 4 03-30-2005 12:12 PM
ntop compile/post-compile problem? tjb Linux - Software 3 12-28-2004 05:22 PM
Cannot compile c davidtsl Programming 8 12-13-2004 02:36 AM
why cant i install NVIDIA_kernel ? qwijibow Linux - Newbie 1 08-05-2003 09:29 AM
How do I compile? icecream33 Programming 2 10-07-2002 07:28 AM


All times are GMT -5. The time now is 01:48 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration