2011-10-23
■[Ruby][RVM][Cygwin]CygwinなRVMにreadlineを入れようとするとパッチが当たらない
エラーメッセージは
$ rvm pkg install readline
Fetching readline-5.2.tar.gz to /home/shingo/.rvm/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1989k 100 1989k 0 0 62929 0 0:00:32 0:00:32 --:--:-- 123k
100 1989k 100 1989k 0 0 61992 0 0:00:32 0:00:32 --:--:-- 61992Extracting readline-5.2.tar.gz to /home/shingo/.rvm/src
Applying patch '/home/shingo/.rvm/patches/readline-5.2/shobj-conf.patch'...
Configuring readline in /home/shingo/.rvm/src/readline-5.2.
Compiling readline in /home/shingo/.rvm/src/readline-5.2.
Installing readline to /home/shingo/.rvm/usr
Fetching readline-6.2.tar.gz to /home/shingo/.rvm/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2224k 100 2224k 0 0 28754 0 0:01:19 0:01:19 --:--:-- 119k
100 2224k 100 2224k 0 0 28599 0 0:01:19 0:01:19 --:--:-- 28599Extracting readline-6.2.tar.gz to /home/shingo/.rvm/src
Applying patch '/home/shingo/.rvm/patches/readline-6.2/patch-shobj-conf.diff'...
ERROR: Error running 'patch -p0 -f < /home/shingo/.rvm/patches/readline-6.2/patch-shobj-conf.diff', please read /home/shingo/.rvm/log/readline/patch.log
ERROR: Patch /home/shingo/.rvm/patches/readline-6.2/patch-shobj-conf.diff did not apply cleanly... back to the patching board :(
とかなります。
当てようとしていたパッチは
Mac OS X(darwin)向けのやつだったんで、~/.rvm/patches/readline-6.2/patch-shobj-conf.diffの中身は
全行削除!
再ビルドすると
平和に完了しましたw
$ rvm pkg install readline Fetching readline-5.2.tar.gz to /home/shingo/.rvm/archives Extracting readline-5.2.tar.gz to /home/shingo/.rvm/src Applying patch '/home/shingo/.rvm/patches/readline-5.2/shobj-conf.patch'... Configuring readline in /home/shingo/.rvm/src/readline-5.2. Compiling readline in /home/shingo/.rvm/src/readline-5.2. Installing readline to /home/shingo/.rvm/usr Fetching readline-6.2.tar.gz to /home/shingo/.rvm/archives Extracting readline-6.2.tar.gz to /home/shingo/.rvm/src Applying patch '/home/shingo/.rvm/patches/readline-6.2/patch-shobj-conf.diff'... Configuring readline in /home/shingo/.rvm/src/readline-6.2. Compiling readline in /home/shingo/.rvm/src/readline-6.2. Installing readline to /home/shingo/.rvm/usr
アップル
購入: 1人 クリック: 109回
購入: 1人 クリック: 109回
トラックバック - http://d.hatena.ne.jp/babydaemons/20111023/RVM_readline_on_Cygwin
リンク元
- 12 http://oryouri.m.2chblog.jp/article/6072890/comments?guid=ON
- 12 http://search.yahoo.co.jp/search?p=忘年会 ロゴ&search.x=1&fr=top_ga1_sa&tid=top_ga1_sa&ei=UTF-8&aq=&oq=
- 11 http://www.google.co.jp/url?sa=t&rct=j&q=名古屋合同忘年会&source=web&cd=3&sqi=2&ved=0CFcQFjAC&url=http://d.hatena.ne.jp/babydaemons/20111023/NGK2011B_Logo&ei=rm60ToKyGMrKmQWwxZTlAw&usg=AF
- 11 http://www.google.co.jp/url?sa=t&rct=j&q=忘年会 ロゴ&source=web&cd=3&ved=0CFcQFjAC&url=http://d.hatena.ne.jp/babydaemons/20111023/NGK2011B_Logo&ei=3MywTsqtJ-3RmAXo_PmHAg&usg=AFQjCNFq8_4DZoRhT0LvRmtOWg
- 7 http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cts=1331697717420&ved=0CDMQFjAA&url=http://d.hatena.ne.jp/babydaemons/20111023/RVM_readline_on_Cygwin&ctbs=lr:lang_1ja&ei=MRhgT9P2Nc_3mAXk-7TwBw&usg=AFQjCNGrDz7gOI1ABKrVrcCueGN
- 5 http://twitter.com/
- 5 http://www.google.co.jp/url?sa=t&rct=j&q=ngk2011b ロゴ&source=web&cd=3&ved=0CCkQFjAC&url=http://d.hatena.ne.jp/babydaemons/&ei=GEmlTvHqMqvomAW-pdSdCQ&usg=AFQjCNEKT1gKIa-4U438_JlYQiJ9KmtUrQ&cad=rja
- 5 http://www.ustream.tv/socialstream/7835821
- 4 http://search.yahoo.co.jp/search?p=ロゴ 忘年会&aq=-1&oq=&ei=UTF-8&fr=top_ga1_sa&x=wrt
- 4 http://search.yahoo.co.jp/search?p=新年会ロゴ&search.x=1&fr=top_ga1_sa22&tid=top_ga1_sa22&ei=UTF-8&aq=&oq=


















