Syagin, Fedor
2016-Jul-05 16:52 UTC
[R-sig-Fedora] Compiling R-3.3.0 and/or R-3.3.1 with custom location for dependencies like zlib
Greetings. Sorry I am a bit new to this list. I am trying to compile R-3.3.0 and/or R-3.3.1 on computational cluster running Centos 6.6 I have custom installation of zlib 1.2.8 , but it's not in default /lib /usr/lib /usr/include location and configure script keeps failing when looking for it. It doesn't seem to care if correct zlib.h is in path and always seems to find one in /usr/include In the past we build R and put in nfs share that used by about 400 nodes to do computation. This is first time we having issue with compilation process. zlib dependencies right now are on the same share. Is there any way to point configure script to the right location for the prerequisite? So far I see people mostly end up using package system, that might not so well for our environment. Sincerely yours Fedor [[alternative HTML version deleted]]
Tom Callaway
2016-Jul-05 17:10 UTC
[R-sig-Fedora] Compiling R-3.3.0 and/or R-3.3.1 with custom location for dependencies like zlib
On 07/05/2016 12:52 PM, Syagin, Fedor wrote:> Greetings. > Sorry I am a bit new to this list. > I am trying to compile R-3.3.0 and/or R-3.3.1 on computational cluster running Centos 6.6 > I have custom installation of zlib 1.2.8 , but it's not in default /lib /usr/lib /usr/include location and configure script keeps failing when looking for it. > It doesn't seem to care if correct zlib.h is in path and always seems to find one in /usr/include > > In the past we build R and put in nfs share that used by about 400 nodes to do computation. > This is first time we having issue with compilation process. zlib dependencies right now are on the same share. > > Is there any way to point configure script to the right location for the prerequisite? > So far I see people mostly end up using package system, that might not so well for our environment.Not a good way. Why can't you use the EPEL package? ~tom =Red Hat
Syagin, Fedor
2016-Jul-05 17:12 UTC
[R-sig-Fedora] Compiling R-3.3.0 and/or R-3.3.1 with custom location for dependencies like zlib
I would still have to use custom locations. I need to make sure we have access to multiple R versions. (So people still have access to old versions if they need them) so need to be very careful about not affecting current environment. Sincerely yours Fedor Syagin Office: (212) 851-4796 Cell: (917) 710-6664 -----Original Message----- From: Tom Callaway [mailto:tcallawa at redhat.com] Sent: Tuesday, July 05, 2016 1:10 PM To: Syagin, Fedor <fs2307 at cumc.columbia.edu>; r-sig-fedora at r-project.org Subject: Re: [R-sig-Fedora] Compiling R-3.3.0 and/or R-3.3.1 with custom location for dependencies like zlib On 07/05/2016 12:52 PM, Syagin, Fedor wrote:> Greetings. > Sorry I am a bit new to this list. > I am trying to compile R-3.3.0 and/or R-3.3.1 on computational cluster > running Centos 6.6 I have custom installation of zlib 1.2.8 , but it's not in default /lib /usr/lib /usr/include location and configure script keeps failing when looking for it. > It doesn't seem to care if correct zlib.h is in path and always seems > to find one in /usr/include > > In the past we build R and put in nfs share that used by about 400 nodes to do computation. > This is first time we having issue with compilation process. zlib dependencies right now are on the same share. > > Is there any way to point configure script to the right location for the prerequisite? > So far I see people mostly end up using package system, that might not so well for our environment.Not a good way. Why can't you use the EPEL package? ~tom =Red Hat