RTAIのインストール

  1. エラーの内容
    [root@kogomi linux-2.6.20.21]# make oldconfig
    /usr/src/linux-2.6.20.21/scripts/gcc-version.sh: line 11: gcc: command not found
    /usr/src/linux-2.6.20.21/scripts/gcc-version.sh: line 12: gcc: command not found
      HOSTCC  scripts/basic/fixdep
    /bin/sh: gcc: command not found
    make[1]: *** [scripts/basic/fixdep] エラー 127
    make: *** [scripts_basic] エラー 2
    [root@kogomi linux-2.6.20.21]# which gcc
    /usr/bin/which: no gcc in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin) 
    You have new mail in /var/spool/mail/root
    gccがインストールされていない。
  2. gccのインストール
    [root@kogomi linux-2.6.20.21]# export http_proxy=http://proxy.nagaokaut.ac.jp:8080/
    [root@kogomi linux-2.6.20.21]# yum install gcc
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    core                                                                 [1/3]
    core                      100% |=========================| 1.1 kB    00:00
    updates                                                              [2/3]
    (略)
    glibc-headers-2.4-11.i386 100% |=========================| 132 kB    00:03
    ---> Package glibc-headers.i386 0:2.4-11 set to be updated
    --> Running transaction check
    
    Dependencies Resolved
    
    =============================================================================
     Package                 Arch       Version          Repository        Size
    =============================================================================
    Installing:
     gcc                     i386       4.1.1-51.fc5     updates           4.9 M
    Installing for dependencies:
     binutils                i386       2.16.91.0.6-5    updates           3.4 M
     glibc-devel             i386       2.4-11           updates           1.9 M
     glibc-headers           i386       2.4-11           updates           597 k
     libgomp                 i386       4.1.1-51.fc5     updates            68 k 
    
    Transaction Summary
    =============================================================================
    Install      5 Package(s)
    Update       0 Package(s)
    Remove       0 Package(s)
    Total download size: 11 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/5): binutils-2.16.91.0 100% |=========================| 3.4 MB    02:14
    (2/5): glibc-headers-2.4- 100% |=========================| 597 kB    00:23
    (3/5): libgomp-4.1.1-51.f 100% |=========================|  68 kB    00:02
    (4/5): glibc-devel-2.4-11 100% |=========================| 1.9 MB    01:45

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2008-07-15 (火) 17:11:40 (4852d)