如何让 Six(一个旧的 KDE 游戏程序)在 Kubuntu 20.04 中运行

For*_*ies 12 configuration kde kubuntu makefile

六号曾多次在电脑游戏奥林匹克竞赛中获得金牌。源代码位于 GitHub https://github.com/melisgl/six/tree/master/six上。它已经被钉了几十年了,但我想把它提出来,但我不熟悉 KDE、Qt 甚至 C++ 编程。我主要是汇编、C 和 Python 程序员,并且已经从事这行大约 50 年了(真的!)。

尽管如此,当我为此目的构建了 Kubuntu 20.04.3、克隆存储库并开始启动时,还是有点令人惊讶。通常的启动是 .configure,但即使这样也不起作用。可能是因为代码太旧了,但我需要帮助。它并没有走得太远,最终询问我是否配置正确,显然是因为它找不到 kde-config。搜索该名称时的一次点击表明它是或在一个名为 kdelibs5-dev 的包中,但我在突触中看不到它。它在我应该安装的其他软件包中吗?我可以做一些简单的事情来进一步了解 .configure 吗?

这是尝试的样子

kevin@kackles:~/Six/six/six$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for kde-config... not found
configure: error: The important program kde-config was not found!
Please check whether you installed KDE correctly.

kevin@kackles:~/Six/six/six$
Run Code Online (Sandbox Code Playgroud)

N0r*_*ert 11

由于编译时缺少依赖项,从15 年前的源代码直接编译可能无法正常工作。

但有迹象表明该软件包在 Fedora 上仍然以编译形式提供。为了防止 Glibc 版本不匹配,我们应该将Fedora 32的 rpm 包转换为 deb 包,然后按如下方式安装它们:

sudo apt-get install alien libart-2.0-2 libmng2 libjpeg62 libaudiofile1 libmad0

cd ~/Downloads

wget -c https://kojipkgs.fedoraproject.org//packages/qt3/3.3.8b/80.fc32/x86_64/qt3-3.3.8b-80.fc32.x86_64.rpm
sudo alien -i qt3-3.3.8b-80.fc32.x86_64.rpm

wget -c https://kojipkgs.fedoraproject.org//packages/kdelibs3/3.5.10/105.fc32/x86_64/kdelibs3-3.5.10-105.fc32.x86_64.rpm
sudo alien -i kdelibs3-3.5.10-105.fc32.x86_64.rpm

wget -c https://kojipkgs.fedoraproject.org//packages/arts/1.5.10/46.fc32/x86_64/arts-1.5.10-46.fc32.x86_64.rpm
sudo alien -i arts-1.5.10-46.fc32.x86_64.rpm

wget -c https://kojipkgs.fedoraproject.org//packages/six/0.5.3/35.fc32/x86_64/six-0.5.3-35.fc32.x86_64.rpm
sudo alien -i six-0.5.3-35.fc32.x86_64.rpm
Run Code Online (Sandbox Code Playgroud)

然后启动游戏即可LD_LIBRARY_PATH=/usr/lib64 six获得

Ubuntu MATE 20.04 LTS 上有 6 个

注意:目前我不知道如何修复“无文字!” 标签,但游戏似乎正在运行。