You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 via apk.
~/.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 just echo the path in. You then need to do source ~/.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 the cxx crate.
qmake needs to be installed, and there's a qt6-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)
The text was updated successfully, but these errors were encountered:
I'm trying to compile the cargo-only example on my PinePhone in postmarketOS, but I've run into several issues:
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)
The text was updated successfully, but these errors were encountered: