./configure とすると次のようになる(一部)
checking for perl... /usr/pkg/bin/perl
checking for NKF module... yes
checking for Text::Kakasi module... no
checking for kakasi... /usr/local/bin/kakasi
checking for Text::ChaSen1 module... no
checking for chasen... no
checking for OPT_WAKATI_DEFAULT... KAKASI
....
checking for webmaster's email address... webmaster@foobar.jp


$ perl -MText::Kakasi -e '' 1 > /dev/null 2 > /dev/null  
Can't load '/usr/pkg/lib/perl5/site_perl/powerpc-netbsd/auto/Text/Kakasi/Kakasi.so' for module Text::Kakasi: /usr/pkg/lib/perl5/site_perl/powerpc-netbsd/auto/Text/Kakasi/Kakasi.so: Unsupported relocation type 4 in non-PLT relocations

 at -e line 0
BEGIN failed--compilation aborted.
$ 
Unsupported relocation type 4 in non-PLT relocations

./configure --help とすると次のような字が表示されている

  --with-admin=EMAIL      set webmaster's email address [webmaster@foobar.jp]

そこで、libkakasi.a,libkakasi.so, libchasen.a, libchasen.so
を -fPIC で (つまり CFLAGS に -fPIC を追加してから)作り直してから、
 ./configure --with-admin=makoto@ki.nu 
とする。
今度は大丈夫。

checking for perl... /usr/pkg/bin/perl
checking for NKF module... yes
checking for Text::Kakasi module... yes
checking for Text::ChaSen1 module... yes
checking for OPT_WAKATI_DEFAULT... KAKASI

make

# make install
/bin/sh ../mkinstalldirs /usr/local/namazu/bin
mkdir /usr/local/namazu
mkdir /usr/local/namazu/bin
  /usr/bin/install -c  namazu /usr/local/namazu/bin/namazu
/bin/sh ../mkinstalldirs /usr/local/namazu/bin
 /usr/bin/install -c  clnmz /usr/local/namazu/bin/clnmz
 /usr/bin/install -c  gcnmz /usr/local/namazu/bin/gcnmz
 /usr/bin/install -c  mailutime /usr/local/namazu/bin/mailutime
 /usr/bin/install -c  mknmz /usr/local/namazu/bin/mknmz
 /usr/bin/install -c  rvnmz /usr/local/namazu/bin/rvnmz
 /usr/bin/install -c  vfnmz /usr/local/namazu/bin/vfnmz
 /usr/bin/install -c  wdnmz /usr/local/namazu/bin/wdnmz
 /usr/bin/install -c  gtnmz /usr/local/namazu/bin/gtnmz
# 

set path = ( $path /usr/local/namazu/bin )


Last Update
19:53:39 03/12/08
Count.cgi
(since 1999/05/31)