28 KiB
28 KiB
title | author | date | url | wordtwit_post_info | categories | |||
---|---|---|---|---|---|---|---|---|
WiLikiのインストールに失敗する | kazu634 | 2010-04-07 | /2010/04/07/_1507/ |
|
|
Lispを使えるようになりたい自分がなぜ Pukiwiki を導入しているのかと気づき、 WiLiki を導入する…だが、 make check に失敗する。なぜだろう???
kazu634@srv634% ll /var/samba/convert/WiLiKi-0.6.1 [9133] 合計 236K -rw-r--r-- 1 nobody nogroup 28 2008-01-11 22:52 AUTHORS -rw-r--r-- 1 nobody nogroup 1.2K 2009-03-17 10:27 COPYING -rw-r--r-- 1 nobody nogroup 34K 2009-03-17 10:36 ChangeLog -rw-r--r-- 1 nobody nogroup 179 2009-03-17 09:07 HACKING -rw-r--r-- 1 nobody nogroup 499 2009-03-17 09:08 INSTALL -rw-r--r-- 1 root root 1.9K 2010-04-07 22:36 Makefile -rw-r--r-- 1 nobody nogroup 1.9K 2008-02-01 11:38 Makefile.in -rw-r--r-- 1 nobody nogroup 86 2009-03-17 09:08 NEWS -rw-r--r-- 1 nobody nogroup 139 2009-03-17 09:07 README -rw-r--r-- 1 nobody nogroup 6 2010-04-07 22:36 VERSION -rw-r--r-- 1 root root 155 2010-04-07 22:36 WiLiKi.gpd drwxr-xr-x 2 nobody nogroup 4.0K 2008-01-11 22:52 bin -rw-r--r-- 1 root root 4.2K 2010-04-07 22:36 config.log -rwxr-xr-x 1 root root 21K 2010-04-07 22:36 config.status -rwxr-xr-x 1 nobody nogroup 78K 2009-03-17 10:36 configure -rw-r--r-- 1 nobody nogroup 1.9K 2009-03-17 09:09 configure.in drwxr-xr-x 3 nobody nogroup 4.0K 2010-04-07 22:36 doc drwxr-xr-x 2 nobody nogroup 4.0K 2008-01-11 22:52 emacs -rwxr-xr-x 1 nobody nogroup 5.5K 2008-01-11 22:52 install-sh drwxr-xr-x 2 nobody nogroup 4.0K 2009-03-17 10:26 old drwxr-xr-x 2 nobody nogroup 4.0K 2010-04-07 22:36 po drwxr-xr-x 3 nobody nogroup 4.0K 2010-04-07 22:36 src drwxr-xr-x 2 nobody nogroup 4.0K 2010-04-07 22:36 test drwxr-xr-x 3 nobody nogroup 4.0K 2008-04-05 05:32 util kazu634@srv634% ./configure /var/samba/convert/WiLiKi-0.6.1 [9134] ./configure: 53: cannot create conf1186.sh: Permission denied ./configure: 53: cannot create conf1186.sh: Permission denied chmod: `conf1186.sh'にアクセスできません: No such file or directory ./configure: line 44: conf1186.sh: Permission denied ./configure: line 45: conf1186.sh: Permission denied chmod: cannot access `conf1186.sh': No such file or directory mkdir: cannot create directory `conf1186.dir': Permission denied ./configure: line 499: conf1186.file: Permission denied ./configure: line 1271: config.log: Permission denied ./configure: line 1281: config.log: Permission denied kazu634@srv634% sudo ./configure /var/samba/convert/WiLiKi-0.6.1 [9135] [sudo] password for kazu634: checking for gosh... /usr/bin/gosh checking for gauche-config... /usr/bin/gauche-config checking for gauche-package... /usr/bin/gauche-package checking for gauche-install... /usr/bin/gauche-install checking for gauche-cesconv... /usr/bin/gauche-cesconv configure: creating WiLiKi.gpd configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating test/Makefile config.status: creating po/Makefile kazu634@srv634% sudo make /var/samba/convert/WiLiKi-0.6.1 [9136] cd src; make make[1]: ディレクトリ `/var/samba/convert/WiLiKi-0.6.1/src' に入ります /usr/bin/gosh ./gen-version ../VERSION > wiliki/version.scm make[1]: ディレクトリ `/var/samba/convert/WiLiKi-0.6.1/src' から出ます cd doc; make make[1]: ディレクトリ `/var/samba/convert/WiLiKi-0.6.1/doc' に入ります make[1]: `all' に対して行うべき事はありません. make[1]: ディレクトリ `/var/samba/convert/WiLiKi-0.6.1/doc' から出ます cd po; make make[1]: ディレクトリ `/var/samba/convert/WiLiKi-0.6.1/po' に入ります make[1]: `all' に対して行うべき事はありません. make[1]: ディレクトリ `/var/samba/convert/WiLiKi-0.6.1/po' から出ます kazu634@srv634% sudo make check /var/samba/convert/WiLiKi-0.6.1 [9137] cd test; make check make[1]: ディレクトリ `/var/samba/convert/WiLiKi-0.6.1/test' に入ります echo "/usr/bin/gosh" > gosh-path Testing core ... passed. Testing formatter ... passed. Testing logger ... passed. Testing edit ... passed. Testing rss ... gosh: "error": Compile Error: Compile Error: cannot find file "gauche/experimental/app.scm" in *load-path* ("../src" "." "/usr/share/gauche/site/lib" "/usr/share/gauche/0.8.13/lib") "../src/wiliki/rss.scm":32:(define-module wiliki.rss (use gauch ... "./rss.scm":7:(use wiliki.rss) Testing wiliki ... passed. make[1]: ディレクトリ `/var/samba/convert/WiLiKi-0.6.1/test' から出ます
とりあえずインストールしてみて、記事をプレビューするとこんな感じのエラーメッセージが。。。
couldn't open gdbm file "/home/kazu634/data/wikidata.dbm" (gdbm_errno=3) *** ERROR: couldn't open gdbm file "/home/kazu634/data/wikidata.dbm" (gdbm_errno=3) Stack Trace: _______________________________________ (call-with-output-string (cut with-error-to-port <> (cut report-er ... At line 259 of "/usr/share/gauche/site/lib/wiliki/core.scm" 1 (make <wiliki-page> :title (string-append "" (x->string (title-of ... At line 254 of "/usr/share/gauche/site/lib/wiliki/core.scm" 2 on-error 3 (gdbm-open path (slot-ref self 'bsize) rwopt (slot-ref self 'file- ... At line 88 of "/usr/share/gauche/0.8.13/lib/dbm/gdbm.scm" 4 (gdbm-open path (slot-ref self 'bsize) rwopt (slot-ref self 'file- ... At line 88 of "/usr/share/gauche/0.8.13/lib/dbm/gdbm.scm" 5 (gdbm-open path (slot-ref self 'bsize) rwopt (slot-ref self 'file- ... At line 88 of "/usr/share/gauche/0.8.13/lib/dbm/gdbm.scm" 6 (gdbm-open path (slot-ref self 'bsize) rwopt (slot-ref self 'file- ... At line 88 of "/usr/share/gauche/0.8.13/lib/dbm/gdbm.scm" 7 (gdbm-open path (slot-ref self 'bsize) rwopt (slot-ref self 'file- ... At line 88 of "/usr/share/gauche/0.8.13/lib/dbm/gdbm.scm" 8 (gdbm-open path (slot-ref self 'bsize) rwopt (slot-ref self 'file- ... At line 88 of "/usr/share/gauche/0.8.13/lib/dbm/gdbm.scm" 9 (gdbm-open path (slot-ref self 'bsize) rwopt (slot-ref self 'file- ... At line 88 of "/usr/share/gauche/0.8.13/lib/dbm/gdbm.scm" 10 (gdbm-open path (slot-ref self 'bsize) rwopt (slot-ref self 'file- ... At line 88 of "/usr/share/gauche/0.8.13/lib/dbm/gdbm.scm" 11 (gdbm-open path (slot-ref self 'bsize) rwopt (slot-ref self 'file- ... At line 88 of "/usr/share/gauche/0.8.13/lib/dbm/gdbm.scm" 12 (gdbm-open path (slot-ref self 'bsize) rwopt (slot-ref self 'file- ... At line 88 of "/usr/share/gauche/0.8.13/lib/dbm/gdbm.scm" 13 (gdbm-open path (slot-ref self 'bsize) rwopt (slot-ref self 'file- ... At line 88 of "/usr/share/gauche/0.8.13/lib/dbm/gdbm.scm" 14 (gdbm-open path (slot-ref self 'bsize) rwopt (slot-ref self 'file- ... At line 88 of "/usr/share/gauche/0.8.13/lib/dbm/gdbm.scm" 15 (gdbm-open path (slot-ref self 'bsize) rwopt (slot-ref self 'file- ... At line 88 of "/usr/share/gauche/0.8.13/lib/dbm/gdbm.scm" 16 (gdbm-open path (slot-ref self 'bsize) rwopt (slot-ref self 'file- ... At line 88 of "/usr/share/gauche/0.8.13/lib/dbm/gdbm.scm" 17 (gdbm-open path (slot-ref self 'bsize) rwopt (slot-ref self 'file- ... At line 88 of "/usr/share/gauche/0.8.13/lib/dbm/gdbm.scm" 18 (gdbm-open path (slot-ref self 'bsize) rwopt (slot-ref self 'file- ... At line 88 of "/usr/share/gauche/0.8.13/lib/dbm/gdbm.scm" 19 (db-try-open path type rwmode) At line 686 of "/usr/share/gauche/site/lib/wiliki/core.scm" 20 proc 21 (with-error-handler (lambda (e) (let ((e e)) (%guard-rec e e (else ... [unknown location]
ちなみに wiliki.cgi の内容は以下:
(define (main args) (wiliki-main (make <wiliki> :db-path "/home/kazu634/data/wikidata.dbm" :top-page "WiLiKi" :title "MyWiliki" :description "Shiro's Wiliki Site" :style-sheet "wiliki.css" :language 'jp :charsets '((jp . utf-8) (en . utf-8)) :image-urls '((#/^http:\/\/sourceforge.net\/sflogo/ allow)) :debug-level 0 )))