So I setout to try a setup of Namecoin, the sibling to Bitcoin that is used for name/value storage and is the foundation for the dot-bit project. The dependencies were not explicitly laid out in the README so I wrote up the things I found I needed. Hopefully someone else doing the same thing will not have to do as much searching as I did.
Setup: namecoin version 0.3.24.64-beta
Target: Ubuntu 11.10 (x64), Amazon EC2 (Server) and Desktop
I built my install list from the headers that were missing from a mostly generic 11.10 install. The list of the errors I came across are below. Shoot me a line if anyone comes across other packages that need added to the list.
If you get this far you can start running namecoind which is well documented here: Post Install
If you have compilation errors you can read more after the jump.
Compilation error - libssl
123
In file included from auxpow.cpp:4:0:
headers.h:37:28: fatal error: openssl/buffer.h: No such file or directoy
compilation terminated.
Solution - libssl
1
sudo apt-get install libssl-dev
Compilation error - libdb
123
In file included from auxpow.cpp:4:0:
headers.h:43:20: fatal error: db_cxx.h: No such file or directory
compilation terminated.
Solution - libdb
1
sudo apt-get install libdb4.7++-dev
If that fails …
For some reason libdb4.7++-dev is not in the 11.10 server repositories, probably because the 4.7 and 4.7++ dev libraries have some conflicts. My workaround was to get 4.7++ and then manually install the 4.7++-dev.deb from launchpad. This is unstable and apt-get -f install will remove 4.7++-dev but for the compilation I didn’t have any extra issues. When I ran the install on my desktop 11.10 libdb4.7++-dev was in the repositories so you only get this error 11.10 server :|.