LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 896|回复: 12

大家帮忙看看我的GCC4.1为什么装不上呢?

[复制链接]
发表于 2009-3-5 18:00:32 | 显示全部楼层 |阅读模式
4.2  4.3的都可以就4.1的不行

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2009-3-5 18:08:04 | 显示全部楼层
dpkg -L 看一下安到哪里了,
  1. ] $ dpkg -L gcc-4.1|grep bin
  2. /usr/bin
  3. /usr/bin/gccbug-4.1
  4. /usr/bin/gcov-4.1
  5. /usr/bin/gcc-4.1
  6. /usr/bin/i486-linux-gnu-gcc-4.1
  7. $ whereis gcc
  8. gcc: /usr/bin/gcc /usr/lib/gcc
  9. $ ls /usr/bin/gcc -l
  10. lrwxrwxrwx 1 root root 7 03-03 13:51 /usr/bin/gcc -> gcc-4.3
复制代码

你看一下你的是怎么回事
回复 支持 反对

使用道具 举报

发表于 2009-3-5 18:29:00 | 显示全部楼层
apt-get install gcc
或者用命令:
gcc-4.1
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-5 18:36:43 | 显示全部楼层

:(

非常感谢 找到GCC了  但是不能使用 重新安装了一次也不行

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2009-3-5 18:41:05 | 显示全部楼层
是apt-get install gcc
不是apt-get install gcc-4.1
如果用
apt-get install gcc-4.1
只能用命令
$gcc-4.1 -V
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-5 18:59:37 | 显示全部楼层
apt-get install gcc 装的是4.3版的  我现在装这个4.1的要装NV的显卡驱动用 ,刚才还是提示CC不行
回复 支持 反对

使用道具 举报

发表于 2009-3-5 19:13:29 | 显示全部楼层
我看你还是把NV显卡时的错误提示贴出来!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-5 19:24:34 | 显示全部楼层
帮我看看吧 E文不太强 感激ing
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Mar  5 19:09:43 2009
installer version: 1.0.7

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files     : true
  no questions            : false
  silent                  : false
  no recursion            : 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
  no kernel module        : false
  force SELinux           : default
  no X server check       : false
  no cc version check     : false
  force tls               : (not specified)
  force compat32 tls      : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  compat32 install chroot : (not specified)
  compat32 install prefix : (not specified)
  compat32 install libdir : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  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.
-> Installing NVIDIA driver version 180.29.
-> 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.
回复 支持 反对

使用道具 举报

发表于 2009-3-5 19:58:40 | 显示全部楼层
NVIDIA卡安装需要编译内核源码
回复 支持 反对

使用道具 举报

发表于 2009-3-5 20:05:27 | 显示全部楼层
NVIDIA卡驱动源里有现成的DEB包,按显卡的型号直接安装相应的包即可。没必要自己编译。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表