("Solved")LFS QT4 (4.8.7) 在 "dialogs/qprintdialog_unix.cpp" 安装失败

("Solved")LFS QT4 (4.8.7) Install Fails at "dialogs/qprintdialog_unix.cpp"

我一直在关注 KDE 上的 blfs 指南,我需要 QT4 作为“KDE-Baseapps”的依赖项之一。 运行:

./configure -prefix $QT4PREFIX \
-sysconfdir /etc/xdg \
-confirm-license \
-opensource \
-release \
-dbus-linked \
-system-sqlite \
-no-phonon \
-no-phonon-backend \
-no-webkit \
-no-openvg \
-nomake demos \
-nomake examples \
-optimized-qmake \
-no-openssl &&

make

经过一段时间的编译后,我得到了这些错误:https://pastebin.com/jrs9w2Ei

因为它涉及打印,所以我假设它是 CUPS,但是当我使用参数“--no-cups”时,我得到了相同的输出。

编辑:我的 LFS 版本是 9.1,但 BLFS 书是 7.9,因为这是我在 qt4 上能找到的最新版本

KDE-Baseapps 是为 KDE4 而我有 KDE5。我需要的 KDE-Baseapps 是一个单独的软件包,很容易从以下位置安装:

https://download.kde.org/stable/release-service/20.04.1/src/