Locked History Actions

Scientific Linux 6.4 install

Scientific Linux 6.4 install

必要な物

プログラム

自分のメモ

CERN Program Library (cernlib)

cernlib

PAW

本ページ, PAW

ANAPAW

ANAPAW

ROOT

ROOT

Geant4

Geant4

Topdrawer

Topdrawer

Tex Live

TeX Live 2013 on Scientific Linux 6.4

VMware Player

-

Dropbox

本ページ

メモ

  • ホームディレクトリのフォルダ名を英語にする。
  • 以下のエラーが端末上にちょくちょく出る。dmesg をしてみても出ている。
    • do_IRQ: X.Y No irq handler for vector (irq -1)
    • どうやら割り込みの再マッピングの問題?カーネルではなく、Intel 55x0チップセットの問題のようだ?
    • 対処

      • 対処方法はいろいろありそうだが、とりあえず以下のコマンドを打ち、一時的に irqbalance のサービスを止める。しばらく待ってみてもメッセージが出ないはず。
      • $ su
        パスワード: root のパスワードを打つ
        # /etc/init.d/irqbalance stop
      • Linux 起動時に irqbalance のサービスが立ち上がらないようにするには、以下のコマンドを打てば良い。次回起動時から irqbalance が立ち上がらなくなる。
      • $ su
        パスワード: root のパスワードを打つ
        # chkconfig --list # 元の状態を確認
        ...
        irqbalance      0:off   1:off   2:on    3:on    4:on    5:on    6:off
        ...
        # chkconfig irqbalance off # サービス起動の停止
        #
        # chkconfig --list # サービスの起動が off になったか確認
        ...
        irqbalance      0:off   1:off   2:off   3:off   4:off   5:off   6:off
        ...
      • ただし、# chkconfig irqbalance off コマンドは直ちにサービスを停止するわけではないので、直ちに停止したい場合は、# /etc/init.d/irqbalance stop を実行する。(# service irqbalance stop でも良い。)
  • Dropbox を rpm で install してもうまくいかなかった。アンインストールした。その後、yum を使うと以下のエラーが出た。
  • [root@nobu nautilus-dropbox-1.4.0]# yum install gcc
    Loaded plugins: fastestmirror, refresh-packagekit, security
    Loading mirror speeds from cached hostfile
     * sl: ftp.ne.jp
     * sl-security: ftp.ne.jp
     * sl6x: ftp.ne.jp
     * sl6x-security: ftp.ne.jp
    http://linux.dropbox.com/fedora/6.4/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: Dropbox. Please verify its path and try again
  • /etc/yum.repos.d/dropbox.repo を /etc/yum.repos.d/dropbox.repo.old などの名前に変更。削除してもよいかも。
  • yum で Dropbox がインストールできるらしい。(参考:Scientific Linux 6.3にdropboxをインストール

  • ソースから Dropbox インストール
    • gcc がないときのエラー --> # yum install gcc

      • checking pkg-config is at least version 0.9.0... yes
        checking for NAUTILUS... configure: error: Package requirements (libnautilus-extension >= 2.16.0) were not met:
        
        No package 'libnautilus-extension' found
        
        Consider adjusting the PKG_CONFIG_PATH environment variable if you
        installed software in a non-standard prefix.
        
        Alternatively, you may set the environment variables NAUTILUS_CFLAGS
        and NAUTILUS_LIBS to avoid the need to call pkg-config.
        See the pkg-config man page for more details.
    •  

    • libnautilus-extension がないときのエラー --> # yum install nautilus-devel を実行。

      • checking pkg-config is at least version 0.9.0... yes
        checking for NAUTILUS... configure: error: Package requirements (libnautilus-extension >= 2.16.0) were not met:
        
        No package 'libnautilus-extension' found
        
        Consider adjusting the PKG_CONFIG_PATH environment variable if you
        installed software in a non-standard prefix.
        
        Alternatively, you may set the environment variables NAUTILUS_CFLAGS
        and NAUTILUS_LIBS to avoid the need to call pkg-config.
        See the pkg-config man page for more details.
  •  

  • docutils がないときのエラー。--> # yum install docutils を実行。

  • checking for pygtk... yes
    checking for gobject... yes
    checking for docutils... no
    configure: error: couldn't find docutils
  • Dropbox の本体(?)のインストールが終わると、デスクトップの "アプリケーション" > "インターネット" のところに "Dropbox" という項目が現れる。これをクリックして、個別のアカウントごとに Dropbox を設定する。設定後は、ホームディレクトリ以下に、Dropbox というディレクトリができる。

  • ssh で入ってから Dropbox を起動
    • ssh で PC にログインし Dropbox を起動する場合、ホームディレクトリ以下の .dropbox-dist/dropboxd を起動すれば良い。ただし、X を飛ばしている場合 (X window system のフォワーディングを有効にしている場合)、 ssh を 抜けると Dropbox も終了してしまう。 ssh を抜けても Dropbox を起動していたい場合、 ssh で入るときに X を飛ばさずにログインし、 nohup コマンドで Dropbox のデーモンを起動すれば良い。具体的には下記のコマンドを打てば良い。
    • $ ssh -x username@hostname
      username's password:
      
      ログイン後
      $ nohup .dropbox-dist/dropboxd &
      $ exit
      
      exit しても Dropbox のデーモンは生きている
    • ssh の -x オプションは X を無効にする。nohup コマンドで Dropbox のデーモンのプロセスを ssh を抜けても継続させる。nohup は No Hung UP のことらしい。& 付きはバックグラウンドで走らせることを指定する。 プロセスを殺したい場合、kill コマンドを使う。使い方は Google で調べる。

  • emacs で ispell を実行すると以下のメッセージが出る。
    • Process ispell not running
    • 英語環境で実行した emacs だと、ちゃんと ispell が実行できる。以下の様に emacs を実行すれば良い。
    • $ LANG=C emacs

PAW install

  • # yum install paw-g77
    Loaded plugins: fastestmirror, refresh-packagekit, security
    Loading mirror speeds from cached hostfile
     * epel: ftp.iij.ad.jp
     * sl: ftp.riken.jp
     * sl-security: ftp.riken.jp
     * sl6x: ftp.riken.jp
     * sl6x-security: ftp.riken.jp
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package paw-g77.x86_64 0:2006-34.el6 will be installed
    --> Processing Dependency: libpawlib.so.2()(64bit) for package: paw-g77-2006-34.el6.x86_64
    --> Processing Dependency: libpawlib-lesstif.so.3()(64bit) for package: paw-g77-2006-34.el6.x86_64
    --> Processing Dependency: libpacklib.so.1()(64bit) for package: paw-g77-2006-34.el6.x86_64
    --> Processing Dependency: libpacklib-lesstif.so.1()(64bit) for package: paw-g77-2006-34.el6.x86_64
    --> Processing Dependency: libmathlib.so.2()(64bit) for package: paw-g77-2006-34.el6.x86_64
    --> Processing Dependency: liblapack.so.3()(64bit) for package: paw-g77-2006-34.el6.x86_64
    --> Processing Dependency: libkernlib.so.1()(64bit) for package: paw-g77-2006-34.el6.x86_64
    --> Processing Dependency: libgraflib.so.1()(64bit) for package: paw-g77-2006-34.el6.x86_64
    --> Processing Dependency: libgrafX11.so.1()(64bit) for package: paw-g77-2006-34.el6.x86_64
    --> Processing Dependency: libg2c.so.0()(64bit) for package: paw-g77-2006-34.el6.x86_64
    --> Processing Dependency: libXm.so.4()(64bit) for package: paw-g77-2006-34.el6.x86_64
    --> Processing Dependency: libXbae.so.4()(64bit) for package: paw-g77-2006-34.el6.x86_64
    --> Running transaction check
    ---> Package atlas.x86_64 0:3.8.4-2.el6 will be installed
    --> Processing Dependency: libgfortran.so.3(GFORTRAN_1.0)(64bit) for package: atlas-3.8.4-2.el6.x86_64
    --> Processing Dependency: libgfortran.so.3()(64bit) for package: atlas-3.8.4-2.el6.x86_64
    ---> Package cernlib-g77.x86_64 0:2006-34.el6 will be installed
    ---> Package compat-libf2c-34.x86_64 0:3.4.6-19.el6 will be installed
    ---> Package openmotif.x86_64 0:2.3.3-5.el6_3 will be installed
    --> Processing Dependency: libXp.so.6()(64bit) for package: openmotif-2.3.3-5.el6_3.x86_64
    ---> Package xbae.x86_64 0:4.60.4-12.el6 will be installed
    --> Running transaction check
    ---> Package libXp.x86_64 0:1.0.0-15.1.el6 will be installed
    ---> Package libgfortran.x86_64 0:4.4.7-3.el6 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
     Package                 Arch          Version                Repository   Size
    ================================================================================
    Installing:
     paw-g77                 x86_64        2006-34.el6            epel        3.5 M
    Installing for dependencies:
     atlas                   x86_64        3.8.4-2.el6            sl          2.8 M
     cernlib-g77             x86_64        2006-34.el6            epel         16 M
     compat-libf2c-34        x86_64        3.4.6-19.el6           sl           50 k
     libXp                   x86_64        1.0.0-15.1.el6         sl           22 k
     libgfortran             x86_64        4.4.7-3.el6            sl          264 k
     openmotif               x86_64        2.3.3-5.el6_3          sl          1.3 M
     xbae                    x86_64        4.60.4-12.el6          epel        139 k
    
    Transaction Summary
    ================================================================================
    Install       8 Package(s)
    
    Total download size: 24 M
    Installed size: 88 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/8): atlas-3.8.4-2.el6.x86_64.rpm                      | 2.8 MB     00:00     
    (2/8): cernlib-g77-2006-34.el6.x86_64.rpm                |  16 MB     00:02     
    (3/8): compat-libf2c-34-3.4.6-19.el6.x86_64.rpm          |  50 kB     00:00     
    (4/8): libXp-1.0.0-15.1.el6.x86_64.rpm                   |  22 kB     00:00     
    (5/8): libgfortran-4.4.7-3.el6.x86_64.rpm                | 264 kB     00:00     
    (6/8): openmotif-2.3.3-5.el6_3.x86_64.rpm                | 1.3 MB     00:00     
    (7/8): paw-g77-2006-34.el6.x86_64.rpm                    | 3.5 MB     00:01     
    (8/8): xbae-4.60.4-12.el6.x86_64.rpm                     | 139 kB     00:00     
    --------------------------------------------------------------------------------
    Total                                           4.6 MB/s |  24 MB     00:05     
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing : libXp-1.0.0-15.1.el6.x86_64                                  1/8 
      Installing : openmotif-2.3.3-5.el6_3.x86_64                               2/8 
      Installing : xbae-4.60.4-12.el6.x86_64                                    3/8 
      Installing : compat-libf2c-34-3.4.6-19.el6.x86_64                         4/8 
      Installing : libgfortran-4.4.7-3.el6.x86_64                               5/8 
      Installing : atlas-3.8.4-2.el6.x86_64                                     6/8 
      Installing : cernlib-g77-2006-34.el6.x86_64                               7/8 
      Installing : paw-g77-2006-34.el6.x86_64                                   8/8 
      Verifying  : openmotif-2.3.3-5.el6_3.x86_64                               1/8 
      Verifying  : compat-libf2c-34-3.4.6-19.el6.x86_64                         2/8 
      Verifying  : xbae-4.60.4-12.el6.x86_64                                    3/8 
      Verifying  : atlas-3.8.4-2.el6.x86_64                                     4/8 
      Verifying  : cernlib-g77-2006-34.el6.x86_64                               5/8 
      Verifying  : paw-g77-2006-34.el6.x86_64                                   6/8 
      Verifying  : libgfortran-4.4.7-3.el6.x86_64                               7/8 
      Verifying  : libXp-1.0.0-15.1.el6.x86_64                                  8/8 
    
    Installed:
      paw-g77.x86_64 0:2006-34.el6                                                  
    
    Dependency Installed:
      atlas.x86_64 0:3.8.4-2.el6                cernlib-g77.x86_64 0:2006-34.el6   
      compat-libf2c-34.x86_64 0:3.4.6-19.el6    libXp.x86_64 0:1.0.0-15.1.el6      
      libgfortran.x86_64 0:4.4.7-3.el6          openmotif.x86_64 0:2.3.3-5.el6_3   
      xbae.x86_64 0:4.60.4-12.el6              
    
    Complete!
    #