when i enter sudo /etc/init.d/gdm stop it says something about it not being a valid command...but i'm going reinstall ubuntu(again) and try following your guide step by step. how do i found what gcc version i used, cuz i have no idea?
when i enter sudo /etc/init.d/gdm stop it says something about it not being a valid command...but i'm going reinstall ubuntu(again) and try following your guide step by step. how do i found what gcc version i used, cuz i have no idea?
You have to try to install the drivers, then if the installer gives you an error you have to go and see the nvidia log file under /var/log. If you look at the end of the file you will see the error.Originally Posted by h0tpants
For instance:
This is a quotation from my other guide (I suggest you to have a look at it)
If the installer complains in this way (this is an example of part of the error):
...
nvidia: version magic '2.6.10-5-386 preempt 386 gcc-3.4' should be
'2.6.10-5-386 preempt 386 gcc-3.3'
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details.
...
This means the installer tries to use gcc-3.4 instead of gcc-3.3(the right one).Type this before launching NVIDIA installer:
CC=gcc-3.3
export CC
The number of the version of gcc has to be the same as the 2nd one reported in the error by nvidia installer (i.e. the word I put in red instead of the one I put in blue)
then run nvidia installer again.
Last edited by tseliot; September 13th, 2005 at 07:00 PM.
By the way, why are you using a Breezy kernel?
ok so that is what i got when i followed your guide, i didnt see it complaining about a specific gcc, just that i cant find the cc dev. tool. what should i do now??nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Sep 13 20:51:01 2005
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 : true
no questions : false
silent : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)
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)
-> 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.
ERROR: Unable to find the development tool `cc` in your path; please make sure
that you have the package 'gcc' installed. If gcc is installed on your
system, then please check that `cc` is in your PATH.
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.
also, is breezy not good or what?
Last edited by h0tpants; September 13th, 2005 at 09:08 PM.
i was reading the nvidia driver readme and it was saying that prerelease versions of kernel are NOT supported.
this is my current kernel version, right? and if so where do i go to get a supported version of kernel/and how do i install it?? or would it be easier to download the hoary release and install that?OS Kernel: Linux version 2.6.12-8-386 (buildd@rothera) (gcc version 3.4.5 20050809 (prerelease) (Debian 3.4.4-6ubuntu6)) #1 Tue Aug 30 22:41:30 BST 2005
Last edited by h0tpants; September 13th, 2005 at 09:22 PM.
Breezy is still unstable BUT as you've notice my guide is about "NVIDIA driver with Breezy kernels" and this means it is possible to install them on your current kernel.Originally Posted by h0tpants
Open synaptic, press the search button and type "gcc" in the search field. You will see a list: select all the gcc version you can see in there and then press Apply to install them all.
Then try the installer again and tell me if it complains again (and post the log file again)
so by the time i read your above post i already had Hoary installed. i installed the upgrades. then i tried installing the drivers, no good. then i did your synaptic stuff and applied them all and the above is what i got.PHP Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Sep 13 23:53:38 2005
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 : true
no questions : false
silent : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : [url]ftp://download.nvidia.com[/url]
RPM file list : (not specified)
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 ([url]ftp://download.nvidia.com)?[/url] (Answer: Yes)
-> 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.
ERROR: Unable to find the kernel source tree for the currently running kernel.
Please make sure you have installed the kernel source files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel source
files are installed, you may specify the kernel source path with the
'--kernel-source-path' commandline option.
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 [url]www.nvidia.com[/url].
PHP Code:
X Window System Version 6.8.2 (Ubuntu 6.8.2-10.1 20050831033957 root@)
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.10 i686 [ELF]
Current Operating System: Linux ubuntu 2.6.10-5-386 #1 Thu Sep 8 06:18:41 UTC 2005 i686
Build Date: 31 August 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.10-5-386 (buildd@terranova) (gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2)) #1 Thu Sep 8 06:18:41 UTC 2005
Last edited by h0tpants; September 14th, 2005 at 12:01 AM.
install "linux tree" in synaptic and try again
okay i did that and it still gave me the same error messages
did you install kernel headers?
-------------------------------------------------------------------------------------------------------------------------------
You can do it in this way
uname -r (this will tell you the name and version of the kernel you are using)
Open either Synaptic or Kynaptic
press the "Search" button and put "header" in the search field
you will see a list of files, find "linux-headers-the name you got from uname -r"
for example if your kernel is "2.6.10-5-386", the headers will be "linux-headers-2.6.10-5-386"
click on the files and select "Mark for installation"
Press the "Apply" button.
You can close Synaptic (or Kynaptic) after it has finished installing the headers.
-------------------------------------------------------------------------------------------------------------------------------
And try the nvidia installer again.
IF IT DOESN'T WORK YET:
1) Make sure you have all the repositories enabled (see Ubuntu starter's guide)
2) Open Synaptic and install kernel 2.6.11 (image, headers and source)
3) restart your computer (it will boot automatically in the new kernel)
uname -r (just to see if you are using kernel 2.6.11)
4) follow the guide again
Install the nvidia drivers
Tell me if it works
Bookmarks