Displaying 9 results from an estimated 9 matches for "bz2_bzlibversion".
2008 Jun 21
0
Minor configure bug in R 2.7.1-rc
...kage to the current 2.7.1 rc, I noticed that R decides
to use its own bzip2 sources. Looking at configure, I see the test is
essentially a strcmp on '1.0.5' from the version-returning function:
#ifdef HAVE_BZLIB_H
#include <bzlib.h>
#endif
int main() {
char *ver = BZ2_bzlibVersion();
exit(strcmp(ver, "1.0.5") < 0);
}
but unfortunately, bzip2 returns a different string that includes the date:
edd at ron:~/src/debian/R/R-2.7.1.20080621> cat /tmp/bzver.c
#include <bzlib.h>
#include <string.h>
int main() {
const char *ver...
2008 Oct 26
1
HAVE_BZLIB_H not set
...g the included bzlib2 source and using it rather than the system
bzip2 libraries and headers. I tracked down the reason to this section
of configure:
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#ifdef HAVE_BZLIB_H
#include <bzlib.h>
#endif
int main() {
char *ver = BZ2_bzlibVersion();
exit(strcmp(ver, "1.0.5") < 0);
}
_ACEOF
That code wasn't working at all because HAVE_BZLIB_H never gets set
anywhere, even though the configure script had found the system bzip2
bits. This patch adds it to m4/R.m4 and configure, against 2.8.0. With
the patch, R now proper...
2015 Mar 27
2
About removing zlib from R-devel
...ction '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...
2015 Mar 31
0
About removing zlib from R-devel
...compatible 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&...
2015 Nov 04
0
Building R for AIX in 64-bit mode
...245 Nov 3 10:15
/opt/buildaix/include/bzlib.h
Seems a very specific bzip2 library is desired - 1.0.6 - not what the
message says!
BZ2_version():1.0.5, 10-Dec-2007
/* end confdefs.h. */
#include <stdio.h>
#ifdef HAVE_BZLIB_H
#include <bzlib.h>
#endif
int main() {
char *ver = BZ2_bzlibVersion();
fprintf(stderr,"BZ2_version():%s\n",ver); /* added by aixtools
for debugging */
exit(strcmp(ver, "1.0.6") < 0);
}
So, my question - is this REALLY needed (v1.0.6) as it may break many
locations!
Updating bzip2 to pass configure...
Now get:
root at x072:[/...
2015 Mar 26
4
About removing zlib from R-devel
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 guess R-core is aware of this. Just wanted to
2015 Nov 04
2
Building R for AIX in 64-bit mode
On 2015-10-15 15:02, Prof Brian Ripley wrote:
> On 15/10/2015 13:32, Michael Felt wrote:
>> Hi.
>>
>> Just wanted to let you know I am getting close to packaging R for AIX in
>> 64.bit mode.
>
> Which version? (You mentioned 3.1.3 and 3.2.2 far below.) There is
> little value in reporting on frozen branches, and most value in
> reporting on R-devel where
2012 Aug 11
2
compile fails with x86_64-alpine-linux-uclibc-gcc
...for rpc/xdr.h... yes
checking for XDR support... yes
checking for inflateInit2_ in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking if zlib version >= 1.2.3... yes
checking whether zlib support needs to be compiled... no
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... yes
checking whether bzip2 support needs to be compiled... no
checking for lzma_version_number in -llzma... yes
checking lzma.h usability... yes
ch...
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
..... yes
checking if jpeglib version >= 6b... no
checking for main in -lz... yes
checking if libpng version >= 1.0.5... no
checking for XDR support... yes
checking for gzeof in -lz... no
checking whether zlib support needs to be compiled... yes
checking mmap support for zlib... yes
checking for BZ2_bzlibVersion in -lbz2... no
checking whether leap seconds are treated according to POSIX... yes
checking for setitimer... yes
checking for lpr... lpr
checking for paperconf... false
configure: creating ./config.status
config.status: creating Makeconf
config.status: creating Makefile
config.status: creating afm/...