master
1<?xml version="1.0" encoding="utf-8"?>
2<feed xmlns="http://www.w3.org/2005/Atom">
3
4 <title><![CDATA[Category: 11.10 | BryFry]]></title>
5 <link href="http://bryfry.github.com/blog/categories/11-10/atom.xml" rel="self"/>
6 <link href="http://bryfry.github.com/"/>
7 <updated>2013-03-05T07:22:42-05:00</updated>
8 <id>http://bryfry.github.com/</id>
9 <author>
10 <name><![CDATA[bryfry]]></name>
11
12 </author>
13 <generator uri="http://octopress.org/">Octopress</generator>
14
15
16 <entry>
17 <title type="html"><![CDATA[Namecoin on Ubuntu 11.10]]></title>
18 <link href="http://bryfry.github.com/blog/2011/11/26/namecoind-on-ubuntu-11-10-x64/"/>
19 <updated>2011-11-26T00:00:00-05:00</updated>
20 <id>http://bryfry.github.com/blog/2011/11/26/namecoind-on-ubuntu-11-10-x64</id>
21 <content type="html"><![CDATA[<p><img class="right" src="http://i.imgur.com/RJTsK.jpg" width="150" height="150" title="dot-bit" ></p>
22
23<p>So I setout to try a setup of <a href="https://github.com/vinced/namecoin">Namecoin</a>, the sibling to <a href="http://bitcoin.org/">Bitcoin</a> that is used for <a href="https://bitcointalk.org/?topic=6017.0">name/value storage</a> and is the foundation for the <a href="http://dot-bit.org/Main_Page">dot-bit project</a>. 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.</p>
24
25<ul>
26<li>Setup: namecoin version 0.3.24.64-beta</li>
27<li>Target: Ubuntu 11.10 (x64), Amazon EC2 (Server) and Desktop</li>
28</ul>
29
30
31<p><code>bash
32sudo apt-get install git build-essential libssl-dev \
33libdb4.7++-dev libboost-dev libboost-system-dev \
34libboost-filesystem-dev libboost-program-options-dev \
35libboost-thread-dev libglibmm-2.4-dev
36git clone git://github.com/vinced/namecoin.git
37cd namecoin/src
38make -f makefile.unix USE_UPNP=
39</code></p>
40
41<p>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.</p>
42
43<p>If you get this far you can start running namecoind which is well documented here: <a href="http://www.bluishcoder.co.nz/2011/05/12/namecoin-a-dns-alternative-based-on-bitcoin.html">Post Install</a></p>
44
45<p>If you have compilation errors you can read more after the jump.</p>
46
47<!--more-->
48
49
50<p><code>text Compilation error - libssl
51In file included from auxpow.cpp:4:0:
52headers.h:37:28: fatal error: openssl/buffer.h: No such file or directoy
53compilation terminated.
54</code></p>
55
56<p><code>bash Solution - libssl
57sudo apt-get install libssl-dev
58</code></p>
59
60<p><code>text Compilation error - libdb
61In file included from auxpow.cpp:4:0:
62headers.h:43:20: fatal error: db_cxx.h: No such file or directory
63compilation terminated.
64</code></p>
65
66<p><code>bash Solution - libdb
67sudo apt-get install libdb4.7++-dev
68</code></p>
69
70<p>If that fails ...
71For 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 :|.</p>
72
73<p><code>bash
74wget http://launchpadlibrarian.net/66419156/libdb4.7%2B%2B-dev_4.7.25-10ubuntu1_amd64.deb
75sudo dpkg -i --force-all libdb4.7++-dev_4.7.25-10ubuntu1_amd64.deb
76</code></p>
77
78<p><code>text Compilation error - libboost
79/usr/bin/ld: cannot find -lboost_system
80/usr/bin/ld: cannot find -lboost_filesystem
81/usr/bin/ld: cannot find -lboost_program_options
82/usr/bin/ld: cannot find -lboost_thread
83/usr/bin/ld: cannot find -lgthread-2.0
84</code></p>
85
86<p><code>bash Solution - libbost
87sudo apt-get install libboost-system-dev
88sudo apt-get install libboost-filesystem-dev
89sudo apt-get install libboost-program-options-dev
90sudo apt-get install libboost-thread-dev
91sudo apt-get install libglibmm-2.4-dev
92</code></p>
93
94<p>Resources used:
95<a
96href="http://www.bluishcoder.co.nz/2011/05/12/namecoin-a-dns-alternative-based-on-bitcoin.html">Bluish Coder</a></p>
97]]></content>
98 </entry>
99
100 <entry>
101 <title type="html"><![CDATA[Moving Window Buttons back to the right in Ubuntu 10.04+]]></title>
102 <link href="http://bryfry.github.com/blog/2011/06/10/moving-window-buttons-ubuntu/"/>
103 <updated>2011-06-10T00:00:00-04:00</updated>
104 <id>http://bryfry.github.com/blog/2011/06/10/moving-window-buttons-ubuntu</id>
105 <content type="html"><![CDATA[<p>I have gone and looked this up too many times. So for you and me both here is the long and short of it. The simple command that will move the windows buttons (minimize, maximize, and close) back to the right side, where all proper window buttons should be.</p>
106
107<p>``` bash</p>
108
109<h1>move windows back to the right side in Ubuntu 10.04+</h1>
110
111<p>$ gconftool-2 --set /apps/metacity/general/button_layout type string menu:minimize,maximize,close
112```</p>
113
114<p>Update: I have confirmed that this does also work with all Ubuntu distros up through 12.04</p>
115]]></content>
116 </entry>
117
118</feed>