News for hackers. Stuff that matters.
Re:Difftastic: A diff that understands syntax by ducktective on Tuesday March 29, 2022 @01:24PM (#30845651)
Same here. Looked into repo -> no binary in release or Github actions

spinned up a Ubuntu 18.04 instance -> git clone, git checkout 0.24.0

installed rust using curl | sh method

build fails:

https://termbin.com/29xy

removed the instance and gonna check it again 6 months later

Re:Difftastic: A diff that understands syntax by adwn on Tuesday March 29, 2022 @01:38PM (#30845856)
In another comment you're asking about vim support. So let me get this straight: You're using vim, yet you're unable to resolve the error message

    = note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory
            /usr/bin/ld: cannot find crti.o: No such file or directory
Have you tried googling for "ubuntu crti.o: No such file or directory" ?
Re:Difftastic: A diff that understands syntax by joemi on Tuesday March 29, 2022 @02:09PM (#30846285)
Using vim has nothing to do with ones ability to troubleshoot compiler/ubuntu issues. Plus both compiler and ubuntu issues can be massive PITA to solve even if you're familiar with them. Personally, if I'm trying to install something on whim to try it out and I start getting "no such file or directory" errors I'd be upset that something is going wrong.
Re:Difftastic: A diff that understands syntax by ducktective on Tuesday March 29, 2022 @02:15PM (#30846362)
>Have you tried googling for "ubuntu crti.o: No such file or directory" ?

Depending on the project, there is a certain threshold of trying-to-make-something-work which I'm willing to undertake in order to test an app.

But you are right. I'm sorry if my OG comment may come arrogant to the devs who do stuff for free. (♥ to the devs)

[edit]: ok, I tried again, `sudo apt update && sudo apt install build-essential` before installing rust and `cargo install`ing.

Error again:

https://dpaste.com/FTG7FSRQF

Re:Difftastic: A diff that understands syntax by jbrr25 on Wednesday March 30, 2022 @01:21PM (#30858140)
The GCC version in Ubuntu 18.04 is too old. I had the same problem, I just installed clang, updated the default c++ and it worked. There is an issue in the repo about that.
Re:Difftastic: A diff that understands syntax by estebank on Tuesday March 29, 2022 @03:34PM (#30847297)
Funnily enough, the error is in a C dependency providing Haskell support.

    vendor/tree-sitter-haskell-src/scanner.cc