We can not install EBImage on R3.3.1 :
"missing header file fftw3.h" when installing EBImage
The file fftwtools.h is in the .tar.gz file in /tmp . . ./fftwtools/src, but not fftw3.h.
> source("https://bioconductor.org/biocLite.R")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
> biocLite()
BioC_mirror: https://bioconductor.org
Using Bioconductor 3.4 (BiocInstaller 1.24.0), R 3.3.1 (2016-06-21).
Installing package(s) ‘Biobase’, ‘IRanges’, ‘AnnotationDbi’
also installing the dependencies ‘BiocGenerics’, ‘S4Vectors’, ‘DBI’, ‘RSQLite’
. . . .
fftwtools.c:28:18: fatalerror: fftw3.h: No such file or directory
compilation terminated
/usr/lib/R/etc/Makeconf:132: recipe for target 'fftwtools.o' failed
make: *** [fftwtools.o] Error 1
ERROR: compilation failed for package ‘fftwtools’
* removing ‘/home/emil/R/x86_64-pc-linux-gnu-library/3.3/fftwtools’
ERROR: dependency ‘fftwtools’ is not available for package ‘EBImage’
* removing ‘/home/emil/R/x86_64-pc-linux-gnu-library/3.3/EBImage’
. . . .
> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.1 LTS
locale:
[1] LC_CTYPE=pl_PL.UTF-8 LC_NUMERIC=C
[3] LC_TIME=pl_PL.UTF-8 LC_COLLATE=pl_PL.UTF-8
[5] LC_MONETARY=pl_PL.UTF-8 LC_MESSAGES=pl_PL.UTF-8
[7] LC_PAPER=pl_PL.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=pl_PL.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
>
We are using gcc 5.4.0.
Please, how to solve this?
Thanks, Frans Meijer