Open tgrosinger opened 2 years ago
Relates to #43
If I build with --resolver=lts
it fails right at the beginning with a different error:
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM between [9 and 13)
ghc: could not execute: opt
I've tried installing a few versions of llvm with no luck. I'm building from Ubuntu.
The first error seems unrelated to the architecture, the second one could be related (although it's hard to judge from a distance).
Could you maybe try with ghcup
and cabal
?
Unfortunately I am seeing the same LLVM errors when installing with cabal. I installed llvm-12 with apt and tried again, but got the same results.
I'm not trying to do exactly the same as you (I was just trying to run the hledger install script), but I got the same error when trying to compile hledger-iadd on my Raspberry Pi 400. I fixed it by:
The error in the OP is #71, btw. I will fix that in due time, but it's definitely unrelated to the architecture
I am working on am arm64 build of hledger-iadd for my hledger-multiarch project. I'm so close to having it compile successfully. It failed at the very end with this error. Please let me know if you have any suggestions.
The command I ran was
stack install --allow-different-user hledger-iadd
.