在 Linux 上安装 R 时配置错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9296004/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-06 04:35:31 来源:igfitidea点击:
Configuration error when installing R on Linux
提问by george willy
Steps to install:
安装步骤:
- ./configure --enable-R-shlib
- ./configure --enable-R-shlib
I get this error:
我收到此错误:
configure: error: --with-x=yes (default) and X11 headers/libs are not available
in config.log file I see this entry:
在 config.log 文件中,我看到了这个条目:
#define X_DISPLAY_MISSING 1
any ideas?
有任何想法吗?
采纳答案by jbowes
Try either passing --with-x=no to the configure script, or install the X devel package for your linux flavour.
尝试将 --with-x=no 传递给配置脚本,或者为您的 linux 风格安装 X devel 包。