2011年3月3日木曜日

hostmonster namazu にword excel pdf 検索追加

ワード検索用
wvWareをインストール
  1. //downloadはftp  
  2. []#tar zxvf wv-1.2.4.tar.gz  
  3. []#cd wv-1.2.4  
  4. []#./configure --prefix=/home3/xxxxxx/wvware //ファイルがいっぱいできるといやなのでとりあえず  
  5. []#make  
  6. []#make install  
エラーもなくインストール完了。。
mknmzrc 修正

インデックスを作り直してみる。
やっぱり、そう簡単にはうまくいかないか。。^^

うまくいかないので、とりあえず次

  1. //downloadはftp  
  2. //xlhtml-0.4.9.3  
  3. []#./configure --prefix=/home3/xeepipne/xlhtml  
  4. checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized  
  5. configure: error: /bin/sh ./config.sub x86_64-unknown-linux-gnu failed.  
  6. //失敗ですんで 以下  
  7. []# ./configure --prefix=/home3/xeepipne/xlhtml --build=x86-unknown-linux-gnu  
  8. /成功しました  
  9. []#make  
  10. []#make install  
  11. export PATH=$PATH:/home3/xxxxxx/xlhtml/bin  
  12. //namazu index作成 excel は成功した模様 wordダメ!  

wvwareがダメな原因は、ファイル名がUTF-8だったため

  1. []#export PATH=$PATH:/home3/xxxxxx/wvware/bin:/home3/xxxxxx/xlhtml/bin  
  2. []#/home3/xxxxxx/namazu/bin/mknmz -k /home3/xxxxxx/public_html/svnwork -O /home3/xeepipne/svn_nmzidx  
で、ワード、エクセルの検索が可能になりました。


namazu-cmd.c 338

0 件のコメント:

コメントを投稿