久しぶりに諸々のソフトの更新をしてみる。
readline
$ curl -O http://www.dnsbalance.ring.gr.jp/archives/GNU/readline/readline-5.2.tar.gz
$ tar zxvf readline-5.2.tar.gz
$ cd readline-5.2
$ curl -O http://www.dnsbalance.ring.gr.jp/archives/GNU/readline/readline-5.2-patches/readline52-001
$ patch -p0 < readline52-001
(略)
$ make
$ make install
gettext
$ curl -O http://www.dnsbalance.ring.gr.jp/archives/GNU/gettext/gettext-0.17.tar.gz
$ tar zxvf gettext-0.17.tar.gz
$ cd gettext-0.17
$ ./configure --prefix=$HOME
$ make
$ make install
Ruby
$ curl -O http://www.dnsbalance.ring.gr.jp/archives/lang/ruby/1.8/ruby-1.8.6-p111.tar.bz2
$ tar jxvf ruby-1.8.6-p111.tar.bz2
$ cd ruby-1.8.6-p111
$ make
$ make test
$ make install
$ ./configure --enable-shared --prefix=$HOME --with-readline-dir=$HOME
SWIG
http://prdownloads.sourceforge.net/swig/swig-1.3.33.tar.gzよりダウンロード
$ tar zxvf ~/Downloads/swig-1.3.33.tar.gz
$ cd swig-1.3.33/
$ ./configure --prefix=$HOME
$ make
$ make install
SQLite
$ curl -O http://www.sqlite.org/sqlite-3.5.4.tar.gz
$ tar zxvf sqlite-3.5.4.tar.gz
$ cd sqlite-3.5.4
$ ./configure --prefix=$HOME --disable-tcl --with-readline-dir=$HOME
$ maek
$ make test
$ make install
PostgreSQL
http://www.dnsbalance.ring.gr.jp/archives/misc/db/postgresql/source/v8.2.6/postgresql-8.2.6.tar.bz2をダウンロード
$ tar jxvf postgresql-8.2.6.tar.bz2
$ cd postgresql-8.2.6
$ ./configure --with-bonjour --prefix=$HOME --with-includes=$HOME/include --with-libraries=$HOME/lib --without-tcl
$ make
$ make check
$ make install
$ cd
$ initdb -D /Users/sadayuki/data
$ postgres -D /Users/sadayuki/data
(別の端末から)
$ psql
psql: FATAL: database "sadayuki" does not exist
$ createdb
$ psql
Welcome to psql 8.2.6, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit
sadayuki=#
MySQL
$ tar zxvf ~/Downloads/mysql-5.0.51.tar.gz
$ cd mysql-5.0.51/
$ ./configure --prefix=$HOME --with-readline-dir=$HOME --with-charset=utf8
$ make
$ make install
こちらの記事を参考に今回はソースコードからインストール
RubyGems
https://rubyforge.org/frs/download.php/29548/rubygems-1.0.1.tgzをダウンロード
$ tar zxvf rubygems-1.0.1.tgz
$ cd rubygems-1.0.1
$ ruby setup.rb --prefix=$HOME
$ PREFIX=$HOME
$ export GEM_HOME=$PREFIX/lib/ruby/gems/1.8
$ export RUBYLIB=$PREFIX/lib/ruby:$PREFIX/lib/site_ruby/1.8
$ ruby setup.rb all --prefix=$PREFIX
RubyGemsのマニュアルに従い、環境変数の設定をすることが肝要。
gems
$ gem install sqlite3-ruby
Bulk updating Gem source index for: http://gems.rubyforge.org
Building native extensions. This could take a while...
Successfully installed sqlite3-ruby-1.2.1
1 gem installed
Installing ri documentation for sqlite3-ruby-1.2.1...
Installing RDoc documentation for sqlite3-ruby-1.2.1...
$ gem install ruby-postgres
Building native extensions. This could take a while...
Successfully installed ruby-postgres-0.7.1.2006.04.06
1 gem installed
Installing ri documentation for ruby-postgres-0.7.1.2006.04.06...
Installing RDoc documentation for ruby-postgres-0.7.1.2006.04.06...
$ gem install mysql -- --with-mysql-dir=$HOME
Building native extensions. This could take a while...
Successfully installed mysql-2.7
1 gem installed
$ gem install rails
Successfully installed rake-0.8.1
Successfully installed activesupport-2.0.2
Successfully installed activerecord-2.0.2
Successfully installed actionpack-2.0.2
Successfully installed actionmailer-2.0.2
Successfully installed activeresource-2.0.2
Successfully installed rails-2.0.2
7 gems installed
(略)
$ gem install mongrel
Building native extensions. This could take a while...
Building native extensions. This could take a while...
Successfully installed gem_plugin-0.2.3
Successfully installed daemons-1.0.9
Successfully installed fastthread-1.0.1
Successfully installed cgi_multipart_eof_fix-2.5.0
Successfully installed mongrel-1.1.3
5 gems installed
$ gem install flexmock
Successfully installed flexmock-0.8.0
1 gem installed
$ gem install typo
Building native extensions. This could take a while...
Successfully installed rspec-1.1.1
Successfully installed ruby-debug-base-0.10.0
Successfully installed ruby-debug-0.10.0
Successfully installed typo-5.0.2
4 gems installed
$ gem install radiant
Successfully installed radiant-0.6.4
1 gem installed
$ curl -O http://www.deveiate.org/code/BlueCloth-1.0.0.gem
$ gem install BlueCloth-1.0.0.gem
s ソフトウェアの更新
f markdown
u 154d9dad-fa99-484c-85b5-ba302392f804