从源代码编译 Octave 后,出现以下错误:
GEN libgui/src/qrc-resource.cc
Unknown option 'qt4'.
Makefile:27266: recipe for target 'libgui/src/qrc-resource.cc' failed
CXX libgui/graphics/libgui_graphics_libgui_graphics_la-__init_qt__.lo
make[2]: *** [libgui/src/qrc-resource.cc] Error 1
make[2]: *** Waiting for unfinished jobs....
GEN libgui/graphics/moc-ToggleTool.cc
make[2]: Leaving directory '/home/yannik/octave-4.2.1'
Makefile:26135: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/yannik/octave-4.2.1'
Makefile:9910: recipe for target 'all' failed
make: *** [all] Error 2
不过,我安装了 libqt4 库,所以我不知道为什么会发生这种情况。我费了整整一个小时,仍然不知道为什么会失败。有什么想法吗?