missing header file fftw3.h for EBImage
2
1
Entering edit mode
frans.meijer ▴ 10
@fransmeijer-11716
Last seen 7.6 years ago

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

EBImage fftwtools • 5.5k views
ADD COMMENT
5
Entering edit mode
Guangchuang Yu ★ 1.2k
@guangchuang-yu-5419
Last seen 9 days ago
China/Guangzhou/Southern Medical Univer…
sudo apt-get install libfftw3-3 libfftw3-dev libtiff5-dev

 

ADD COMMENT
1
Entering edit mode
@martin-morgan-1513
Last seen 17 days ago
United States

Probably it is not EBImage but fftw that is failing to install. Likely you require the 'dev' version of the libfftw3 library

sudo apt-get install libfftw3-dev
ADD COMMENT

Login before adding your answer.

Traffic: 581 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6