Berkeley DBが入っていないとエラーになるのでインストールする。
apt-getでは、以下の様な感じ。
$ sudo apt-cache search libdb $ sudo apt-get install libdb-dev
あとはcpanmなどで普通にインストールできる。
もし「db.hがない」というエラーが出たら、
tarを持ってきてconfig.inの以下の部分を編集する。
# 1. Where is the file db.h? # # Change the path below to point to the directory where db.h is # installed on your system. INCLUDE= /usr/local/BerkeleyDB/include #INCLUDE= /usr/local/include #INCLUDE= /usr/include # 2. Where is libdb? # # Change the path below to point to the directory where libdb is # installed on your system. LIB= /usr/local/BerkeleyDB/lib #LIB= /usr/local/lib #LIB= /usr/lib
編集したら、手でコンパイル。