[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freewnn:00181] Re: make install すると実行できない
kaz です。
やはり、install すると動きません。
On Fri, Oct 08, 1999 at 03:59:45AM +0900,
kaz / Yasuhide OOMORI <dasen@typhoon.co.jp> wrote:
>
>rpm でインストールするときに /usr/bin/jserver に
>setuid ビットを立て忘れていたのが原因のようです…。
rpm は無関係でした。
$ tar zxf FreeWnn-1.1.1-a012.tar.gz -C /var/tmp/
$ cd /var/tmp/FreeWnn-1.1.1-a012/Xsi
$ patch <~/rpm/SOURCES/FreeWnn-dicdir.patch
$ ./configure --localstatedir=/var
$ make
$ su
# make install
# /usr/local/bin/Wnn4/jserver
Nihongo Multi Client Server (4.20)
: Can't bind socket.
# cd /usr/local/src/FreeWnn-1.1.1-a012/Xsi/Wnn/jserver/
# ./jserver
Nihongo Multi Client Server (4.20)
Reading /var/lib/wnn/ja_JP/dic/pubdic/kihon.dic Fid = 1
Reading /var/lib/wnn/ja_JP/dic/pubdic/setsuji.dic Fid = 2
Reading /var/lib/wnn/ja_JP/dic/pubdic/koyuu.dic Fid = 3
Reading /var/lib/wnn/ja_JP/dic/pubdic/chimei.dic Fid = 4
Reading /var/lib/wnn/ja_JP/dic/pubdic/jinmei.dic Fid = 5
Reading /var/lib/wnn/ja_JP/dic/pubdic/special.dic Fid = 6
Reading /var/lib/wnn/ja_JP/dic/pubdic/computer.dic Fid = 7
Reading /var/lib/wnn/ja_JP/dic/pubdic/symbol.dic Fid = 8
Reading /var/lib/wnn/ja_JP/dic/pubdic/tankan.dic Fid = 9
Reading /var/lib/wnn/ja_JP/dic/pubdic/bio.dic Fid = 10
Reading /var/lib/wnn/ja_JP/dic/pubdic/full.fzk Fid = 11
Finished Reading Files
# ls -l /usr/local/src/FreeWnn-1.1.1-a012/Xsi/Wnn/jserver/jserver /usr/local/bin/Wnn4/jserver
-rws--x--x 1 wnn root 108936 Oct 9 01:22 /usr/local/bin/Wnn4/jserver
-rwxrwxr-x 1 yasuhide yasuhide 140516 Oct 9 01:11 /usr/local/src/FreeWnn-1.1.1-a012/Xsi/Wnn/jserver/jserver
# file /usr/local/src/FreeWnn-1.1.1-a012/Xsi/Wnn/jserver/jserver /usr/local/bin/Wnn4/jserver
/usr/local/src/FreeWnn-1.1.1-a012/Xsi/Wnn/jserver/jserver: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), not stripped
/usr/local/bin/Wnn4/jserver: setuid ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), stripped
という状況です。make / make install のログは巨大すぎるので、
http://www.geocities.com/SiliconValley/Program/1018/linux/log_make.txt
http://www.geocities.com/SiliconValley/Program/1018/linux/log_make_install.txt
に置きました。参考になるでしょうか…?
--
kaz / 大森保英 (Yasuhide OOMORI)
mailto:dasen@typhoon.co.jp
http://www.geocities.com/SiliconValley/Program/1018/linux/
--- makerule.mk.in.orig Wed Sep 29 01:56:24 1999
+++ makerule.mk.in Thu Oct 7 04:44:52 1999
@@ -113,7 +113,7 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
PREFIX = @prefix@
- WNNWNNDIR = ${PREFIX}/lib/wnn
+ WNNWNNDIR = @localstatedir@/lib/wnn
WNNBINDIR = ${PREFIX}/bin
WNNINCDIR = @includedir@
WNNLIBDIR = @libdir@