トップ «前の日記(2005-01-02(日)) 最新 次の日記(2005-01-04(火))» 編集

とた日記


2005-01-03(月) 晴のち曇 安静時心拍数 45 [長年日記]

_ namazu with Chasen

Darts の野良インストール

% wget http://chasen.org/~taku/software/darts/src/darts-0.2.tar.gz
% tar zxf darts-0.2.tar.gz
% cd darts-0.2
% ./configure --prefix=$HOME
% make
% make install
% cd ..

ChaSen の野良インストール

% wget http://chasen.aist-nara.ac.jp/stable/chasen/chasen-2.3.3.tar.gz
% wget http://chasen.aist-nara.ac.jp/stable/chasen/chasen-2.3.3.20030821.patch
% wget http://chasen.aist-nara.ac.jp/stable/chasen/chasen-2.3.3.20030822.patch
% wget http://chasen.aist-nara.ac.jp/stable/chasen/chasen-2.3.3.20031024.patch
% tar zxf chasen-2.3.3.tar.gz
% cd chasen-2.3.3
% patch < ../chasen-2.3.3.20030821.patch
% patch < ../chasen-2.3.3.20030822.patch
% patch < ../chasen-2.3.3.20031024.patch
% ./configure --prefix=$HOME --with-darts=$HOME/include --with-libiconv=/usr/local
% make
% make install

Text-ChaSen の野良インストール perl/Makefile.PL の書き換え($HOME が /home/hoge のとき)

--- perl/Makefile.PL.orig       Sun Aug  6 19:19:40 2000
+++ perl/Makefile.PL    Mon Jan  3 15:30:11 2005
@@ -3,5 +3,5 @@
 WriteMakefile(
              'NAME' => 'Text::ChaSen',
              'VERSION_FROM' => 'ChaSen.pm',
-             'LIBS' => ['-lchasen']
+             'LIBS' => ['-L/home/hoge/lib -lchasen']
 );
% cd perl
% perl5.8.5 Makefile.PL PREFIX=$HOME
% make
% make install
% cd ../..

ipadic の野良インストール

% wget http://chasen.naist.jp/stable/ipadic/ipadic-2.7.0.tar.gz
% tar zxf ipadic-2.7.0.tar.gz
% cd ipadic-2.7.0
% ./configure --prefix=$HOME
% make
% make install

File-MMagic

% wget ftp://sunsite.sut.ac.jp/pub/archives/cpan/authors/id/K/KN/KNOK/File-MMagic-1.22.tar.gz
% tar zxf File-MMagic-1.22.tar.gz
% cd File-MMagic-1.22
% perl5.8.5 Makefile.PL LIB=$HOME/lib INSTALLMAN3DIR=$HOME/man
% make
% make install
% cd ..

namazu

% wget http://www.namazu.org/stable/namazu-2.0.14.tar.gz
% tar zxf namazu-2.0.14.tar.gz
% cd namazu-2.0.14
% ./configure --with-pmdir=$HOME/lib --prefix=$HOME
% make
% make install
% cd $HOME/public_html/namazu
% cp $HOME/libexec/namazu.cgi .
% cp $HOME/etc/namazu/namazurc-sample .namazurc
% cp mknmzrc-sample ~/.mknmzrc
% mknmz $HOME/diary/cache/html --output-dir=$HOME/namazu/index

_ portupgrade www/firefox x11-toolkits/open-motif

firefox-1.0_6,1             <  needs updating (port has 1.0_7,1)
open-motif-2.2.3            <  needs updating (port has 2.2.3_1)