This is the first time I've ever compiled from sources so bear with me. OS: Windows 2000 PATH: .: D:/Rtools/: D:/mingw/bin/: C:/Progra~1/Perl/bin: D:/texmf/miktex/bin/: D:/Progra~1/HTMLHe~1: D:/Progra~1/R/rw1062/bin/: C:/Progra~1/Insightful/splus61/cmd/: D:/cygwin/bin: D:/Progra~1/SSHCom~1/SSHSec~1: D:/Progra~1/Tcl/bin/: C:/Progra~1/Microso~3/VC98/Bin I've read src/gnuwin32/INSTALL and changed all the pertintent lines in src/gnuwin32/MkRules. I'm running `make' under a bash shell. I couldn't get `make' to run in a DOS shell (I'm not sure why). I've removed `cygwin1.dll' and `cygpcre.dll' in the cygwin directory so as not to conflict with the ones supplied in `Rtools.zip'. Then when I run `make' in src/gnuwin32/ it seems to work fine until it reaches this point: dlltool -k --as as --dllname Rblas.dll \ --def Rblas.def --output-lib libRblas.a d:\mingw\bin\dlltool.exe: installation problem, cannot exec `as' make[1]: *** [libRblas.a] Error 1 make[1]: Leaving directory `/cygdrive/d/R/R-1.7.0/src/gnuwin32' make: *** [all] Error 2 Any ideas? Need more info? Best, Sundar
Sundar Dorai-Raj wrote:> This is the first time I've ever compiled from sources so bear with me. > > OS: Windows 2000 > PATH: > .: > D:/Rtools/: > D:/mingw/bin/: > C:/Progra~1/Perl/bin: > D:/texmf/miktex/bin/: > D:/Progra~1/HTMLHe~1: > D:/Progra~1/R/rw1062/bin/: > C:/Progra~1/Insightful/splus61/cmd/: > D:/cygwin/bin: > D:/Progra~1/SSHCom~1/SSHSec~1: > D:/Progra~1/Tcl/bin/: > C:/Progra~1/Microso~3/VC98/Bin > > I've read src/gnuwin32/INSTALL and changed all the pertintent lines in > src/gnuwin32/MkRules. > > I'm running `make' under a bash shell. I couldn't get `make' to run in a > DOS shell (I'm not sure why).For compiling R, make is ought to be executed in the windows command shell. Please start debugging here ... Uwe Ligges > I've removed `cygwin1.dll' and> `cygpcre.dll' in the cygwin directory so as not to conflict with the > ones supplied in `Rtools.zip'. Then when I run `make' in src/gnuwin32/ > it seems to work fine until it reaches this point: > > dlltool -k --as as --dllname Rblas.dll \ > --def Rblas.def --output-lib libRblas.a > d:\mingw\bin\dlltool.exe: installation problem, cannot exec `as' > make[1]: *** [libRblas.a] Error 1 > make[1]: Leaving directory `/cygdrive/d/R/R-1.7.0/src/gnuwin32' > make: *** [all] Error 2 > > Any ideas? Need more info? > > Best, > Sundar > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Thanks for the replies. I've taken the suggestion of removing cygwin and all registry keys (that I can find). Again here is my path: D:\R\R-17~1.0\src\gnuwin32>path PATH=C:\Program Files\Perl\bin\; C:\WINNT\system32; C:\WINNT; C:\WINNT\System32\Wbem; "C:\Program Files\Hummingbird\Connectivity\7.00\Accessories\"; .; D:\Rtools\; D:\mingw\bin\; C:\Progra~1\Perl\bin; D:\texmf\miktex\bin\; D:\Progra~1\HTMLHe~1; D:\Progra~1\R\rw1062\bin\; C:\Progra~1\Insightful\splus61\cmd\; D:\Progra~1\SSHCom~1\SSHSec~1; D:\Progra~1\Tcl\bin\; C:\Progra~1\Microso~3\VC98\Bin; Everything before the . is prepended by the administrator. After modifying src\gnuwin32\MkRules, I try `make' in the same directory: D:\R\R-17~1.0\src\gnuwin32>make make --no-print-directory -C front-ends Rpwd make: *** [front-ends/Rpwd.exe] Error 255 D:\R\R-17~1.0\src\gnuwin32> Here's another anomaly that I've worked around though it may be related: If I type `tar zxvf R-1.7.0.tgz' at the command prompt I get a dialog box listing the tar options and no untarring is accomplished. I was able to use tar properly in the bash shell to extract everyting before I deleted the cygwin directory. Any clues? Have I missed something obvious? Regards, Sundar
Thomas Stockton wrote:> Sundar, > > Looks like Perl is in the PATH before ".". ? > > Tom >It seems that this was the problem and R was installed successfully. However, none of the Recommended packages were installed (i.e. those packages found in D:\R\R-1.7.0\src\library\Recommended\*.tgz). And if I try to use install.packages I get: > install.packages("nlme") trying URL `http://cran.r-project.org/bin/windows/contrib/1.7/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 8762 bytes opened URL downloaded 8762 bytes Warning message: No package "nlme" on CRAN. in: download.packages(pkgs, destdir = tmpd, available = available, > Regards, Sundar