http://collectivemeta.com/m6dr3
ログ:
[root@asukaweb ~]# ruby -v -bash: ruby: command not found [root@asukaweb ~]# yum install checkinstall Loaded plugins: downloadonly, fastestmirror, priorities Determining fastest mirrors * base: ftp.riken.jp * extras: ftp.riken.jp * rpmforge: fr2.rpmfind.net * updates: ftp.riken.jp addons | 951 B 00:00 base | 1.1 kB 00:00 base/primary | 961 kB 00:07 base 2705/2705 extras | 2.1 kB 00:00 extras/primary_db | 153 kB 00:01 rpmforge | 1.1 kB 00:00 rpmforge/primary | 4.0 MB 00:25 rpmforge 10997/10997 updates | 1.9 kB 00:00 updates/primary_db | 134 kB 00:01 108 packages excluded due to repository priority protections Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package checkinstall.i386 0:1.6.0-3.el5.rf set to be updated --> Finished Dependency Resolution Dependencies Resolved ========================================================================================== Package Arch Version Repository Size ========================================================================================== Installing: checkinstall i386 1.6.0-3.el5.rf rpmforge 82 k Transaction Summary ========================================================================================== Install 1 Package(s) Upgrade 0 Package(s) Total download size: 82 k Is this ok [y/N]: y Downloading Packages: checkinstall-1.6.0-3.el5.rf.i386.rpm | 82 kB 00:01 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : checkinstall 1/1 Installed: checkinstall.i386 0:1.6.0-3.el5.rf Complete! [root@asukaweb ~]# [root@asukaweb ~]# yum install rpm-build Loaded plugins: downloadonly, fastestmirror, priorities Loading mirror speeds from cached hostfile * base: ftp.riken.jp * extras: ftp.riken.jp * rpmforge: fr2.rpmfind.net * updates: ftp.riken.jp 108 packages excluded due to repository priority protections Setting up Install Process Package rpm-build-4.4.2.3-22.el5.i386 already installed and latest version Nothing to do [root@asukaweb ~]# [root@asukaweb ~]# wget ftp://core.ring.gr.jp/pub/lang/ruby/1.9/ruby-1.9.2-p290.tar.gz --2011-09-15 05:38:51-- ftp://core.ring.gr.jp/pub/lang/ruby/1.9/ruby-1.9.2-p290.tar.gz => `ruby-1.9.2-p290.tar.gz' core.ring.gr.jp をDNSに問いあわせています... 133.23.250.240 core.ring.gr.jp|133.23.250.240|:21 に接続しています... 接続しました。 anonymous としてログインしています... ログインしました! ==> SYST ... 完了しました。 ==> PWD ... 完了しました。 ==> TYPE I ... 完了しました。 ==> CWD /pub/lang/ruby/1.9 ... 完了しました。 ==> SIZE ruby-1.9.2-p290.tar.gz ... 11182217 ==> PASV ... 完了しました。 ==> RETR ruby-1.9.2-p290.tar.gz ... 完了しました。 長さ: 11182217 (11M) 100%[================================================>] 11,182,217 165K/s 時間 66s 2011-09-15 05:39:57 (166 KB/s) - `ruby-1.9.2-p290.tar.gz' へ保存終了 [11182217] [root@asukaweb ~]# cd ruby-1.9.1-p290 [root@asukaweb ~]# ./configure --prefix=/usr [root@asukaweb ~]# make [root@asukaweb ~] /usr/sbin/checkinstall --fstrans=no Writing backup package...OK Deleting temp dir...OK ********************************************************************** Done. The new package has been saved to /usr/src/redhat/RPMS/i386/ruby-1.9.2-p290-1.i386.rpm You can install it in your system anytime using: rpm -i ruby-1.9.2-p290-1.i386.rpm ********************************************************************** [root@asukaweb ruby-1.9.2-p290]# [root@asukaweb ruby-1.9.2-p290]# rpm -ivh /usr/src/redhat/RPMS/i386/ruby-1.9.2-p290-1.i386.rpm 準備中... ########################################### [100%] 1:ruby-1.9.2 ########################################### [100%] [root@asukaweb ruby-1.9.2-p290]# ruby -v ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux] [root@asukaweb ruby-1.9.2-p290]#
source code
0 件のコメント:
コメントを投稿