2017-03-03 9 views
0

소스에서 R-3.3.2을 컴파일 중입니다. 내 깃발에는 --with-libtiff이 포함되어 있습니다. 그들은 다음과 같습니다 : ./configure --with-system-tre --with-blas --with-lapack --with-libtiff --enable-R-shlib --enable-lto --prefix=/opt/new.R건물 R : --with-libtiff TIFF 기능을 사용하지 않음

나는 libtiff4libtiff4-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 기능을 건너 뛰었습니다. 왜, 어떻게 강제로 활성화 할 수 있습니까?

답변

0

같은 문제가있었습니다. R configure 스크립트는 의 존재를 pkg-config으로 테스트하지만 이것이 실패 할 경우 어떤 피드백도 제공하지 않습니다.

libtiff-4.pc이 들어있는 디렉토리를 가리 키도록 PKG_CONFIG 환경 변수를 설정하여이 문제를 해결했습니다.