#freeze
''目次''
#contents
~
----
*目的 [#dab151c9]
*準備 [#ld31d4a9]
-Readline -- http://directory.fsf.org/project/readline/~
ソース:readline-5.2.tar.gz
-Patch~
readline52-001〜readline52-012
*インストール [#x1da7145]
+ソースの取得~
/usr/local/srcにreadline-5.2.tar.gzを取得。
# wget -P /usr/local/src http://ftp.gnu.org/gnu/readline/readline-5.2.tar.gz
+Patchの取得~
/usr/local/srcにreadline52-001〜readline52-012を取得。
# wget -P /usr/local/src http://ftp.gnu.org/pub/gnu/readline/readline-5.2-patches/readline52-00{1,2,3,4,5,6,7,8,9}
# wget -P /usr/local/src http://ftp.gnu.org/pub/gnu/readline/readline-5.2-patches/readline52-0{10,11,12}
+ソースの解凍~
/usr/local/srcにreadline-5.2フォルダが作成される。
# cd /usr/local/src
# tar zxvf readline-5.2.tar.gz
+Patchの適用
# cd /usr/local/src/readline-5.2
# patch < ../readline52-001
# patch < ../readline52-002
# patch < ../readline52-003
# patch < ../readline52-004
# patch < ../readline52-005
# patch < ../readline52-006
# patch < ../readline52-007
# patch < ../readline52-008
# patch < ../readline52-009
# patch < ../readline52-010
# patch < ../readline52-011
# cd /usr/local/src/readline-5.2/support
# patch < ../../readline52-012
+コンパイル設定~
[[configureのヘルプ>Readline 5.2のconfigureヘルプ]]
# cd /usr/local/src/readline-5.2
# ./configure --prefix=/usr/local
+インストール
# make
# make install