-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
split build into build and install #429
Comments
@mgautierfr What this |
Before asking sudo password it prints a line like this:
(so I think this is the command to be executed). |
@ynikitenko This make sense to use |
@ynikitenko I see in the code that there is a checker code, so The checker line should be here:
|
@kelson42 thanks for the prompt reply. Yes, I'm struggling to install kiwix-desktop, and I have many errors during that. If I had to enter sudo only once, that would not be an issue (frankly speaking that's not the worst thing, so I'm calling this issue an enhancement, not a bug). |
@kelson42 you're right. It seems that pkg-config is reinstalled every time. I don't know why it happens. dnf in the normal environment says that it is installed.
|
@ynikitenko If you run manually
What is displayed? |
@kelson42
(and other packages, which are installed). |
However, for now, if you want to avoid this, you can pass the option |
Out of this ticket, I see two things to do:
@mgautierfr @ynikitenko Do I have forgotten something? |
@kelson42 thanks. No, I don't recall other needs. |
We may, but there is a |
@mgautierfr This option gives this output
Honestly, this doesn't explain much to me. (Is 'the package to install' kiwix-desktop or what?) I can say that there is a common installation scheme:
The 3rd step requires root privileges. Since I don't understand well what is happening during kiwix-build, what steps it does, I can't be sure what could be 'assumed to be installed'. If you split your build into I wrote about my experience. It's your decision as developers to make this enhancement or to consider this not useful. This is no major problem for me, and I accept any your resolution :) |
Then we should change the help text.
The
It depends on where you are installing. kiwix-build install everything in the Projects need dependencies to be installed to use them. So the install step is at end of each dependency build step. We cannot build all and then install all. |
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions. |
Every time I use kiwix-build I have to enter my sudo password. During some short period I don't have to re-enter that. However, due to many errors, I have to enter it many times.
This is an enhancement proposal to separate build into several phases: first build (without root permissions), then install (special permissions needed).
An optional zero phase may be to install dependencies or system or pip packages with root permissions.
The text was updated successfully, but these errors were encountered: