Vista に cygwin をインストール [まとめ] [cygwin]

インストール

問題

/etc/postinstall/gnuplot.sh

/etc/postinstall/post-texmf.sh
でインストールが止まり、先に進まない。

解決法

1.
インストールが停止したら、一旦setup.exeを終了する。
キャンセルボタンからキャンセルできれば良し、出来なければタスクマネージャからkill。

2.
停止した*.shをエクスプローラで探して別の場所へ移動。
上の例ならC:\cygwin\etc\postinstall\gnuplot.shを、デスクトップあたりに移動する。

3.
setup.exeを再度実行する。

1~3を繰り返していけばインストールが完了する。
移動したファイルが気になるなら、cygwinインストール後に元の場所に戻し、
cygwin上で

$ sh /etc/postinstall/gnuplot.sh

のように実行する。(なぜ止まっていたのかも分かる。)

 

起動

問題

起動しても、以下のメッセージが表示されてホームディレクトリに移動できない(ログインできない)

Copying skeleton files.
These files are for the user to personalise
their cygwin experience.
These will never be overwritten.
`./.bashrc' -> `/home/user//.bashrc'
`./.bash_profile' -> `/home/user//.bash_profile'
`./.inputrc' -> `/home/user//.inputrc'
Your group is currently "mkgroup". This indicates that
the /etc/group (and possibly /etc/passwd) files should be rebuilt.
See the man pages for mkpasswd and mkgroup then, for example, run
mkpasswd -l [-d] > /etc/passwd
mkgroup -l [-d] > /etc/group
Note that the -d switch is necessary for domain users.

bash3.2/$

解決法

表示のメッセージに従ってコマンドを実行する。

bash3.2/$ mkpasswd -l > /etc/passwd
bash3.2/$ mkgroup -l  > /etc/group

ドメインユーザーの場合は

bash3.2/$ mkpasswd –l –d > /etc/passwd
bash3.2/$ mkgroup –l -d > /etc/group

 

X

問題

Xを起動するとCPU使用率が100%になる。

解決法

エクスプローラから C:\cygwin\bin\ash.exe を起動し、以下のコマンドを実行する。

$ /bin/rebaseall

 

dllがコンフリクト(衝突)する

問題

Resource temporarily unavailableというエラーが起こる。

解決法

エクスプローラから C:\cygwin\bin\ash.exe を起動し、以下のコマンドを実行する。

$ /bin/rebaseall

 

 

携帯動画変換君が使えなくなる

問題

cygwin1.dllのエラーで変換ができなくなる。

解決法

cygwinのcygwin1.dllと携帯動画変換君のcygwin1.dllが異なることで起きるので、cygwin1.dllをコピーする。

copy /Y C:\cygwin\bin\cygwin1.dll <携帯動画変換君の cygwin1.dll のあるパス>

 

emacsが起動しない

問題

rebaseallを実行したあと、emacsが起動しなくなる。

解決法

setup.exeからLibsグループのlibncurses7を再インストールする。

書籍感想

ほしのあきサイバークローン

無料サンプル、ブログライター、ブログで口コミプロモーションならレビューブログ

フルみっく
伝染歌プレーヤー

急上昇キーワード

ゲーマータグ

Powered by Movable Type 4.25