LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   1)nvidia installer freezes (psble prob w/ gcc?) and 2) can't change screen resolution (https://www.linuxquestions.org/questions/linux-hardware-18/1-nvidia-installer-freezes-psble-prob-w-gcc-and-2-cant-change-screen-resolution-288085/)

DJCF 02-09-2005 09:06 AM

1)nvidia installer freezes (psble prob w/ gcc?) and 2) can't change screen resolution
 
Sorry for the slightly strange subject title - I did my best!

I have two installations of Fedora Core 3 (off the same disc), on two different computers. I'm also having two different problems. So here we go...

First Problem -------------------------------------------------
1st Computer, "Neuromancer".
Mainboard: Asus A7N8X-E Deluxe (nForce2 chipset)
Graphics: Outboard GeforceFX 5200
Problem: Installed ok, nvidia logo appears on screen during boot up, and I have a nice damn nice framerate on Tux Racer. The only problem is, System Setting -> Display won't let me choose a resolution other than 800x600 or 640x480. Is there a way I can increase the resolution?
More:
The installation was succesful, so I won't post dmesg, install log, /sbin/lspci etc.
#uname -r
2.6.9-1.667

Second Problem ---------------------------------------------
2nd Computer, "Earth"
Mainboard: Asus A7N8X-VM (nForce2 chipset)
Graphics: Onboard Geforce4 MX
Problem: During installation, nvidia installer said:
ERROR: Unable to find the development tool
'cc' in your path. [Ok]
Installation has failed. [Ok]

I had this problem on Neuromancer and I remembered I solved it by linking cc... Unfortunately, I cannot remember where I linked it to, and google wasn't helpful then, or now. I did a
#whereis gcc
/usr/libexec/gcc
#ls /usr/libexec/gcc
i386-redhat-linux
#ls /usr/libexec/gcc/i386-redhat-linux
3.4.2
ls /usr/libexec/gcc/i386-redhat-linux/3.4.2
cc1

So in a blind panic I ran around "link"ing /usr/libexec/gcc/i386-redhat-linux/3.4.2 to various places such as /gcc, /cc, /bin/cc, /bin/gcc, /sbin/cc, /sbin/gcc, /usr/bin/gcc, /usr/bin/cc, /usr/sbin/gcc, /usr/sbin/cc, etc.

(I believe I may have used the command "ln -s", instead of "link", when I was working on Neuromancer.)

Anyway, I then tried the installer again. This time, it freezes on "Performing CC test with CC="cc".

More: dmesg and /sbin/lspci can be posted if nessesary.
#uname -r
2.6.9-1.667

Output of nvidia installer log:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Feb 8 14:31:20 2005
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
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.
-> Kernel source path: '/lib/modules/2.6.9-1.667/source'
-> Performing CC test with CC="cc".



If anyone could help me with this minor problem, I would be very greatful.

Daniel

jschiwal 02-10-2005 04:23 PM

You may need to install/reinstall the gcc package. Also install the kernel-headers and kernel-source package which match your kernel, although from the printout that may already be done. This is needed for the nvidia install. Might as well install the c++ package so you have g++ also.
All of these should be on your installation disks.
I wouldn't be surprised if you ended up with circular links. The /usr/bin/cc, originally, may have been a link to gcc for example

What shows if you type 'gcc -V'? This should show the binary and library paths as well as the version.


All times are GMT -5. The time now is 12:17 PM.