ChemmineOB is using private interface of openbabel (rand.h)
Hi Thomas,
when I try to build ChemmineOB under Debian[1] with the Debian packaged
opebabel I get:
config.status: creating src/Makevars
** libs
make[1]: Entering directory '/build/r-bioc-chemmineob-1.24.0/src'
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I"/usr/lib/R/site-library/BH/include" -I"/usr/lib/R/site-library/Rcpp/include" `pkg-config --cflags openbabel-3` -I/usr/include/eigen3 -DUSE_BOOST -fpic -
g -O2 -fdebug-prefix-map=/build/r-base-j1tBvV/r-base-3.6.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c ChemmineOB.cpp -o ChemmineOB.o
ChemmineOB.cpp:1470:10: fatal error: openbabel/rand.h: No such file or directory
1470 | #include <openbabel/rand.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
I've checked openbabel sources and while this contains src/rand.h this
does not seem to belong to the public interface of the openbabel library
since it is not in include/ dir and thus not installed by the
installation procedure. Am I misunderstanding something here?
Kind regards and thanks for providing the openbabel interface for GNU R
Andreas.
[1] https://salsa.debian.org/r-pkg-team/r-bioc-chemmineob
--
http://fam-tille.de
Reply to: