前に戻る??|次をみる。 ??|slackware9.1に ついて に戻る
今回は canna です
canna の 入手 と設定
root@lx:~# cd /usr/local/src/
root@lx:/usr/local/src# mkdir canna
root@lx:/usr/local/src# cd canna/
root@lx:/usr/local/src/canna# mv /mnt/home/mm/f_bkdata/Canna36p4* .
root@lx:/usr/local/src/canna# ls -l
total 1428
-rw------- 1 root root 887 Dec 12 13:58 Canna36p4-conf.patch.gz
-rw------- 1 root root 1455672 Dec 12 13:58 Canna36p4.tar.gz
展開します
root@lx:/usr/local/src/canna# tar zxvf Canna36p4.tar.gz
root@lx:/usr/local/src/canna# cd Canna36p4/
root@lx:/usr/local/src/canna/Canna36p4# zcat ../Canna36p4-conf.patch.gz | patch -p1
-p1
patching file Canna.conf
拝! xmkmf です
root@lx:/usr/local/src/canna/Canna36p4# xmkmf
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
次 は make Makefile です
root@lx:/usr/local/src/canna/Canna36p4# make Makefile
+ rm -f Makefile.bak
+ mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/X11R6/lib/X11/config -Wundef -DTOPDIR=. -DCURDIR=.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make canna です
root@lx:/usr/local/src/canna/Canna36p4# make canna
Wed Dec 15 23:46:22 JST 2004
root@lx:/usr/local/src/canna/Canna36p4# make DESTDIR=$PWD/tmp install
ake[1]: Entering directory `/usr/local/src/canna/Canna36p4/doc'
install in doc done
make[1]: Leaving directory `/usr/local/src/canna/Canna36p4/doc'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
良く理解してません まね まね です
root@lx:/usr/local/src/canna/Canna36p4# make DESTDIR=$PWD/tmp JMNLOCALE=$LANG install.man
make[1]: Entering directory `/usr/local/src/canna/Canna36p4/doc'
install.man in doc done
make[1]: Leaving directory `/usr/local/src/canna/Canna36p4/doc'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
この一連の 作業 理解せねば!!
root@lx:/usr/local/src/canna/Canna36p4# chmod +x misc/rc.canna
root@lx:/usr/local/src/canna/Canna36p4# mkdir -p tmp/etc/rc.d
root@lx:/usr/local/src/canna/Canna36p4# cp -p misc/rc.canna tmp/etc/rc.d/.
root@lx:/usr/local/src/canna/Canna36p4# cd tmp/
root@lx:/usr/local/src/canna/Canna36p4/tmp# mkdir install
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ここいらも slackware さんの 流儀でしょう!!
root@lx:/usr/local/src/canna/Canna36p4/tmp# vi install/slack-desc
wrote install/slack-desc, 5 lines, 93 chars
root@lx:/usr/local/src/canna/Canna36p4/tmp# cat install/slack-desc
Canna:Non make Canna36p4
Canna:
Canna:Canna36p4.tar.gz+
Canna:Canna36p4-conf.patch.gz
Canna:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
slackware さんの 独自 の 流儀でしょうしらないだけです
root@lx:/usr/local/src/canna/Canna36p4/tmp# makepkg -l y -c n Canna-36p4-i386-1.tgz
Gzipping Canna-36p4-i386-1.tar...
Renaming Canna-36p4-i386-1.tar.gz to Canna-36p4-i386-1.tgz...
Package creation complete.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
同じく これで インストール してる 様です
root@lx:/usr/local/src/canna/Canna36p4/tmp# installpkg Canna-36p4-i386-1.tgz
Installing package Canna-36p4-i386-1...
PACKAGE DESCRIPTION:
Canna:Non make Canna36p4
Canna:
Canna:Canna36p4.tar.gz+
Canna:Canna36p4-conf.patch.gz
Canna:
Executing install script for Canna-36p4-i386-1...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
サービス の確認
root@lx:/usr/local/src/canna/Canna36p4/tmp# cat /etc/services | grep canna
canna 5680/tcp #Canna (Japanese Input)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rc.canna の 出来てるのを 確認
root@lx:/usr/local/src/canna/Canna36p4/tmp# cd /etc/rc.d/
root@lx:/etc/rc.d# ls
rc.0@ rc.acpid* rc.font.sample* rc.inet2* rc.modules* rc.sendmail
rc.4* rc.alsa* rc.gpm* rc.inetd* rc.mysqld rc.serial*
rc.6* rc.atalk rc.hotplug* rc.ip_forward rc.nfsd* rc.sshd*
rc.K* rc.bind rc.httpd rc.keymap* rc.pcmcia rc.syslog*
rc.M* rc.canna* rc.inet1* rc.local* rc.portmap rc.sysvinit*
rc.S* rc.cups rc.inet1.conf rc.lprng rc.samba rc.yp*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
起動 させましょう その設定
root@lx:/etc/rc.d# cat rc.local
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local setup commands in here:
root@lx:/etc/rc.d# sed /^#/d rc.local
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
何も内容は 無いようなので
root@lx:/etc/rc.d# vi rc.local
reading rc.local
wrote rc.local, 8 lines, 177 chars
root@lx:/etc/rc.d# sed /^#/d rc.local
if [ -x /etc/rc.d/rc.canna ]; then
/etc/rc.d/rc.canna start
fi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
停止 させましょう その設定
root@lx:/etc/rc.d# vi rc.6
wrote rc.6, 183 lines, 4857 chars
root@lx:/etc/rc.d# diff -s rc.6 rc.6_og
53,56d52
< #Stop canna
< if [ -x /etc/rc.d/rc.canna ]; then
< /etc/rc.d/rc.canna stop
< fi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
slackware を 理解せなば なんねい!!
一応 此処まで
闇雲に行ったが ”xmkmf”、 ”makepkg -l y -c n”、”installpkg ”のよ うな 手順 理解せねばなんねい!拝!!!
前に戻る??|次をみる。??|slackware9.1 に ついて に戻る
Copyright © 2004.-2007. nyantarou All Rights Reserved.