Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DrewNaylor opened this issue Sep 20, 2023 · 0 comments
Open

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

DrewNaylor opened this issue Sep 20, 2023 · 0 comments

Comments

@DrewNaylor
Copy link
Owner

DrewNaylor commented Sep 20, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant