【发布时间】:2016-04-27 14:46:36
【问题描述】:
我正在尝试从 CentOS 7 中的源代码安装 Octave 4,但收到警告消息:
configure: WARNING: OpenGL libs (GL and GLU) not found. Native graphics will be disabled.
configure: WARNING: OpenGL libs (GL and GLU) not found -- disabling GUI
configure: WARNING:
configure: WARNING: I didn't find the necessary libraries to compile native
configure: WARNING: graphics. It isn't necessary to have native graphics,
configure: WARNING: but you will need to have gnuplot installed or you won't
configure: WARNING: be able to use any of Octave's plotting commands
configure: WARNING:
configure:
configure: NOTE: Libraries or auxiliary programs may be skipped if they are
configure: NOTE: not found OR if they are missing required features on your
configure: NOTE: system.
我已经检查了这个QUESTION,但没有帮助。
我也做过yum install libqt4-opengl-dev,但遇到错误No package libqt4-opengl-dev available.
我有 mesa-libGL 和 mesa-libGL-devel,但似乎配置无法获取这些库。
编辑:回答我自己的问题 请参阅问题下方的 cmets。
【问题讨论】:
-
是的,我有,但我仍然收到上述警告。
-
然后将 config.log 上传到 pastebin 服务并在此处添加链接
-
我还没有找到可以免费上传45k行日志的服务:(
-
我认为这可能与我的源代码版本有关。在我克隆了最新的源代码后,运行 ./configure 不再给我 opengl 警告,并且打开了使用 GUI 选项构建。我仍然有一些编译错误,但至少取得了一些进展。