-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
kiwix-desktop fails to build under Arch Linux #260
Comments
@THS-on It looks like my cleanup action was a bit too much, I have put back http://download.kiwix.org/dev/zlib-1.2.8.tar.gz. Can you try again please? |
Currently it fails because
|
@THS-on The file is here now https://download.kiwix.org/dev/xapian-core-1.4.7.tar.xz |
@THS-on What is the status on this? |
It still fails but now with building the QT dependency.
|
@mgautierfr Any idea? |
A similar compilation error meta-qt5/meta-qt5#94 |
I strongly suggest to not build Qt and QtWebEngine. They are very complex (and long) to compile. The best you can do is to add the list of package to install in https://github.com/kiwix/kiwix-build/blob/master/kiwixbuild/packages.py. See how it is made of |
@mgautierfr I've tried to build it with |
It appears that setting `INCLUDEPATH` in qmake break things. Because qmake add the include path using `-isystem`. We don't need to extract include path and define from PKGCONFIG_CFLAGS. Updating `CFLAGS` and `CXXFLAGS` is enough. No need for complex things. Fix #90 Fix kiwix/kiwix-build#260
Thanks @THS-on for the links, it helps me understand the problem. It would be nice that you confirm the issue is close with the PR and I will merge it. |
@mgautierfr I tried to build it with your patch and it works! Thank you for fixing this. |
@THS-on what command are you using currently to build? is it because this gives for me: |
@soloturn |
I've added arch to the
compatible_host
list as described here: kiwix/kiwix-desktop#37 (comment).Building with dependencies failed because
http://download.kiwix.org/dev/zlib-1.2.8.tar.gz:
is not reachable, so I tried to build it without (kiwix-build kiwix-desktop --target-platform native_dyn --build-nodeps
).This also failed. This error is a known issue and can be fixed by manually building kiwix-desktop with
qmake QMAKE_CFLAGS_ISYSTEM=
. More here: https://bugreports.qt.io/browse/QTBUG-53367Another thing is that the auto scaling in QT is somewhat broken that means all Icons are too big and I have to start kiwix-desktop like this:
Build log
The text was updated successfully, but these errors were encountered: