<p>It worked for me after typing:</p>

<pre><code>sudo apt-get install libboost-all-dev libdb++-dev libminiupnpc-dev
</code></pre>

CC BY-SA 4.0
2013-06-02T10:58:42.533Z
2019-01-09T08:16:30.317Z
2019-01-09T08:16:30.317Z
user5383
<p>The file <a href="https://github.com/coblee/litecoin/blob/master/doc/build-unix.txt" rel="nofollow">~/litecoin/doc/build-unix.txt</a> contains build instructions.  The one you're missing is on line 61:</p>

<pre><code>sudo apt-get install libboost-all-dev
</code></pre>

CC BY-SA 3.0
2012-03-11T05:25:44.597Z
2012-03-11T05:25:44.597Z
Chris Moore
<p>I am trying to compile litecoind on Ubuntu 11.10 i386 server.</p>

<p>I used this recipe I found:</p>

<pre><code>git clone https://github.com/coblee/litecoin.git
cd ~/litecoin/src/
make -f makefile.unix litecoind
mkdir ~/.litecoin/
</code></pre>

<p>But I am stuck there:</p>

<pre><code>make -f makefile.unix litecoind
</code></pre>

<p>I get:</p>

<pre><code># make -f makefile.unix litecoind
makefile.unix:138: warning: overriding commands for target `obj/nogui/scrypt.o'
makefile.unix:135: warning: ignoring old commands for target `obj/nogui/scrypt.o'
g++ -c -pthread -Wno-invalid-offsetof -Wformat -g -DNOPCH  -DUSE_UPNP=0 -DUSE_SSL -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -o obj/nogui/checkpoints.o checkpoints.cpp
checkpoints.cpp:5:59: fatal error: boost/assign/list_of.hpp: No such file or directory
compilation terminated.
make: *** [obj/nogui/checkpoints.o] Error 1
</code></pre>

<p>Anyone know what is going wrong? Seem like a file missing or a problem with the compiler. Also failed on Ubuntu server 11.10 x64...</p>

<hr>

<p>In that case the solution is:</p>

<pre><code>sudo apt-get install libboost-all-dev
</code></pre>

<p>Thank's to David Schwartz for his help.</p>

CC BY-SA 3.0
2012-03-11T02:32:48.627Z
Do you have the Boost libraries installed? Did you install whatever package provides "list_of.hpp"? (It may be `boost-devel`. Use your distribution's package management tools to find out.)
David Schwartz
CC BY-SA 3.0
2012-03-11T02:45:20.980Z
Thank's for your help needed the boost library to compile.
01BTC10
<litecoin><server><compiling>
g++ problem compiling litecoind on Ubuntu Server i386
01BTC10
# g++ problem compiling litecoind on Ubuntu Server i386

(Asked by: username_0 on 2012-03-11)

I am trying to compile litecoind on Ubuntu 11.10 i386 server.

I used this recipe I found:

```
git clone https://github.com/coblee/litecoin.git
cd ~/litecoin/src/
make -f makefile.unix litecoind
mkdir ~/.litecoin/

```

But I am stuck there:

```
make -f makefile.unix litecoind

```

I get:

```
# make -f makefile.unix litecoind
makefile.unix:138: warning: overriding commands for target `obj/nogui/scrypt.o'
makefile.unix:135: warning: ignoring old commands for target `obj/nogui/scrypt.o'
g++ -c -pthread -Wno-invalid-offsetof -Wformat -g -DNOPCH  -DUSE_UPNP=0 -DUSE_SSL -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -o obj/nogui/checkpoints.o checkpoints.cpp
checkpoints.cpp:5:59: fatal error: boost/assign/list_of.hpp: No such file or directory
compilation terminated.
make: *** [obj/nogui/checkpoints.o] Error 1

```

Anyone know what is going wrong? Seem like a file missing or a problem with the compiler. Also failed on Ubuntu server 11.10 x64...

---

In that case the solution is:

```
sudo apt-get install libboost-all-dev

```

Thank's to username_1 username_1 for his help.

**Tags:** litecoin, server, compiling

> **Comments:**
> **username_1**: Do you have the Boost libraries installed? Did you install whatever package provides "list_of.hpp"? (It may be `boost-devel`. Use your distribution's package management tools to find out.)  
> **username_0**: Thank's for your help needed the boost library to compile.  

---

## 2 answers

### Answer by username_3 on 2012-03-11. Score: 4 | Accepted answer

The file [~/litecoin/doc/build-unix.txt](https://github.com/coblee/litecoin/blob/master/doc/build-unix.txt) contains build instructions. The one you're missing is on line 61:

```
sudo apt-get install libboost-all-dev

```


---

### Answer by username_2 on 2013-06-02. Score: 2

It worked for me after typing:

```
sudo apt-get install libboost-all-dev libdb++-dev libminiupnpc-dev

```


---

