for anyone who cares, here are the exact steps i follow when ever i install the latest Nvidia Drivers on my desktop. i would imagine you should see nearly the exact same thing, as far as compile output.
here are links to the source files downloaded from nvidia.com:
http://download.nvidia.com/XFree86_4....0-3123.tar.gz
http://download.nvidia.com/XFree86_4....0-3123.tar.gz
edit: also, make sure you have kernel headers and kernel source rpms installed for what ever kernel you are currently running. VERY IMPORTANT!
so now, we begin.
[root@europa source]# tar zxvf NVIDIA_kernel-1.0-3123.tar.gz
NVIDIA_kernel-1.0-3123/
NVIDIA_kernel-1.0-3123/nv.c
NVIDIA_kernel-1.0-3123/os-interface.c
NVIDIA_kernel-1.0-3123/os-registry.c
NVIDIA_kernel-1.0-3123/os-interface.h
NVIDIA_kernel-1.0-3123/nv-linux.h
NVIDIA_kernel-1.0-3123/nv-misc.h
NVIDIA_kernel-1.0-3123/nv.h
NVIDIA_kernel-1.0-3123/nv-ids.h
NVIDIA_kernel-1.0-3123/rmretval.h
NVIDIA_kernel-1.0-3123/nvtypes.h
NVIDIA_kernel-1.0-3123/nv_ref.h
NVIDIA_kernel-1.0-3123/README
NVIDIA_kernel-1.0-3123/makedevices.sh
NVIDIA_kernel-1.0-3123/Makefile
NVIDIA_kernel-1.0-3123/Module-nvkernel
[root@europa source]# tar zxvf NVIDIA_GLX-1.0-3123.tar.gz
NVIDIA_GLX-1.0-3123/
NVIDIA_GLX-1.0-3123/usr/
NVIDIA_GLX-1.0-3123/usr/lib/
NVIDIA_GLX-1.0-3123/usr/lib/libGLcore.so.1.0.3123
NVIDIA_GLX-1.0-3123/usr/lib/libGL.so.1.0.3123
NVIDIA_GLX-1.0-3123/usr/X11R6/
NVIDIA_GLX-1.0-3123/usr/X11R6/lib/
NVIDIA_GLX-1.0-3123/usr/X11R6/lib/modules/
NVIDIA_GLX-1.0-3123/usr/X11R6/lib/modules/extensions/
NVIDIA_GLX-1.0-3123/usr/X11R6/lib/modules/extensions/libglx.so.1.0.3123
NVIDIA_GLX-1.0-3123/usr/X11R6/lib/modules/drivers/
NVIDIA_GLX-1.0-3123/usr/X11R6/lib/modules/drivers/nvidia_drv.o
NVIDIA_GLX-1.0-3123/usr/X11R6/lib/libXvMCNVIDIA.a
NVIDIA_GLX-1.0-3123/usr/X11R6/lib/libXvMCNVIDIA.so.1.0.3123
NVIDIA_GLX-1.0-3123/usr/include/
NVIDIA_GLX-1.0-3123/usr/include/GL/
NVIDIA_GLX-1.0-3123/usr/include/GL/gl.h
NVIDIA_GLX-1.0-3123/usr/include/GL/glx.h
NVIDIA_GLX-1.0-3123/usr/include/GL/glxtokens.h
NVIDIA_GLX-1.0-3123/usr/share/
NVIDIA_GLX-1.0-3123/usr/share/doc/
NVIDIA_GLX-1.0-3123/usr/share/doc/NVIDIA_Changelog
NVIDIA_GLX-1.0-3123/usr/share/doc/XF86Config.sample
NVIDIA_GLX-1.0-3123/usr/share/doc/README
NVIDIA_GLX-1.0-3123/usr/share/doc/README.DE
NVIDIA_GLX-1.0-3123/usr/share/doc/license.txt
NVIDIA_GLX-1.0-3123/Makefile
[root@europa source]# cd NVIDIA_kernel-1.0-3123
[root@europa NVIDIA_kernel-1.0-3123]# make install
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparen
theses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D
__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3
123 -DNV_UNIX -DNV_LINUX -DNVCPU_X86 -I. -I/lib/modules/2.4.18-14smp/
build/include -Wno-cast-qual nv.c
In file included from nv-linux.h:75,
from nv.c:14:
/lib/modules/2.4.18-14smp/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.18-14smp/build/include/linux/highmem.h:20: warning: pointer of
type `void *' used in arithmetic
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparen
theses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D
__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3
123 -DNV_UNIX -DNV_LINUX -DNVCPU_X86 -I. -I/lib/modules/2.4.18-14smp/
build/include -Wno-cast-qual os-interface.c
In file included from nv-linux.h:75,
from os-interface.c:25:
/lib/modules/2.4.18-14smp/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.18-14smp/build/include/linux/highmem.h:20: warning: pointer of
type `void *' used in arithmetic
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparen
theses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D
__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3
123 -DNV_UNIX -DNV_LINUX -DNVCPU_X86 -I. -I/lib/modules/2.4.18-14smp/
build/include -Wno-cast-qual os-registry.c
In file included from nv-linux.h:75,
from os-registry.c:14:
/lib/modules/2.4.18-14smp/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.18-14smp/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
ld -r -o Module-linux nv.o os-interface.o os-registry.o
ld -r -o NVdriver Module-linux Module-nvkernel
size NVdriver
text data bss dec hex filename
894637 55508 52396 1002541 f4c2d NVdriver
Warning: loading /lib/modules/2.4.18-14smp/kernel/drivers/video/NVdriver will ta int the kernel: non-GPL license - NVIDIA
See
http://www.tux.org/lkml/#export-tainted for information about tainted modu les
Module NVdriver loaded, with warnings
NVdriver installed successfully.
[root@europa NVIDIA_kernel-1.0-3123]# cd ../NVIDIA_GLX-1.0-3123
[root@europa NVIDIA_GLX-1.0-3123]# make install
Removing all old and conflicting files!
rm -f //usr/lib/libGL.*
rm -f //usr/lib/libGLcore.*
rm -f //usr/X11R6/lib/libGL.*
rm -f //usr/X11R6/lib/libGLcore.*
rm -f //usr/X11R6/lib/modules/extensions/libGLcore.*
rm -f //usr/X11R6/lib/modules/extensions/libglx.*
Installing new drivers
install usr/lib/libGL.so.1.0.3123 //usr/lib
install usr/lib/libGLcore.so.1.0.3123 //usr/lib
install usr/X11R6/lib/modules/drivers/nvidia_drv.o //usr/X11R6/l ib/modules/drivers
install usr/X11R6/lib/modules/extensions/libglx.so.1.0.3123 //usr/X11R6 /lib/modules/extensions
if [ `uname -m` != "ia64" ]; then \
install usr/X11R6/lib/libXvMCNVIDIA.a //usr/X11R6/lib/libXvMCNVIDIA.a; \
install usr/X11R6/lib/libXvMCNVIDIA.so.1.0.3123 //usr/X11R6/lib/libXvMCN VIDIA.so.1.0.3123; \
fi
/sbin/ldconfig -n //usr/lib
/sbin/ldconfig -n //usr/X11R6/lib
cd //usr/lib/; ln -fs libGL.so.1.0.3123 libGL.so
cd //usr/X11R6/lib/modules/extensions; \
ln -fs libglx.so.1.0.3123 libglx.so
Installing documentation in //usr/share/doc/NVIDIA_GLX-1.0
mkdir -p //usr/share/doc/NVIDIA_GLX-1.0/include
cp -r usr/include/* //usr/share/doc/NVIDIA_GLX-1.0/include
cp -r usr/share/doc/* //usr/share/doc/NVIDIA_GLX-1.0
[root@europa NVIDIA_GLX-1.0-3123]#pico /etc/X11/XF86config
UW PICO(tm) 4.2 File: /etc/X11/XF86Config Modified
# File generated by anaconda.
Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
#
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
RgbPath "/usr/X11R6/lib/X11/rgb"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
# Load "dri"
# Load "GLcore" <-- this is not on RH8.0, older versions only!!
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
# Option "AutoRepeat" "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
#Option "XkbVariant" ""
#Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
#
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30.0-95.0
VertRefresh 50.0-160.0
Option "dpms"
EndSection
Section "Device"
# no known options
Identifier "NVIDIA GeForce 2 GTS (generic)"
Driver "nvidia"
VendorName "NVIDIA GeForce 2 GTS (generic)"
BoardName "NVIDIA GeForce 2 GTS (generic)"
#BusID
EndSection
Section "Screen"
Identifier "Screen0"
Device "NVIDIA GeForce 2 GTS (generic)"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
EndSection
Section "DRI"
Mode 0666
EndSection
after you save the file, then restart X (or reboot your computer, which ever you prefer) with a ctrl-alt-backspace, and if necessary, then startx. a lot of people make this much harder than it really needs to be. its really very simple, anyone can do it!!