./configure --prefix=/opt/local/tokyocabinet-1.2.1 make