建筑R:--libtiff未启用TIFF功能
从源代码处编译建筑R:--libtiff未启用TIFF功能,r,ubuntu,build,libtiff,R,Ubuntu,Build,Libtiff,从源代码处编译R-3.3.2。我的标志包括——带有libtiff。它们是:/configure--with-system-tre--with-blas--with-lapack--with-libtiff--enable-R-shlib--enable-lto--prefix=/opt/new.R 我有libtiff4和libtiff4-dev。然而: R is now configured for i686-pc-linux-gnu Source directory:
R-3.3.2
。我的标志包括——带有libtiff
。它们是:/configure--with-system-tre--with-blas--with-lapack--with-libtiff--enable-R-shlib--enable-lto--prefix=/opt/new.R
我有libtiff4
和libtiff4-dev
。然而:
R is now configured for i686-pc-linux-gnu
Source directory: .
Installation directory: /opt/new.R
C compiler: gcc -g -O2
Fortran 77 compiler: f95 -g -O2
C++ compiler: g++ -g -O2
C++11 compiler: g++ -std=c++11 -g -O2
Fortran 90/95 compiler: gfortran -g -O2
Obj-C compiler: gcc -g -O2 -fobjc-exceptions
Interfaces supported: X11, tcltk
External libraries: readline, BLAS(generic), LAPACK(generic), curl
Additional capabilities: PNG, JPEG, NLS, cairo, ICU
Options enabled: shared R library, R profiling, strict barrier
Capabilities skipped: TIFF
Options not enabled: shared BLAS, memory profiling
Recommended packages: yes
已跳过
TIFF
功能。为什么,以及如何强制启用它?我也有同样的问题。R configure脚本使用pkg config
测试是否存在tiff
,但在失败时不提供任何反馈
我通过将PKG_CONFIG
环境变量设置为指向包含文件libtiff-4.pc
的目录来解决这个问题