Skip to content

how can I know the version of my zlib checked by R

5 messages · nw宁威, Martyn Plummer

#
Hi, professors

         I??d like to install R-3.3.2 from .tar.gz on my linux system(CentOS 6.4). When installing, R told me that the version of zlib was too old.

         So, I eager to know which version of zlib did R-3.3.2 software examine at its configure step. How could I check the version of zlib? I will appreciate a lot if you could do me a favour.

Best Regards

Wei Ning
Ctrip, Shanghai
#
On Tue, 2017-02-07 at 08:39 +0000, nw?? wrote:
Do you really need to install from source? The EPEL RPMs by Tom
Callaway from Redhat contain a bundled version of zlib for platforms
that do not have an up-to-date system version, and so are much easier
to install.

Note that it is not only zlib that is affected. You will have the same
issue for bzip, xzv, pcre, and curl.
This information is contained in the "R Installation and
Administration" manual, also known as "R-admin". The minimum version
required is zlib 1.2.5. ?You can also see this information in the
output from configure, e.g. on my system:

checking if zlib version >= 1.2.5... yes

Martyn
#
Dear Martyn,

	Thank you so much for your suggestion. Can I install R by rpm WITHOUT Internet? This Linux server cannot connect to web.

Best Regards

Wei Ning
Ctrip, Shanghai
-----????-----
???: Martyn Plummer [mailto:plummerm at iarc.fr] 
????: 2017?2?7? 17:17
???: r-sig-fedora at r-project.org; nw?? <wning at Ctrip.com>
??: Re: [R-sig-Fedora] how can I know the version of my zlib checked by R
On Tue, 2017-02-07 at 08:39 +0000, nw?? wrote:
Do you really need to install from source? The EPEL RPMs by Tom Callaway from Redhat contain a bundled version of zlib for platforms that do not have an up-to-date system version, and so are much easier to install.

Note that it is not only zlib that is affected. You will have the same issue for bzip, xzv, pcre, and curl.
This information is contained in the "R Installation and Administration" manual, also known as "R-admin". The minimum version required is zlib 1.2.5. ?You can also see this information in the output from configure, e.g. on my system:

checking if zlib version >= 1.2.5... yes

Martyn
#
On Tue, 2017-02-07 at 10:13 +0000, nw?? wrote:
The same mechanism you used to transfer the source tarball to the
server can be used for the EPEL RPMs and then you can do a local
install with yum.

You will have to go through a long iterative process of identifying
missing dependencies (yum will tell you) transferring the corresponding
RPMs to the server and installing them. But it will still be better
than installing from source.

Martyn
#
Dear Martyn,

	I'm really grateful to you and your useful suggestions! I will try and tell you a good news once I accomplish the installation.

Best Regards

Wei Ning
Ctrip, Shanghai

-----????-----
???: Martyn Plummer [mailto:plummerm at iarc.fr] 
????: 2017?2?7? 19:02
???: r-sig-fedora at r-project.org; nw?? <wning at Ctrip.com>
??: Re: ??: [R-sig-Fedora] how can I know the version of my zlib checked by R
On Tue, 2017-02-07 at 10:13 +0000, nw?? wrote:
The same mechanism you used to transfer the source tarball to the server can be used for the EPEL RPMs and then you can do a local install with yum.

You will have to go through a long iterative process of identifying missing dependencies (yum will tell you) transferring the corresponding RPMs to the server and installing them. But it will still be better than installing from source.

Martyn