luckisme 发表于 2003-11-10 23:03:46

Fedora 1.0 core 安装Nvidia驱动

由于nvidia4496pkg2的驱动不认fedora的内核,所以不能用
sh
NVIDIA-Linux-x86-1.0-4496-pkg2.run的方法来安装







1]下载 NVIDIA-Linux-x86-1.0-4496-pkg2.run



http://www.linuxfans.org/nuke/modules.php?name=Site_Downloads&op=geninfo&did=1569




2]运行下面的命令来获得它的源码



#sh NVIDIA-Linux-x86-1.0-4496-pkg2.run --extract-only



3]设置环境变量



#export IGNORE_CC_MISMATCH=yes



4]进入源码文件夹,运行安装命令



#cd ../NVIDIA-Linux-x86-1.0-4496-pkg2

#make install



5]修改/etc/X11/XF86Config



然后改/etc/X11/XF86Config文件中的这段。



Section "Device"

Identifier "Videocard0"

Driver "nv"把这里的nv 改成nvidia

VendorName "Videocard vendor"

BoardName "NVIDIA GeForce 2 MX (generic)"

EndSection

Bluedata 发表于 2003-11-11 11:39:45

其实设置环境变量后直接
./NVIDIA-Linux-x86-1.0-4496-pkg2.run
就行了。 :roll:

winnike 发表于 2004-3-18 22:10:54

# make install
cd usr/src/nv; make install
make: Entering directory `/root/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv'
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar-O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4496-DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86       -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
make: cc: Command not found
make: *** Error 127
make: Leaving directory `/root/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv'
make: *** Error 2
能帮我看看这是什么原因吗?

winnike 发表于 2004-3-25 12:17:30

顶呀!

SuperDragonTAI 发表于 2004-4-2 11:42:56

为什么我不能#cd ../NVIDIA-Linux-x86-1.0-4496-pkg2

12543122 发表于 2004-4-2 13:37:32


make: cc: Command not found
make: *** Error 127
make: Leaving directory `/root/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv'
make: *** Error 2
能帮我看看这是什么原因吗?
没装gcc,把开发包装上。
页: [1]
查看完整版本: Fedora 1.0 core 安装Nvidia驱动