I don't know what version Linux or other OS you are using, but have you installed the bzip2 development package? It would be named something like libbz2-dev (that is what it is in Ubuntu, I believe).
Dan Daniel Nordlund, PhD Research and Data Analysis Division Services & Enterprise Support Administration Washington State Department of Social and Health Services > -----Original Message----- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Josef > Eschgfaeller > Sent: Monday, October 31, 2016 4:49 PM > To: r-help > Subject: [R] bzip2 > > I am not able to compile R 3.3, > configure halting with: > -------------------------------------------------- > checking for BZ2_bzlibVersion in -lbz2... yes checking bzlib.h usability... > yes > checking bzlib.h presence... yes checking for bzlib.h... yes checking if bzip2 > version >= 1.0.6... no checking whether bzip2 support suffices... configure: > error: > bzip2 library and headers are required > -------------------------------------------------- > But my bzip2 seems to be 1.0.6: > > bzip2 --version > bzip2, a block-sorting file compressor. Version 1.0.6, 6-Sept-2010. > type bzip2 > bzip2 is hashed (/opt/local/bin/bzip2) > type R > R is hashed (/usr/bin/R) > R --version > R version 3.2.0 (2015-04-16) -- "Full of Ingredients" > -------------------------------------------------- > Thanks for help > > Josef Eschgfaeller > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.