$ tar xvfz namazu-2.0.9.tar.gz $ cd namazu-2.0.9 $ ./configure --enable-tknamazu (snip) checking for lynx... /usr/local/bin/lynx checking for File::MMagic perl module... File::MMagic version 1.12 required--this is only version 1.05 at -e line 1. BEGIN failed--compilation aborted at -e line 1. no configure: error: you need to install the included File-MMagic first The simplest way to install File-MMagic is: % cd File-MMagic % perl Makefile.PL % make % su # make install Then, simply run configure again. % cd .. % ./configure Or you can install File-MMagic to your home directory by the following way: % cd File-MMagic % perl Makefile.PL LIB=/home/foo/lib INSTALLMAN3DIR=/home/foo/man % make % make install Then, run configure again with --with-pmdir=DIR option. % cd .. % ./configure --with-pmdir=/home/foo/lib |
$ cd File-MMagic $ perl Makefile.PL $ make $ su # make install # exit |
$ cd .. $ ./configure --enable-tknamazu $ make $ make check $ su # make install # exit |
$ su # mknmz -O /path_to/index/ /path_to/htdocs/ Can't locate File/MMagic.pm in @INC (@INC contains: . /usr/lib/perl5/5.00502/i486-linux \ /usr/lib/perl5/5.00502 /usr/lib/perl5/site_perl/5.005/i486-linux /usr/lib/perl5/site_perl/5.005 .) \ at /usr/local/bin/mknmz line 34. BEGIN failed--compilation aborted at /usr/local/bin/mknmz line 34. |
$ cd File-MMagic $ make $ su # make install # exit |
# cp -p /usr/local/bin/namazu /usr/local/apache/cgi-bin/namazu.cgi # cd /usr/local/apache/cgi-bin/ # cp /usr/local/etc/namazu/namazurc-sample .namazurc |
You should use "namazu.cgi" instead of "namazu" command. |
# cp -p /usr/local/libexec/namazu.cgi /usr/local/apache/cgi-bin/ |