gnuplot Qt5 安装失败

gnuplot Qt5 安装失败

我正在运行 20.04,但经过几次尝试,我无法使用 qt5 正确安装 gunplot。我按照另一个问答中的说明进行操作:

sudo apt install qtbase5-dev qtbase5-dev-tools libqt5svg5-dev qttools5-dev-tools 
cd ~ 
wget https://jaist.dl.sourceforge.net/project/gnuplot/gnuplot/5.4.1/gnuplot-5.4.1.tar.gz 
tar -xvzf gnuplot-5.4.1.tar.gz 
cd gnuplot-5.4.1 
./configure --with-qt=qt5 
make -j # uses more jobs for faster compiling and linking 
make check    # make a test before installing

但是当运行“make check”时,如果得到这样的页面(格式很奇怪,但文本是正确的):

Got keys from plugin meta data ("wayland-xcomposite-glx") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so" Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xcb" ] }, "archreq": 0, "className": "QXcbIntegrationPlugin", "debug": false, "version": 330752 }
Got keys from plugin meta data ("xcb") QFactoryLoader::QFactoryLoader() checking directory path "/home/dad/Downloads/gnuplot-5.4.1/src/platforms" ... loaded library "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqwayland-egl.so" Failed to create wl_display (No such file or directory) Using Wayland-EGL failed to initialize EGL display qt.qpa.plugin: Could not load the Qt platform plugin "wayland-egl" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Warning: slow font initialization Warning: slow font initialization Warning: slow font initialization Warning: slow font initialization Warning: slow font initializationHit return to continue

我得到了上述文本块,每个窗口类型一个,例如 wayland-egl。在我看来,Qt5 安装不正确,但我已经安装了,并重新安装了几次,但仍然收到上述错误。救命。

相关内容