Bioconductor / bioc_docker

[DEPRECATED] Docker containers for Bioconductor
https://github.com/bioconductor/bioconductor_docker
Artistic License 2.0
49 stars 26 forks source link

devel_mscore2: ChemminerOB fails to build #81

Closed sneumann closed 5 years ago

sneumann commented 5 years ago

Hi,

Installing package(s) 'ChemmineOB'

trying URL 'https://bioconductor.org/packages/3.9/bioc/src/contrib/ChemmineOB_1.21.0.tar.gz'
Content type 'application/x-gzip' length 1185822 bytes (1.1 MB)
==================================================
downloaded 1.1 MB

* installing *source* package ‘ChemmineOB’ ...
** using staged installation
checking for pkg-config... no
checking for OPENBABEL... no
checking for OPENBABEL... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 ISO C89... none needed
checking how to run the C preprocessor... gcc -E
configure: creating ./config.status
config.status: creating src/Makevars
** libs
g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG  -I"/usr/local/lib/R/site-library/BH/include" -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include -I/usr/include/eigen3  -DUSE_BOOST -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c ChemmineOB.cpp -o ChemmineOB.o
ChemmineOB.cpp:745:31: fatal error: openbabel/generic.h: No such file or directory
 #include <openbabel/generic.h>
                               ^
compilation terminated.

We need to add the openbabel header and lib location during the build, see bioconductor.org/packages/devel/bioc/install/ChemmineOB/INSTALL Yours, Steffen