[R] Unable to install rtiff package

Joël Lafond Lapalme Joel.Lafond.Lapalme at USherbrooke.ca
Wed Oct 17 17:37:00 CEST 2012

Hello all,

i am using Ubuntu 12.04 and I have R 2.14.1

When i try to install the rtiff package I got this error:

    > install.packages("rtiff")
    Installing package(s) into  
    (as ‘lib’ is unspecified)
    --- Please select a CRAN mirror for use in this session ---
    Loading Tcl/Tk interface ... done
    trying URL  
    Content type 'application/x-gzip' length 102323 bytes (99 Kb)
    opened URL
    downloaded 99 Kb

    * installing *source* package ‘rtiff’ ...
    ** package ‘rtiff’ successfully unpacked and MD5 sums checked
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for TIFFOpen in -ltiff... no
    Error: Could not find libtiff.
    ERROR: configuration failed for package ‘rtiff’
    * removing ‘/home/lapalmejo/R/i686-pc-linux-gnu-library/2.14/rtiff’
    * restoring previous  

    The downloaded packages are in
    Warning message:
    In install.packages("rtiff") :
      installation of package ‘rtiff’ had non-zero exit status

But I have libtiff install... I search a lot on the web and try all  
solution but nothing solve my problem.

I suppose that i did not install libtiff correctly, I tried a lot of  
things... but nothing work.

I need a detailed procedure to install libtiff and install the rtiff package.

Let me know if you have a solution or if you had a similar problem.

Thank you

More information about the R-help mailing list