java - Rjava 包安装在 docker 中卡住

标签 java r docker

在 docker 中,当我尝试安装 rJava 包时它卡住了。 在“检查是否支持-Xrs”中。过程 它在 jetty 外工作...... 对于 JNI 和 opnjdk,我已经清除它并放置链接以链接 sun jdk 而不是 openjdk 这是日志:

> install.packages("rJava", repos='http://cran.us.r-project.org')
essai de l'URL 'http://cran.us.r-project.org/src/contrib/rJava_0.9-8.tar.gz'
Content type 'application/x-gzip' length 656615 bytes (641 KB)
==================================================
downloaded 641 KB

* installing *source* package ‘rJava’ ...
** package ‘rJava’ correctement décompressé et sommes MD5 vérifiées
checking for gcc... gcc -std=gnu99
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
configure: checking whether gcc -std=gnu99 supports static inline...
yes
checking whether setjmp.h is POSIX.1 compatible... yes
checking whether sigsetjmp is declared... yes
checking whether siglongjmp is declared... yes
checking Java support in R... present:
interpreter : '/usr/bin/java'
archiver    : '/usr/bin/jar'
compiler    : '/usr/bin/javac'
header prep.: '/usr/bin/javah'
cpp flags   : '-I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.45.x86_64/include -I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.45.x86_64/include/linux'
java libs   : '-L/usr/lib/jvm/java-8-oracle/jre/lib/amd64/server -ljvm'
checking whether Java run-time works... yes
checking whether -Xrs is supported...

如果有人知道 谢谢

最佳答案

这似乎是一个 docker 问题:https://github.com/s-u/rJava/issues/63

关于java - Rjava 包安装在 docker 中卡住,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35337940/

相关文章:

r - 安装 RJSONIO 库时遇到问题

mysql - 使用带有虚拟框共享文件夹的docker机器启动mysql容器

azure - SSL 握手失败 java.security.cert.CertPathValidatorException : Certificate chaining error

Java字符串提取

java - 在 Ubuntu10.04 Linux 中启动 Jade

Java编码——有多个正确答案的提示

java - 为什么 Dockerized Hadoop 数据节点注册了错误的 IP 地址?

java - 如何从 .jar Android 加载类

r - 在 R 中分析函数 'library'

r - 使用 for 循环进行矩阵计算