Closed echo2go closed 3 months ago
Hm, i think this is due to #! /bin/sh
that we use inside the script.
you can try to run bash ./scripts/install-deps.sh
to get dependencies, also @uspasojevic96 might have some idea
OK. I have found the reason. A file /tmp/world was there. I have removed it and it runs
OK. I have found the reason. A file /tmp/world was there. I have removed it and it runs
oh, i see. Also, you can use cmake presets to compile instead of autogen.sh script
OK. I have found the reason. A file /tmp/world was there. I have removed it and it runs
And as a side note, you might have some issues with GCC 13.2. I have them on Arch with GCC 13.2 so you might want to use clang for this, or older version
Use clang to compile on gentoo
ok. Many thanks I will try :)
at the compiling phase it runs with gcc. Everything is compiled without a failure but the binary build/src/contour/contour isn't run. It starts but no Window will open. I will see how i switch to clang and try to compile with it.
Clang is installed
# which clang
/usr/lib/llvm/17/bin/clang
Is it possible to use clang in the cmake -S . -B build -G Ninja
command?
at the compiling phase it runs with gcc. Everything is compiled without a failure but the binary build/src/contour/contour isn't run. It starts but no Window will open. I will see how i switch to clang and try to compile with it.
Clang is installed
# which clang /usr/lib/llvm/17/bin/clang
Is it possible to use clang in the
cmake -S . -B build -G Ninja
command?
You need to specify compiler with cmake -S . -B build -G Ninja -D CMAKE_CXX_COMPILER=clang++
Thanks. That work! But if I test the binary i got the same problem like with gcc. No window is openend
$ /tmp/contour-0.4.3.6442/build/src/contour/contour
Warning: QQmlApplicationEngine failed to load component ((null):0, (null))
Warning: qrc:/contour/ui/main.qml:30:5: Type Terminal unavailable (qrc:/contour/ui/main.qml:30, (null))
Warning: qrc:/contour/ui/Terminal.qml:8:1: module "Qt5Compat.GraphicalEffects" is not installed (qrc:/contour/ui/Terminal.qml:8, (null))
Warning: qrc:/contour/ui/Terminal.qml:6:1: module "QtMultimedia" is not installed (qrc:/contour/ui/Terminal.qml:6, (null))
Warning: qrc:/contour/ui/Terminal.qml:8:1: module "Qt5Compat.GraphicalEffects" is not installed (qrc:/contour/ui/Terminal.qml:8, (null))
Warning: qrc:/contour/ui/Terminal.qml:6:1: module "QtMultimedia" is not installed (qrc:/contour/ui/Terminal.qml:6, (null))
the Qt-Libs are installed. I am unsure why he is complaining about them:
# emerge -s dev-qt/qtgraphicaleffects dev-qt/qtmultimedia dev-qt/qt5compat
[ Results for search key : dev-qt/qtgraphicaleffects ]
Searching...
* dev-qt/qtgraphicaleffects
Latest version available: 5.15.12
Latest version installed: 5.15.12
Size of files: 13717 KiB
Homepage: https://www.qt.io/
Description: Set of QML types for adding visual effects to user interfaces
License: || ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3
[ Applications found : 1 ]
[ Results for search key : dev-qt/qtmultimedia ]
Searching...
* dev-qt/qtmultimedia
Latest version available: 6.6.2
Latest version installed: 6.6.2
Size of files: 8111 KiB
Homepage: https://www.qt.io/
Description: Multimedia (audio, video, radio, camera) library for the Qt6 framework
License: || ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3
[ Applications found : 1 ]
[ Results for search key : dev-qt/qt5compat ]
Searching...
* dev-qt/qt5compat
Latest version available: 6.6.2
Latest version installed: 6.6.2
Size of files: 14290 KiB
Homepage: https://www.qt.io/
Description: Qt module containing the unsupported Qt 5 APIs
License: || ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3
[ Applications found : 1 ]
Thanks. That work! But if I test the binary i got the same problem like with gcc. No window is openend
$ /tmp/contour-0.4.3.6442/build/src/contour/contour Warning: QQmlApplicationEngine failed to load component ((null):0, (null)) Warning: qrc:/contour/ui/main.qml:30:5: Type Terminal unavailable (qrc:/contour/ui/main.qml:30, (null)) Warning: qrc:/contour/ui/Terminal.qml:8:1: module "Qt5Compat.GraphicalEffects" is not installed (qrc:/contour/ui/Terminal.qml:8, (null)) Warning: qrc:/contour/ui/Terminal.qml:6:1: module "QtMultimedia" is not installed (qrc:/contour/ui/Terminal.qml:6, (null)) Warning: qrc:/contour/ui/Terminal.qml:8:1: module "Qt5Compat.GraphicalEffects" is not installed (qrc:/contour/ui/Terminal.qml:8, (null)) Warning: qrc:/contour/ui/Terminal.qml:6:1: module "QtMultimedia" is not installed (qrc:/contour/ui/Terminal.qml:6, (null))
the Qt-Libs are installed. I am unsure why he is complaining about them:
# emerge -s dev-qt/qtgraphicaleffects dev-qt/qtmultimedia dev-qt/qt5compat [ Results for search key : dev-qt/qtgraphicaleffects ] Searching... * dev-qt/qtgraphicaleffects Latest version available: 5.15.12 Latest version installed: 5.15.12 Size of files: 13717 KiB Homepage: https://www.qt.io/ Description: Set of QML types for adding visual effects to user interfaces License: || ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3 [ Applications found : 1 ] [ Results for search key : dev-qt/qtmultimedia ] Searching... * dev-qt/qtmultimedia Latest version available: 6.6.2 Latest version installed: 6.6.2 Size of files: 8111 KiB Homepage: https://www.qt.io/ Description: Multimedia (audio, video, radio, camera) library for the Qt6 framework License: || ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3 [ Applications found : 1 ] [ Results for search key : dev-qt/qt5compat ] Searching... * dev-qt/qt5compat Latest version available: 6.6.2 Latest version installed: 6.6.2 Size of files: 14290 KiB Homepage: https://www.qt.io/ Description: Qt module containing the unsupported Qt 5 APIs License: || ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3 [ Applications found : 1 ]
this is qml modules, in ubuntu this is qml6-module-qt5compat-graphicaleffects
I took a look at the package from https://packages.debian.org/sid/qml6-module-qt5compat-graphicaleffects and it fits with the gentoo package dev-qt/qtgraphicaleffects.
# qlist dev-qt/qtgraphicaleffects
/usr/lib64/qt5/qml/QtGraphicalEffects/ZoomBlur.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/ThresholdMask.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/RecursiveBlur.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/RectangularGlow.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/RadialGradient.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/RadialBlur.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/OpacityMask.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/MaskedBlur.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/LinearGradient.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/LevelAdjust.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/InnerShadow.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/HueSaturation.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/Glow.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/GaussianBlur.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/GammaAdjust.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/FastBlur.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/DropShadow.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/Displace.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/DirectionalBlur.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/Desaturate.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/ConicalGradient.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/Colorize.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/ColorOverlay.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/BrightnessContrast.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/Blend.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/plugins.qmltypes
/usr/lib64/qt5/qml/QtGraphicalEffects/qmldir
/usr/lib64/qt5/qml/QtGraphicalEffects/libqtgraphicaleffectsplugin.so
/usr/lib64/qt5/qml/QtGraphicalEffects/private/GaussianMaskedBlur.qmlc
/usr/lib64/qt5/qml/QtGraphicalEffects/private/GaussianMaskedBlur.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/private/GaussianInnerShadow.qmlc
/usr/lib64/qt5/qml/QtGraphicalEffects/private/GaussianInnerShadow.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/private/GaussianGlow.qmlc
/usr/lib64/qt5/qml/QtGraphicalEffects/private/GaussianGlow.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/private/GaussianDirectionalBlur.qmlc
/usr/lib64/qt5/qml/QtGraphicalEffects/private/GaussianDirectionalBlur.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/private/FastMaskedBlur.qmlc
/usr/lib64/qt5/qml/QtGraphicalEffects/private/FastMaskedBlur.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/private/FastInnerShadow.qmlc
/usr/lib64/qt5/qml/QtGraphicalEffects/private/FastInnerShadow.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/private/FastGlow.qmlc
/usr/lib64/qt5/qml/QtGraphicalEffects/private/FastGlow.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/private/DropShadowBase.qmlc
/usr/lib64/qt5/qml/QtGraphicalEffects/private/DropShadowBase.qml
/usr/lib64/qt5/qml/QtGraphicalEffects/private/qmldir
/usr/lib64/qt5/qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate.so
#
So, the question is why he doesn't find/use it?
I took a look at the package from https://packages.debian.org/sid/qml6-module-qt5compat-graphicaleffects and it fits with the gentoo package dev-qt/qtgraphicaleffects.
# qlist dev-qt/qtgraphicaleffects /usr/lib64/qt5/qml/QtGraphicalEffects/ZoomBlur.qml /usr/lib64/qt5/qml/QtGraphicalEffects/ThresholdMask.qml /usr/lib64/qt5/qml/QtGraphicalEffects/RecursiveBlur.qml /usr/lib64/qt5/qml/QtGraphicalEffects/RectangularGlow.qml /usr/lib64/qt5/qml/QtGraphicalEffects/RadialGradient.qml /usr/lib64/qt5/qml/QtGraphicalEffects/RadialBlur.qml /usr/lib64/qt5/qml/QtGraphicalEffects/OpacityMask.qml /usr/lib64/qt5/qml/QtGraphicalEffects/MaskedBlur.qml /usr/lib64/qt5/qml/QtGraphicalEffects/LinearGradient.qml /usr/lib64/qt5/qml/QtGraphicalEffects/LevelAdjust.qml /usr/lib64/qt5/qml/QtGraphicalEffects/InnerShadow.qml /usr/lib64/qt5/qml/QtGraphicalEffects/HueSaturation.qml /usr/lib64/qt5/qml/QtGraphicalEffects/Glow.qml /usr/lib64/qt5/qml/QtGraphicalEffects/GaussianBlur.qml /usr/lib64/qt5/qml/QtGraphicalEffects/GammaAdjust.qml /usr/lib64/qt5/qml/QtGraphicalEffects/FastBlur.qml /usr/lib64/qt5/qml/QtGraphicalEffects/DropShadow.qml /usr/lib64/qt5/qml/QtGraphicalEffects/Displace.qml /usr/lib64/qt5/qml/QtGraphicalEffects/DirectionalBlur.qml /usr/lib64/qt5/qml/QtGraphicalEffects/Desaturate.qml /usr/lib64/qt5/qml/QtGraphicalEffects/ConicalGradient.qml /usr/lib64/qt5/qml/QtGraphicalEffects/Colorize.qml /usr/lib64/qt5/qml/QtGraphicalEffects/ColorOverlay.qml /usr/lib64/qt5/qml/QtGraphicalEffects/BrightnessContrast.qml /usr/lib64/qt5/qml/QtGraphicalEffects/Blend.qml /usr/lib64/qt5/qml/QtGraphicalEffects/plugins.qmltypes /usr/lib64/qt5/qml/QtGraphicalEffects/qmldir /usr/lib64/qt5/qml/QtGraphicalEffects/libqtgraphicaleffectsplugin.so /usr/lib64/qt5/qml/QtGraphicalEffects/private/GaussianMaskedBlur.qmlc /usr/lib64/qt5/qml/QtGraphicalEffects/private/GaussianMaskedBlur.qml /usr/lib64/qt5/qml/QtGraphicalEffects/private/GaussianInnerShadow.qmlc /usr/lib64/qt5/qml/QtGraphicalEffects/private/GaussianInnerShadow.qml /usr/lib64/qt5/qml/QtGraphicalEffects/private/GaussianGlow.qmlc /usr/lib64/qt5/qml/QtGraphicalEffects/private/GaussianGlow.qml /usr/lib64/qt5/qml/QtGraphicalEffects/private/GaussianDirectionalBlur.qmlc /usr/lib64/qt5/qml/QtGraphicalEffects/private/GaussianDirectionalBlur.qml /usr/lib64/qt5/qml/QtGraphicalEffects/private/FastMaskedBlur.qmlc /usr/lib64/qt5/qml/QtGraphicalEffects/private/FastMaskedBlur.qml /usr/lib64/qt5/qml/QtGraphicalEffects/private/FastInnerShadow.qmlc /usr/lib64/qt5/qml/QtGraphicalEffects/private/FastInnerShadow.qml /usr/lib64/qt5/qml/QtGraphicalEffects/private/FastGlow.qmlc /usr/lib64/qt5/qml/QtGraphicalEffects/private/FastGlow.qml /usr/lib64/qt5/qml/QtGraphicalEffects/private/DropShadowBase.qmlc /usr/lib64/qt5/qml/QtGraphicalEffects/private/DropShadowBase.qml /usr/lib64/qt5/qml/QtGraphicalEffects/private/qmldir /usr/lib64/qt5/qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate.so #
So, the question is why he doesn't find/use it?
I will give you exact packages needed tomorrow, i am exclusively using Qt6 on my gentoo
@echo2go Sorry for late response:
Add this to your package.use
:
dev-qt/qtmultimedia widgets qml
dev-qt/qt5compat qml
Emerge:
dev-qt/qtmultimedia
Keep in mind i have qt6
in my make.conf useflags
Many thanks. It works :) Your support is outstanding!
My steps:
# cat /etc/portage/package.use/contour
dev-qt/qtmultimedia widgets qml
dev-qt/qt5compat qml
# emerge --newuse --update --deep --quiet --ask @world
[ebuild N ] media-libs/assimp-5.2.5-r1
[ebuild N ] dev-qt/qtquicktimeline-6.6.2
[ebuild R ] dev-qt/qt5compat-6.6.2
[ebuild N ] dev-qt/qtquick3d-6.6.2
[ebuild R ] dev-qt/qtmultimedia-5.15.12
[ebuild R ] dev-qt/qtmultimedia-6.6.2
Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Emerging (1 of 6) media-libs/assimp-5.2.5-r1::gentoo
>>> Installing (1 of 6) media-libs/assimp-5.2.5-r1::gentoo
>>> Completed (1 of 6) media-libs/assimp-5.2.5-r1::gentoo
>>> Emerging (2 of 6) dev-qt/qtquicktimeline-6.6.2::gentoo
>>> Installing (2 of 6) dev-qt/qtquicktimeline-6.6.2::gentoo
>>> Completed (2 of 6) dev-qt/qtquicktimeline-6.6.2::gentoo
>>> Emerging (3 of 6) dev-qt/qt5compat-6.6.2::gentoo
>>> Installing (3 of 6) dev-qt/qt5compat-6.6.2::gentoo
>>> Completed (3 of 6) dev-qt/qt5compat-6.6.2::gentoo
>>> Emerging (4 of 6) dev-qt/qtquick3d-6.6.2::gentoo
>>> Installing (4 of 6) dev-qt/qtquick3d-6.6.2::gentoo
>>> Completed (4 of 6) dev-qt/qtquick3d-6.6.2::gentoo
>>> Emerging (5 of 6) dev-qt/qtmultimedia-5.15.12::gentoo
>>> Installing (5 of 6) dev-qt/qtmultimedia-5.15.12::gentoo
>>> Completed (5 of 6) dev-qt/qtmultimedia-5.15.12::gentoo
>>> Emerging (6 of 6) dev-qt/qtmultimedia-6.6.2::gentoo
>>> Installing (6 of 6) dev-qt/qtmultimedia-6.6.2::gentoo
>>> Completed (6 of 6) dev-qt/qtmultimedia-6.6.2::gentoo
#
Many thanks. It works :) Your support is outstanding!
My steps:
# cat /etc/portage/package.use/contour dev-qt/qtmultimedia widgets qml dev-qt/qt5compat qml # emerge --newuse --update --deep --quiet --ask @world [ebuild N ] media-libs/assimp-5.2.5-r1 [ebuild N ] dev-qt/qtquicktimeline-6.6.2 [ebuild R ] dev-qt/qt5compat-6.6.2 [ebuild N ] dev-qt/qtquick3d-6.6.2 [ebuild R ] dev-qt/qtmultimedia-5.15.12 [ebuild R ] dev-qt/qtmultimedia-6.6.2 Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 6) media-libs/assimp-5.2.5-r1::gentoo >>> Installing (1 of 6) media-libs/assimp-5.2.5-r1::gentoo >>> Completed (1 of 6) media-libs/assimp-5.2.5-r1::gentoo >>> Emerging (2 of 6) dev-qt/qtquicktimeline-6.6.2::gentoo >>> Installing (2 of 6) dev-qt/qtquicktimeline-6.6.2::gentoo >>> Completed (2 of 6) dev-qt/qtquicktimeline-6.6.2::gentoo >>> Emerging (3 of 6) dev-qt/qt5compat-6.6.2::gentoo >>> Installing (3 of 6) dev-qt/qt5compat-6.6.2::gentoo >>> Completed (3 of 6) dev-qt/qt5compat-6.6.2::gentoo >>> Emerging (4 of 6) dev-qt/qtquick3d-6.6.2::gentoo >>> Installing (4 of 6) dev-qt/qtquick3d-6.6.2::gentoo >>> Completed (4 of 6) dev-qt/qtquick3d-6.6.2::gentoo >>> Emerging (5 of 6) dev-qt/qtmultimedia-5.15.12::gentoo >>> Installing (5 of 6) dev-qt/qtmultimedia-5.15.12::gentoo >>> Completed (5 of 6) dev-qt/qtmultimedia-5.15.12::gentoo >>> Emerging (6 of 6) dev-qt/qtmultimedia-6.6.2::gentoo >>> Installing (6 of 6) dev-qt/qtmultimedia-6.6.2::gentoo >>> Completed (6 of 6) dev-qt/qtmultimedia-6.6.2::gentoo #
Can we close this issue now?
Can we close this issue now?
Yes :)
Contour Terminal version
0.4.3.6442
Installer source
Github: source code cloned
Operating System
Gentoo
Architecture
x86-64
Other Software
No response
Steps to reproduce
I wanted to update my old Contour package on Gentoo. So, here my steps in detail:
something is preventing access to the internet. And If I use the "autogen.sh" ...
Could someone help?
Expected Behavior
No response
Actual Behavior
no compilation possible. See at "Steps to reproduce" for more infos.
Additional notes
No response