user4219: I'm trying to create a Cardano staking pool on a raspberry pi 4 with 8GB of RAM. I've been following the coin cashew tutorial for staking pools: https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node#1-install-cabal-and-ghc
I finally got the cabal build for cardano-cli and cardano-node. I have also checked that ghc is on 8.10.4 but for some reason getting this error:
ghc: could not execute: opt
cabal: Failed to build Diff-0.4.0 (which is required by
test:cardano-cli-golden from cardano-cli-1.29.0). See the build log above for
details.
Failed to build Only-0.1 (which is required by test:cardano-node-test from
cardano-node-1.29.0, exe:cardano-node from cardano-node-1.29.0 and others).
See the build log above for details.
Failed to build StateVar-1.2.1 (which is required by test:cardano-node-test
from cardano-node-1.29.0, exe:cardano-node from cardano-node-1.29.0 and
others). See the build log above for details.
Failed to build Win32-network-0.1.0.0 (which is required by
test:cardano-node-test from cardano-node-1.29.0, exe:cardano-node from
cardano-node-1.29.0 and others). See the build log above for details.
Failed to build abstract-par-0.3.3 (which is required by
test:cardano-node-test from cardano-node-1.29.0, exe:cardano-node from
cardano-node-1.29.0 and others). See the build log above for details.


user4313: You dont need to compile the code on raspberrypi. It takes 7+ hours.
Use the prebuilt binaries from armada-alliance.
https://github.com/armada-alliance/cardano-node-binaries/tree/main/static-binaries
Join the telegram channel

4219: <p>I'm trying to create a Cardano staking pool on a raspberry pi 4 with 8GB of RAM. I've been following the coin cashew tutorial for staking pools: <a href="https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node#1-install-cabal-and-ghc" rel="nofollow noreferrer">https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node#1-install-cabal-and-ghc</a></p>
<p>I finally got the cabal build for <code>cardano-cli</code> and <code>cardano-node</code>. I have also checked that ghc is on <code>8.10.4</code> but for some reason getting this error:</p>
<pre><code>ghc: could not execute: opt
cabal: Failed to build Diff-0.4.0 (which is required by
test:cardano-cli-golden from cardano-cli-1.29.0). See the build log above for
details.
Failed to build Only-0.1 (which is required by test:cardano-node-test from
cardano-node-1.29.0, exe:cardano-node from cardano-node-1.29.0 and others).
See the build log above for details.
Failed to build StateVar-1.2.1 (which is required by test:cardano-node-test
from cardano-node-1.29.0, exe:cardano-node from cardano-node-1.29.0 and
others). See the build log above for details.
Failed to build Win32-network-0.1.0.0 (which is required by
test:cardano-node-test from cardano-node-1.29.0, exe:cardano-node from
cardano-node-1.29.0 and others). See the build log above for details.
Failed to build abstract-par-0.3.3 (which is required by
test:cardano-node-test from cardano-node-1.29.0, exe:cardano-node from
cardano-node-1.29.0 and others). See the build log above for details.
</code></pre>
 4313: <p>You dont need to compile the code on raspberrypi. It takes 7+ hours.
Use the prebuilt binaries from armada-alliance.
<a href="https://github.com/armada-alliance/cardano-node-binaries/tree/main/static-binaries" rel="nofollow noreferrer">https://github.com/armada-alliance/cardano-node-binaries/tree/main/static-binaries</a>
Join the telegram channel</p>
