![]() ![]() ![]() I’m working in Eclipse, and the Java driver of KyotoCabinet needs the LD_LIBRARY_PATH set. (sudo) make install Integrating KyotoCabinet in Eclipse Now make will work, and you can install regularly: make To the CPPFLAGS parameter in the Makefile that configure created. There probably is a less hacky solution than this, but I simply appended the line -I/System/Library/Frameworks/amework/Versions/A/Headers Still, make did not find the jni.h, looking in the wrong places. If you are using HomeBrew or install KyotoCabinet directly from source, don’t add the –with-kc=… parameter to configure. My solution was as follows: tar xzvf kyotocabinet-java-1.24.tar.gzĬPPFLAGS="-I/System/Library/Frameworks/amework/Versions/A/Headers". I first got the latest Java driver, but configure was first not finding the MacPorts KyotoCabinet installation (which makes sense and can be easily remedied) and secondly it was missing the jni header. However, AIDA is written in Java, which complicated things a bit. I’m using MacPorts, and a simple port install kyotocabinet Getting KyotoCabinet on my Mac was straightforward. A bit of further research showed that for our application ( AIDA – source available), in which we do lots of random reads, KyotoCabinet outperforms all other interesting solutions in that respect. Looking around for a good and simple key-value store to use in my current project, friends recommended KyotoCabinet. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |