Paul Johnson
2016-Feb-12 17:13 UTC
[Rd] configure statement for R-devel with updated zlib in user account
I'm aware R-devel no longer includes zlib. This works find on up-to-date Linux systems. On the older Centos 6 cluster at KU, they have zlib tool old for R-devel. The R-devel configure fails thus: checking if zlib version >= 1.2.5... no checking whether zlib support suffices... configure: error: zlib library and headers are required In other software, I've seen this kind of thing, so I installed zlib 1.2.8 into $HOME/packages and I can verify that the right pieces are installed there. Now I need you to tell me how to tell R to use that. Guesses so far: $ export PATH=$HOME/packages/bin:$PATH $ export LD_LIBRARY_PATH=$HOME/packages/lib:$LD_LIBRARY_PATH What R's configure statement needs to find zlib in my user account? In R-devel, the ./configure --help doesn't give me a simple-enough explanation of what I'm supposed to do. I thought I had a solution by adding this --with-libpth-prefix=$HOME/packages but still rejection, new zlib not found. -- Paul E. Johnson Professor, Political Science Director 1541 Lilac Lane, Room 504 Center for Research Methods University of Kansas University of Kansas http://pj.freefaculty.org http://crmda.ku.edu
Jesper Gådin
2016-Feb-15 09:28 UTC
[Rd] configure statement for R-devel with updated zlib in user account
Hi Paul, This might be what you are looking for. https://stat.ethz.ch/pipermail/r-devel/2015-April/070951.html Jesper On Fri, Feb 12, 2016 at 6:13 PM, Paul Johnson <pauljohn32 at gmail.com> wrote:> I'm aware R-devel no longer includes zlib. This works find on > up-to-date Linux systems. > > On the older Centos 6 cluster at KU, they have zlib tool old for > R-devel. The R-devel configure fails thus: > > checking if zlib version >= 1.2.5... no > checking whether zlib support suffices... configure: error: zlib > library and headers are required > > In other software, I've seen this kind of thing, so I installed zlib > 1.2.8 into $HOME/packages and I can verify that the right pieces are > installed there. > > Now I need you to tell me how to tell R to use that. Guesses so far: > > $ export PATH=$HOME/packages/bin:$PATH > $ export LD_LIBRARY_PATH=$HOME/packages/lib:$LD_LIBRARY_PATH > > What R's configure statement needs to find zlib in my user account? > > In R-devel, the ./configure --help doesn't give me a simple-enough > explanation of what I'm supposed to do. I thought I had a solution by > adding this > > --with-libpth-prefix=$HOME/packages > > but still rejection, new zlib not found. > > -- > Paul E. Johnson > Professor, Political Science Director > 1541 Lilac Lane, Room 504 Center for Research Methods > University of Kansas University of Kansas > http://pj.freefaculty.org http://crmda.ku.edu > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >[[alternative HTML version deleted]]
Paul Johnson
2016-Feb-18 20:48 UTC
[Rd] configure statement for R-devel with updated zlib in user account
On Mon, Feb 15, 2016 at 3:28 AM, Jesper G?din <jesper.gadin at gmail.com> wrote:> Hi Paul, > > This might be what you are looking for. > https://stat.ethz.ch/pipermail/r-devel/2015-April/070951.html > > Jesper >Thanks to help form Wes Mason at KU and Jesper Gadin in r-devel, I compiled R-devel on RHEL 6. R-devel requires install of newer gzip, bzip2, xz, pcre, and curl. Compiles of bzip2 and pcre require a slightly greater-than-usual amount of attention to detail. I wrote it all out: http://pj.freefaculty.org/blog/?p=315 "Building R-devel on RedHat Linux 6" Regards pj -- Paul E. Johnson Professor, Political Science Director 1541 Lilac Lane, Room 504 Center for Research Methods University of Kansas University of Kansas http://pj.freefaculty.org http://crmda.ku.edu
Possibly Parallel Threads
- something wrong in package submission procedure/website
- Proposed change in file.exists() to tolerate Windows
- configure statement for R-devel with updated zlib in user account
- Ask if an object will respond to a function or method
- portableParalleSeeds Package violation, CRAN exception?