[HOME] [戻る]

玄箱インストールmemo(expect)

目次

tcl-8.4.9 のインストール

コンパイル

tar zxf tgz/tcl8.4.9-src.tar.gz
cd tcl8.4.9/
cd unix
./configure --enable-shared --prefix=/usr
time make
real 8m12.243s
user 7m48.480s
sys 0m17.950s

インストール

su
make install

cd /usr/bin
ls -lt |head
-rwxr-xr-x  1 root root   15851 Feb  5 17:09 tclsh8.4

strip tclsh8.4

ls -lt |head
-rwxr-xr-x  1 root root    3776 Feb  5 17:11 tclsh8.4

cd /usr/bin
ln -s tclsh8.4 tclsh

cd /usr/lib
ls -lt |head
drwxr-xr-x   8 root root     4096 Feb  5 17:09 tcl8.4
-rw-r--r--   1 root root     1816 Feb  5 17:09 libtclstub8.4.a
-r-xr-xr-x   1 root root   866806 Feb  5 17:09 libtcl8.4.so
-rw-r--r--   1 root root     7055 Feb  5 17:09 tclConfig.sh

strip libtcl8.4.so

ls -lt
-r-xr-xr-x   1 root root   775128 Feb  5 17:13 libtcl8.4.so

expect-5.42.1のインストール

コンパイル

tar zxf tgz/expect-5.42.1.tar.gz
cd expect-5.42/
./configure --prefix=/usr
time make expect

real0m49.556s
user0m43.620s
sys0m5.570s

インストール

su
make install
/sbin/ldconfig

cd /usr/bin
ls -lt
-rwxr-xr-x  1 root root    7625 Feb  5 17:20 autoexpect
-rwxr-xr-x  1 root root     284 Feb  5 17:20 autopasswd
-rwxr-xr-x  1 root root    1279 Feb  5 17:20 cryptdir
-rwxr-xr-x  1 root root    1279 Feb  5 17:20 decryptdir
-rwxr-xr-x  1 root root    7852 Feb  5 17:20 dislocate
-rwxr-xr-x  1 root root     598 Feb  5 17:20 ftp-rfc
-rwxr-xr-x  1 root root   10800 Feb  5 17:20 kibitz
-rwxr-xr-x  1 root root    2534 Feb  5 17:20 lpunlock
-rwxr-xr-x  1 root root    5281 Feb  5 17:20 mkpasswd
-rwxr-xr-x  1 root root   30355 Feb  5 17:20 multixterm
-rwxr-xr-x  1 root root    4490 Feb  5 17:20 passmass
-rwxr-xr-x  1 root root    8803 Feb  5 17:20 rftp
-rwxr-xr-x  1 root root     415 Feb  5 17:20 rlogin-cwd
-rwxr-xr-x  1 root root     218 Feb  5 17:20 timed-read
-rwxr-xr-x  1 root root     192 Feb  5 17:20 timed-run
-rwxr-xr-x  1 root root   11276 Feb  5 17:20 tknewsbiff
-rwxr-xr-x  1 root root   16584 Feb  5 17:20 tkpasswd
-rwxr-xr-x  1 root root     361 Feb  5 17:20 unbuffer
-rwxr-xr-x  1 root root    1990 Feb  5 17:20 weather
-rwxr-xr-x  1 root root    4777 Feb  5 17:20 xkibitz
-rwxr-xr-x  1 root root    6519 Feb  5 17:20 xpstat
-rwxr-xr-x  1 root root  195678 Feb  5 17:20 expect

strip -p expect

ls -lt
-rwxr-xr-x  1 root root  159260 Feb  5 17:20 expect

使い方


2005/02/05
ご意見・ご感想は,こちらの掲示板 まで.