<p>You could have a look at <a href="https://tdiesler.gitbook.io/cardano/v/iohk/plain-docker/raspberrypi-4" rel="nofollow noreferrer">this</a>. It shows how to setup the Pi4 to build cardano-node, but you could also simply run the cardano-node in docker.</p>

CC BY-SA 4.0
2021-07-20T20:32:03.523Z
Welcome to our community! Unfortunately this is a [link only answer](https://meta.stackexchange.com/a/8259/391772) unless you summarize what that link tells us in terms of showing how to setup the Pi4. This type of answer is best left as a comment, which unfortunately you won't be able to do without earning a bit of reputation by writing high-quality (much longer) answers.
Nike Dattani
CC BY-SA 4.0
2021-07-20T10:56:03.280Z
2021-07-21T00:25:10.753Z
2021-07-21T00:25:10.753Z
Thomas Diesler
<p>I tried to compile the cardano-node 1.27.0 for Raspberry PI4 following the instructions and everything gets well until I do the:</p>
<pre><code>cabal build all
</code></pre>
<p>Then all compiles until I get this error:</p>
<pre><code>   src/Testnet/Byron.hs:71:20: error: [-Woverflowed-literals, -Werror=overflowed-literals]
    Literal 8000000000000000 is out of the Int range -2147483648..2147483647
   |
71 |   , totalBalance = 8000000000000000
   |                    ^^^^^^^^^^^^^^^^

&lt;no location info&gt;: error: [-Wunused-packages, -Werror=unused-packages]
    The following packages were specified via -package or -package-id flags,
    but were not needed for compilation:
      - ansi-terminal-0.11
</code></pre>
<p>Can someone tell me why is this? Thanks</p>

CC BY-SA 4.0
2021-07-19T12:18:14.733Z
Hi and welcome to the Cardano stack exchange! Can you please provide a bit more information? What instructions did you follow (link)? And how did you make sure you use the the correct version of the source code?
eddex
CC BY-SA 4.0
2021-07-19T12:44:24.673Z
Is your Pi possibly running a 32 bit OS?
sorki
CC BY-SA 4.0
2021-07-20T07:50:39.787Z
Oh, thanks! I looked with uname -m and it says armv7l su 32bits. I will download a 64bits os image and try again and update the question.
satchcoder
<cardano-node>
Error trying to compile cardano-node on Raspberry Pi
# Error trying to compile cardano-node on Raspberry Pi

(Asked by: username_0 on 2021-07-19)

I tried to compile the cardano-node 1.27.0 for Raspberry PI4 following the instructions and everything gets well until I do the:
cabal build all

Then all compiles until I get this error:
   src/Testnet/Byron.hs:71:20: error: [-Woverflowed-literals, -Werror=overflowed-literals]
    Literal 8000000000000000 is out of the Int range -2147483648..2147483647
   |
71 |   , totalBalance = 8000000000000000
   |                    ^^^^^^^^^^^^^^^^

: error: [-Wunused-packages, -Werror=unused-packages]
    The following packages were specified via -package or -package-id flags,
    but were not needed for compilation:
      - ansi-terminal-0.11

Can someone tell me why is this? Thanks

**Tags:** cardano-node
> **Comments:**
> **username_1**: Hi and welcome to the Cardano stack exchange! Can you please provide a bit more information? What instructions did you follow (link)? And how did you make sure you use the the correct version of the source code?  
> **username_2**: Is your Pi possibly running a 32 bit OS?  
> **username_0**: Oh, thanks! I looked with uname -m and it says armv7l su 32bits. I will download a 64bits os image and try again and update the question.  

---

## 1 answers

### Answer by username_3 on 2021-07-20. Score: 2

You could have a look at [this](https://tdiesler.gitbook.io/cardano/v/iohk/plain-docker/raspberrypi-4). It shows how to setup the Pi4 to build cardano-node, but you could also simply run the cardano-node in docker.

> **Comments:**
> **username_4**: Welcome to our community! Unfortunately this is a [link only answer](https://meta.stackexchange.com/a/8259/391772) unless you summarize what that link tells us in terms of showing how to setup the Pi4. This type of answer is best left as a comment, which unfortunately you won't be able to do without earning a bit of reputation by writing high-quality (much longer) answers.  

---

