Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/79.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
建筑R:--libtiff未启用TIFF功能_R_Ubuntu_Build_Libtiff - Fatal编程技术网

建筑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
的目录来解决这个问题