Update the comment on the new repo with this when it's back up.
DrewNaylor opened this issue · comments
I'm trying to compile the cargo-only example on my PinePhone in postmarketOS, but I've run into several issues:
- You have to run
rustup-init
after installing rustup viaapk
. ~/.profile
needs to have$HOME/.cargo/bin
added to it with colons as separators inside the quotes for the path that should probably already be there. Editing it in a text editor will be required as it's not exactly the way it should be and you can't justecho
the path in. You then need to dosource ~/.profile
every time you restart unless you put it somewhere that's loaded automatically (which it should be, but it's not).g++
will need to be installed if you don't have it, as I had to do so. Clang won't work for building thecxx
crate.qmake
needs to be installed, and there's aqt6-qtbase-dev
package in Alpine's repos that can be used. Bit large of an install, though.
So it didn't compile cxx-qt-lib
for some reason and I can't see why on the Pinephone as QMLKonsole doesn't let me go that far back. Bummer. I'll have to install postmarketOS in a VM at some point to figure out what's going on, and I'll probably have to redirect output to a text file as a log.
(there may be more)