From kasperdanielhansen at gmail.com  Fri Mar 27 16:19:40 2015
From: kasperdanielhansen at gmail.com (Kasper Daniel Hansen)
Date: Fri, 27 Mar 2015 11:19:40 -0400
Subject: [Rd] About removing zlib from R-devel
In-Reply-To: <21780.21680.951993.617987@max.nulle.part>
References: <CABtg=KkKOmhGait1QAR_5LiYrY0hgggpXDhWqGFfTsJ+jaOiPA@mail.gmail.com>
	<21780.21680.951993.617987@max.nulle.part>
Message-ID: <CAC2h7utZmvRWccfJM60o40Qydbe+7d9vcQP5w3VbhCKQPEd1ig@mail.gmail.com>

Related to this question:

I have installed bzip2 1.0.6 by hand, but configure still fails.  When I
look at config.log I get the following

configure:34150: /usr/bin/gcc -std=gnu99 -o conftest -g -O2 -march=amdfam10
 -g -O2 -march=amdfam10  -L/usr/local/lib64 confte
st.c -lbz2 -lz -lrt -ldl -lm  >&5
conftest.c: In function 'main':
conftest.c:250: warning: initialization discards qualifiers from pointer
target type
conftest.c:251: warning: implicit declaration of function 'exit'
conftest.c:251: warning: incompatible implicit declaration of built-in
function 'exit'
conftest.c:251: warning: implicit declaration of function 'strcmp'

for the program

| #ifdef HAVE_BZLIB_H
| #include <bzlib.h>
| #endif
| int main() {
|     char *ver = BZ2_bzlibVersion();
|     exit(strcmp(ver, "1.0.6") < 0);
| }
|
configure:34167: result: no
configure:34173: checking whether bzip2 support suffices
configure:34180: error: bzip2 library and headers are required

To me, it seems as if the test might be broken.  I'll do some more
investigation, but thought I would report this. It works for libz which I
also had to install by hand.

Best,
Kasper


On Thu, Mar 26, 2015 at 2:49 PM, Dirk Eddelbuettel <edd at debian.org> wrote:

>
> On 26 March 2015 at 07:47, G?bor Cs?rdi wrote:
> | Dear All,
> |
> | zlib has been removed from R-devel src/extra recently, and building R
> | requires zlib >= 1.2.5. Ubuntu 12.04 LTS (also used on Travis CI) only
> has
> | 1.2.3.
> |
> | This means that the next version of R will probably not available on
> Ubuntu
> | 12.04. (Unless I am missing something of course.) Which is probably fine,
> | it is almost three years old now.
>
> I think Michael Rutter (who (re-)builds for 12.04 and other Ubuntu releases
> when I update the Debian package) can create a local backport of zlib.
>
> I somewhat recently started to (entirely locally) build some "backports"
> via
> https://launchpad.net/~edd/+archive/ubuntu/misc solely so that Travis can
> use
> them as binary.  It's good option to have.
>
> Dirk
>
> | I guess R-core is aware of this. Just wanted to be sure.
> |
> | Best Regads,
> | Gabor
> |
> |       [[alternative HTML version deleted]]
> |
> | ______________________________________________
> | R-devel at r-project.org mailing list
> | https://stat.ethz.ch/mailman/listinfo/r-devel
>
> --
> http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

	[[alternative HTML version deleted]]



[Rd] About removing zlib from R-devel
Kasper Daniel Hansen