Krz*_*lak 3 linux fedora dependencies r rstudio
我收到如下错误:
gcc -m64 -I/usr/include/R -DNDEBUG -I/usr/local/include -fpic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c read.c -o read.o
In file included from read.c:1:0:
rjcommon.h:11:21: fatal error: jpeglib.h: No such file or directory
compilation terminated.
/usr/lib64/R/etc/Makeconf:134: recipe for target 'read.o' failed
make: *** [read.o] Error 1
ERROR: compilation failed for package ‘jpeg’
* removing ‘/home/-/R/x86_64-redhat-linux-gnu-library/3.2/jpeg’
Warning in install.packages :
installation of package ‘jpeg’ had non-zero exit status
ERROR: dependency ‘jpeg’ is not available for package ‘ggmap’
* removing ‘/home/-/R/x86_64-redhat-linux-gnu-library/3.2/ggmap’
Warning in install.packages :
installation of package ‘ggmap’ had non-zero exit status
Run Code Online (Sandbox Code Playgroud)
所以基本上 R 无法获得 jpeg 支持,据我所知,但我已经安装了这个:
http://rpmfind.net/linux/rpm2html/search.php?query=openjpeg-libs%28x86-32%29
Run Code Online (Sandbox Code Playgroud)
对于 Fedora 22 x64,它不能解决问题。有什么解决办法吗?我错过了什么?
您缺少 JPEG 库的开发包。openjpeg-libs
是一个运行时包,这意味着它不包含编译使用库的源文件时所需的头文件。
但是,这openjpeg-libs
不是您需要的,基于 rpmfind.net 对丢失.h
文件的搜索是正确的libjpeg-turbo-devel
。当然,您还需要相应的运行时 liblibjpeg-turbo
。
归档时间: |
|
查看次数: |
3624 次 |
最近记录: |