Retiled icon indicating copy to clipboard operation
Retiled copied to clipboard

Update the comment on the new repo with this when it's back up.

Open DrewNaylor opened this issue 2 years ago • 0 comments

I'm trying to compile the cargo-only example on my PinePhone in postmarketOS, but I've run into several issues:

  1. You have to run rustup-init after installing rustup via apk.
  2. ~/.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).
  3. 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.
  4. 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)

DrewNaylor avatar Sep 20 '23 17:09 DrewNaylor