Skip to content

Instantly share code, notes, and snippets.

@angerman
Created July 21, 2009 19:20
Show Gist options
  • Save angerman/151535 to your computer and use it in GitHub Desktop.
Save angerman/151535 to your computer and use it in GitHub Desktop.
# Installed TC to follow the following
# http://justin.harmonize.fm/index.php/tag/tokyo-cabinet/
# - Tokyocabinet: tokyocabinet-1.4.29
# - Java binding: tokyocabinet-java-1.22
$ export PREFIX=$HOME/Library/TokyoCabinet
$ export CFLAGS="-I${PREFIX}/include -arch x86_64"
$ export LDFLAGS="-L${PREFIX}/lib"
$ cd tokyocabinet-1.4.29 && ./configure --prefix=$PREFIX && make && make install
$ cd tokyocabinet-java-1.22 && ./configure --prefix=$PREFIX && make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment