Marie-Hélène
2005-Aug-23 20:51 UTC
[R] problems installing R from source: R-2.1.1 Windows XP
Hi everyone, I’m a Windows XP user. I’m trying to install R-2.1.1 from source, and it doesn’t work. Here’s what I have done: * Got the source code from CRAN : R-2.1.1.tar.gz * Ran ‘tar zxvf R-2.1.1.tar.gz’ in a CMD terminal window. Everything worked fine. I got my R-2.1.1 folder in C:/Rsource. * I got the iconv.dll file downloaded and unzipped it in C:/Rsource/src/gnuwin32/unicode. No problem there. * I also unzipped R_Tcl.zip in C:/Rsource. * I got the files libpng-1.2.8.tar.gz and jpegsrc.v6b.tar.gz, put them in C:/Rsource/src/gnumin32/bitmap/ and unzipped them there. * I installed the HTML help workshop in C:/. * I installed the R tools (the latest version of it) in C:/. * I installed the Perl 5 in C:/. * I installed the MinGW (4.1.1) in C:/. For this program, I downloaded the f771.exe file and replaced the one that was in /libexec/gcc/mingw32/3.4.2/f771.exe. * I downloaded the files opencow.dll and libunicows.a and installed them respectively in src/gnuwin32/unicode and MinGW/lib. * I took the .sty and .fd R files from C:/Rsource/R-2.1.1/share/texmf/ (omsaer.fd, omsaett.fd, omscmtt.fd, Rd.sty, Sweave.sty, ts1aer.fd, ts1aett.fd and upquote.sty) and copied them in C:/Rsource/localtexmf/tex. I then went to Start | Programs | MiKteX | MiKTeK Options | General and updated and refreshed everything. * I got the following paths in variable environment of the system: C:\tools\bin\;C:\Perl\bin\;C:\MinGW\bin\;C:\Rsource\latex\miktex\bin\;C:\HTML_Help_Workshop\;C:\Rsource\Tcl\bin\;… I open a CMD terminal window, and run make. I got the error message that we can see at the bottom of this terminal window. I then thought it was MiKTeX that was not well installed. I did it again, and reran the make. Here’s what I got: C:\Rsource\R-2.1.1\src\gnuwin32>make make[1]: `Rpwd.exe' is up to date. make -f Makefile.docfiles make[3]: Nothing to be done for `docfiles'. make[4]: Nothing to be done for `svnonly'. installing C headers make[2]: `all' is up to date. make[2]: `libRblas.a' is up to date. make -f Makefile.docfiles make[4]: Nothing to be done for `docfiles'. make[5]: Nothing to be done for `svnonly'. installing C headers make --no-print-directory -C ../extra/intl -f Makefile.win make --no-print-directory -C ../appl OPTFLAGS='-O2 -Wall -pedantic' -f Makefile .win make --no-print-directory -C ../nmath OPTFLAGS='-O2 -Wall -pedantic' -f Makefile .win make --no-print-directory -C ../main OPTFLAGS='-O2 -Wall -pedantic -DLEA_MALLOC ' -f Makefile.win make --no-print-directory -C ./graphapp make --no-print-directory -C ./getline make[4]: `gl.a' is up to date. make[4]: `libxdr.a' is up to date. make[3]: `R.dll' is up to date. cp R.dll ../../bin/ make[2]: `libR.a' is up to date. make[2]: `../../bin/Rblas.dll' is up to date. make[2]: Nothing to be done for `CHTML'. make --no-print-directory -C front-ends make[3]: Nothing to be done for `all'. make[2]: `COPYRIGHTS' is up to date. make --no-print-directory -C ../modules \ OPTFLAGS='-O2 -Wall -pedantic' FOPTFLAGS='-O2 -Wall' -f Makefile.win make[5]: `../../../bin/Rlapack.dll' is up to date. make[5]: `../../../lib/libRlapack.a' is up to date. make[5]: `../../../modules/lapack.dll' is up to date. cp unicode/iconv.dll ../../modules/ making bootstrap versions of packages ... ... done ---------- Making package base ------------ adding build stamp to DESCRIPTION Error in library.dynam(lib, package, package.lib) : shared library 'tools' not found Execution halted make[4]: *** [frontmatter] Error 1 make[3]: *** [all] Error 2 make[2]: *** [pkg-base] Error 2 make[1]: *** [rpackage] Error 2 make: *** [all] Error 2 I can’t get ride of this error. I don’t know where it is coming from or what to do about it. Any help would be really appreciated. Thank you for your precious time, Marie-Hélène Ouellette =========================================================Marie-Hélène Ouellette UNIVERSITE DE MONTRÉAL Département de sciences biologiques Tél. (514) 343-6111 poste 1233 ======================================================== [[alternative HTML version deleted]]