nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Linux Core distribution and Geforce driver. (http://www.nvnews.net/vbulletin/showthread.php?t=28902)

djfuzz 05-18-04 11:00 AM

Linux Core distribution and Geforce driver. SOLUTION FOUND!
 
I have the Core Distribution of linux (version: 2.4.18, patched with low latency patch) and i would like to install the graphics card driver mainly for playing Divx videos and stuff with Mplayer. But i can't install the drivers :( i have the following file downloaded from the driver site:

NVIDIA-Linux-x86-1.0-5336-pkg1.run

When i run the file with the following command:

sh NVIDIA-Linux-x86-1.0-5336-pkg1.run,

It runs the installer but i'm getting the message that i'm not using the same compiler which i used to comile my linux kernel. :S! But according i used version gcc 3.2 to compile my kernel and it's the same version so i don't get it :screwy:.

gcc-version-check failed:
Could not compile gcc-version-check.c


And when i want to resume anyway i get the following message:

Unable to build NVIDIA kernel module.
and exits the setup :'(.

I don't get it! Could any1 help me please! Note that i'm a linux noob!

connyosis 05-18-04 11:33 AM

Re: Linux Core distribution and Geforce driver.
 
I take it you are using the Fedore Core distribution. Check out this page and see if that can help you: http://www.brandonhutchinson.com/NVI...Hat_Linux.html

djfuzz 05-18-04 11:46 AM

Re: Linux Core distribution and Geforce driver.
 
Thanks for reply but it's not the fedora core i'm using (i think) i've downloaded my distro here: Linux core dist
Or is it the fedore core dist? But any ideas?
Thanks for replies!

djfuzz 05-19-04 08:25 AM

Re: Linux Core distribution and Geforce driver.
 
Wow!~118 views and no one has any idea/tip! My distro must be very unknown then :( but any way keep up the good work! :thumbsup:

djfuzz 05-19-04 08:28 AM

Re: Linux Core distribution and Geforce driver.
 
Well maybe it helps if i'll post my installer log here:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue May 18 16:55:51 2004

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
ERROR: Unable to connect to download.nvidia.com (temporary DNS error (try again
later))
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path: '/lib/modules/2.4.18/build'
-> Performing cc_version_check with CC="cc".
-> gcc-version-check failed:

Could not compile gcc-version-check.c

If you know what you are doing and want to ignore the gcc version check, sel
ect "No" to continue installation. Otherwise, select "Yes" to abort install
ation, set the CC environment variable to the name of the compiler used to c
ompile your kernel, and restart installation. Abort now? (Answer: No)
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *
.d NVdriver nvidia.o
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.4.18/build'..
.
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO
DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE
RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5
336 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_
RANGE_4 -I. -I/lib/modules/2.4.18/build/include -Wno-cast-qual -Wno-error n
v.c
make[1]: cc: Command not found
make[1]: *** [nv.o] Error 127
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.

connyosis 05-19-04 01:43 PM

Re: Linux Core distribution and Geforce driver.
 
make[1]: cc: Command not found

Sounds like your compiler isn't installed properly. Make sure your gcc installation isn't screwed up somehow.

djfuzz 05-19-04 02:44 PM

Re: Linux Core distribution and Geforce driver.
 
Sorry but beeing a noob i do not know how to do that :( But i can compile stuff like irmp3 and it works fine after i installed it? Is that what you meant? Or does this driver yust not support my Ditro in some kind of way?

connyosis 05-19-04 04:51 PM

Re: Linux Core distribution and Geforce driver.
 
Ok, so you can compile other programs? Weird indeed, then the compiler should be installed properly. BTW, the distro you are using seems targetted to more advanced users, and since you say you are pretty new to Linux, maybe you should try an easier one like Fedora or at the most Slackware or Gentoo?

Anyway, I don't really see why the compile will fail if you are able to compile other programs. You COULD do 'export IGNORE_CC_MISMATCH=2' and then run the installer again, to see if that solves your problems, but I've heard that that might not always be a good idea.

djfuzz 05-19-04 05:33 PM

Re: Linux Core distribution and Geforce driver.
 
MMM didn't know that it was for more advanced users but i've chose the distro because it starts really fast and it's running on an MP3 jukebox and i wan't to keep it start really fast. (starts within 10 sec: Stuff like LCDd, Irmp3d, Irexec, Network, Btfpd, Telnetd, Soundcard loaded). I can play video formats like DIVx on it but sometimes it falters a little so would like to get video acceleration.
And i think it's strange why shouldn't it run on this distro! But i'f someone else has a distro which starts faster than 10 sec on a 466 cely with the stuff loaded described above let me know!

connyosis, many MANY thanks for your reply i appreciate it very very much! I'll try the stuff you described below... Hope it works! BTW i did a search on google and found that i might need the following: glibc-1.09.1.tar.gz don't know if it is the same thing as gcc but could that be the issue that it might not be installed?

djfuzz 05-22-04 09:47 AM

Re: Linux Core distribution and Geforce driver.
 
YES YES YES! PEEPS! ME FOUND SOLUTION!
Read the stuff above if you need to know what my problem WAS :jumping: :jumping::jumping::jumping::jumping::jumping:

Allright, me was playing arround with another disk because i WANTED the drivers installed well here's what i did:

i've created an symbolic link between gcc and cc because every time i typed cc i'd get: -bash command not found so for noobies like me i did this:

ln -s gcc cc

and copied it to the /usr/bin dir.


And tried to install the drivers and it worked! Hopefully there are more noobs like me with this core distro and have the same problem!!

GrEetz Ya ALL!

Deejay!


All times are GMT -5. The time now is 07:51 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.