hello all, I am trying to compile the R in Win7 and compiles one small part but the script don't move from the 'base' directory to 'stats' I installed the Rtools likee administrator and call the terminal (MS-DOS) like administrator too. if somebody can tell me any tips, I thank in advanced cleber ############################################# File LOG http://klebyn.ploud.com/arquivo_log/log C:\Rsrc> C:\Rsrc> C:\Rsrc>tar -xf R-3.0.2.tar.gz C:\Rsrc>where basename cat cmp comm cp cut date diff du echo expr gzip ls makeinfo C:\Rtools\bin\basename.exe C:\Rtools\bin\cat.exe C:\Rtools\bin\cmp.exe C:\Rtools\bin\comm.exe C:\Rtools\bin\cp.exe C:\Rtools\bin\cut.exe C:\Rtools\bin\date.exe C:\Rtools\bin\diff.exe C:\Rtools\bin\du.exe C:\Rtools\bin\echo.exe C:\Rtools\bin\expr.exe C:\Rtools\bin\gzip.exe C:\Rtools\bin\ls.exe C:\Rtools\bin\makeinfo.exe C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\makeinfo.exe C:\Rsrc>where mkdir mv rm rsync sed sort texindex touch uniq C:\Rtools\bin\mkdir.exe C:\Rtools\bin\mv.exe C:\Rtools\bin\rm.exe C:\Rtools\bin\rsync.exe C:\Rtools\bin\sed.exe C:\Rtools\bin\sort.exe C:\Windows\System32\sort.exe C:\Rtools\bin\texindex.exe C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\texindex.exe C:\Rtools\bin\touch.exe C:\Rtools\bin\uniq.exe C:\Rsrc>sort --version sort (GNU coreutils) 8.15 Packaged by Cygwin (8.15-1) Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. C:\Rsrc>cd R-3.0.2\src\gnuwin32 C:\Rsrc\R-3.0.2\src\gnuwin32>make all recommended > compilaR.log ######################################################################### ######################################################################### http://klebyn.ploud.com/arquivo_log/log ######################################################################### ######################################################################### connections.c: In function 'do_readbin': connections.c:3759:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] connections.c:3761:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] connections.c:3769:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] connections.c:3784:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] connections.c:3788:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pcre_exec.c: In function 'pcre_exec': pcre_exec.c:7190:20: warning: 'match_partial' may be used uninitialized in this function [-Wuninitialized] localtime.c: In function 'timesub.isra.2': localtime.c:1407:5: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] localtime.c:1411:8: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] localtime.c: In function 'time2sub.constprop.10': localtime.c:1566:8: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] localtime.c:1581:5: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] localtime.c:1593:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] localtime.c:1599:8: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] localtime.c:1619:5: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] cannot create /tmp/R4428: directory nonexistent mv: cannot stat `/tmp/R4428': No such file or directory make[3]: *** [mkR1] Error 1 make[2]: *** [all] Error 2 make[1]: *** [R] Error 1 make: *** [all] Error 2 C:\Rsrc\R-3.0.2\src\gnuwin32>
Hi Cleber It cant find /tmp which does not exist on standard win32 mount system. Are you sure you dont have to call the "make all..." from the cygwin bash ("cygwin terminal") and not the "msdos" pseudo terminal ? W. Le 04/10/2013 17:03, Cleber N.Borges a ?crit :> hello all, > I am trying to compile the R in Win7 > and compiles one small part > > but the script don't move from the 'base' directory to 'stats' > > I installed the Rtools likee administrator > and call the terminal (MS-DOS) like administrator too. > > if somebody can tell me any tips, I thank in advanced > cleber > ############################################# > > > File LOG > > http://klebyn.ploud.com/arquivo_log/log > > > C:\Rsrc> > C:\Rsrc> > C:\Rsrc>tar -xf R-3.0.2.tar.gz > > C:\Rsrc>where basename cat cmp comm cp cut date diff du echo expr gzip > ls makeinfo > C:\Rtools\bin\basename.exe > C:\Rtools\bin\cat.exe > C:\Rtools\bin\cmp.exe > C:\Rtools\bin\comm.exe > C:\Rtools\bin\cp.exe > C:\Rtools\bin\cut.exe > C:\Rtools\bin\date.exe > C:\Rtools\bin\diff.exe > C:\Rtools\bin\du.exe > C:\Rtools\bin\echo.exe > C:\Rtools\bin\expr.exe > C:\Rtools\bin\gzip.exe > C:\Rtools\bin\ls.exe > C:\Rtools\bin\makeinfo.exe > C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\makeinfo.exe > > C:\Rsrc>where mkdir mv rm rsync sed sort texindex touch uniq > C:\Rtools\bin\mkdir.exe > C:\Rtools\bin\mv.exe > C:\Rtools\bin\rm.exe > C:\Rtools\bin\rsync.exe > C:\Rtools\bin\sed.exe > C:\Rtools\bin\sort.exe > C:\Windows\System32\sort.exe > C:\Rtools\bin\texindex.exe > C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\texindex.exe > C:\Rtools\bin\touch.exe > C:\Rtools\bin\uniq.exe > > C:\Rsrc>sort --version > sort (GNU coreutils) 8.15 > Packaged by Cygwin (8.15-1) > Copyright (C) 2012 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > <http://gnu.org/licenses/gpl.html>. > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > Written by Mike Haertel and Paul Eggert. > > C:\Rsrc>cd R-3.0.2\src\gnuwin32 > C:\Rsrc\R-3.0.2\src\gnuwin32>make all recommended > compilaR.log > ######################################################################### > ######################################################################### > > http://klebyn.ploud.com/arquivo_log/log > > ######################################################################### > ######################################################################### > > connections.c: In function 'do_readbin': > connections.c:3759:8: warning: dereferencing type-punned pointer will > break strict-aliasing rules [-Wstrict-aliasing] > connections.c:3761:8: warning: dereferencing type-punned pointer will > break strict-aliasing rules [-Wstrict-aliasing] > connections.c:3769:4: warning: dereferencing type-punned pointer will > break strict-aliasing rules [-Wstrict-aliasing] > connections.c:3784:4: warning: dereferencing type-punned pointer will > break strict-aliasing rules [-Wstrict-aliasing] > connections.c:3788:4: warning: dereferencing type-punned pointer will > break strict-aliasing rules [-Wstrict-aliasing] > pcre_exec.c: In function 'pcre_exec': > pcre_exec.c:7190:20: warning: 'match_partial' may be used > uninitialized in this function [-Wuninitialized] > localtime.c: In function 'timesub.isra.2': > localtime.c:1407:5: warning: assuming signed overflow does not occur > when assuming that (X + c) < X is always false [-Wstrict-overflow] > localtime.c:1411:8: warning: assuming signed overflow does not occur > when assuming that (X - c) > X is always false [-Wstrict-overflow] > localtime.c: In function 'time2sub.constprop.10': > localtime.c:1566:8: warning: assuming signed overflow does not occur > when assuming that (X + c) < X is always false [-Wstrict-overflow] > localtime.c:1581:5: warning: assuming signed overflow does not occur > when assuming that (X + c) < X is always false [-Wstrict-overflow] > localtime.c:1593:9: warning: assuming signed overflow does not occur > when assuming that (X + c) < X is always false [-Wstrict-overflow] > localtime.c:1599:8: warning: assuming signed overflow does not occur > when assuming that (X - c) > X is always false [-Wstrict-overflow] > localtime.c:1619:5: warning: assuming signed overflow does not occur > when assuming that (X - c) > X is always false [-Wstrict-overflow] > cannot create /tmp/R4428: directory nonexistent > mv: cannot stat `/tmp/R4428': No such file or directory > make[3]: *** [mkR1] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [R] Error 1 > make: *** [all] Error 2 > > C:\Rsrc\R-3.0.2\src\gnuwin32> > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
Hi Cleber, You need to set TMPDIR to a valid directory, the default /tmp/ does not work on Windows.>From the cmd shell:set TMPDIR=C:/TMP for example and then run make all recommended Cheers, Josh On Fri, Oct 4, 2013 at 5:03 PM, Cleber N.Borges <klebyn@yahoo.com.br> wrote:> hello all, > I am trying to compile the R in Win7 > and compiles one small part > > but the script don't move from the 'base' directory to 'stats' > > I installed the Rtools likee administrator > and call the terminal (MS-DOS) like administrator too. > > if somebody can tell me any tips, I thank in advanced > cleber > ##############################**############### > > > File LOG > > http://klebyn.ploud.com/**arquivo_log/log<http://klebyn.ploud.com/arquivo_log/log> > > > C:\Rsrc> > C:\Rsrc> > C:\Rsrc>tar -xf R-3.0.2.tar.gz > > C:\Rsrc>where basename cat cmp comm cp cut date diff du echo expr gzip ls > makeinfo > C:\Rtools\bin\basename.exe > C:\Rtools\bin\cat.exe > C:\Rtools\bin\cmp.exe > C:\Rtools\bin\comm.exe > C:\Rtools\bin\cp.exe > C:\Rtools\bin\cut.exe > C:\Rtools\bin\date.exe > C:\Rtools\bin\diff.exe > C:\Rtools\bin\du.exe > C:\Rtools\bin\echo.exe > C:\Rtools\bin\expr.exe > C:\Rtools\bin\gzip.exe > C:\Rtools\bin\ls.exe > C:\Rtools\bin\makeinfo.exe > C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\makeinfo.exe > > C:\Rsrc>where mkdir mv rm rsync sed sort texindex touch uniq > C:\Rtools\bin\mkdir.exe > C:\Rtools\bin\mv.exe > C:\Rtools\bin\rm.exe > C:\Rtools\bin\rsync.exe > C:\Rtools\bin\sed.exe > C:\Rtools\bin\sort.exe > C:\Windows\System32\sort.exe > C:\Rtools\bin\texindex.exe > C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\texindex.exe > C:\Rtools\bin\touch.exe > C:\Rtools\bin\uniq.exe > > C:\Rsrc>sort --version > sort (GNU coreutils) 8.15 > Packaged by Cygwin (8.15-1) > Copyright (C) 2012 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.** > html <http://gnu.org/licenses/gpl.html>>. > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > Written by Mike Haertel and Paul Eggert. > > C:\Rsrc>cd R-3.0.2\src\gnuwin32 > C:\Rsrc\R-3.0.2\src\gnuwin32>**make all recommended > compilaR.log > ##############################**##############################** > ############# > ##############################**##############################** > ############# > > http://klebyn.ploud.com/**arquivo_log/log<http://klebyn.ploud.com/arquivo_log/log> > > ##############################**##############################** > ############# > ##############################**##############################** > ############# > > connections.c: In function 'do_readbin': > connections.c:3759:8: warning: dereferencing type-punned pointer will > break strict-aliasing rules [-Wstrict-aliasing] > connections.c:3761:8: warning: dereferencing type-punned pointer will > break strict-aliasing rules [-Wstrict-aliasing] > connections.c:3769:4: warning: dereferencing type-punned pointer will > break strict-aliasing rules [-Wstrict-aliasing] > connections.c:3784:4: warning: dereferencing type-punned pointer will > break strict-aliasing rules [-Wstrict-aliasing] > connections.c:3788:4: warning: dereferencing type-punned pointer will > break strict-aliasing rules [-Wstrict-aliasing] > pcre_exec.c: In function 'pcre_exec': > pcre_exec.c:7190:20: warning: 'match_partial' may be used uninitialized in > this function [-Wuninitialized] > localtime.c: In function 'timesub.isra.2': > localtime.c:1407:5: warning: assuming signed overflow does not occur when > assuming that (X + c) < X is always false [-Wstrict-overflow] > localtime.c:1411:8: warning: assuming signed overflow does not occur when > assuming that (X - c) > X is always false [-Wstrict-overflow] > localtime.c: In function 'time2sub.constprop.10': > localtime.c:1566:8: warning: assuming signed overflow does not occur when > assuming that (X + c) < X is always false [-Wstrict-overflow] > localtime.c:1581:5: warning: assuming signed overflow does not occur when > assuming that (X + c) < X is always false [-Wstrict-overflow] > localtime.c:1593:9: warning: assuming signed overflow does not occur when > assuming that (X + c) < X is always false [-Wstrict-overflow] > localtime.c:1599:8: warning: assuming signed overflow does not occur when > assuming that (X - c) > X is always false [-Wstrict-overflow] > localtime.c:1619:5: warning: assuming signed overflow does not occur when > assuming that (X - c) > X is always false [-Wstrict-overflow] > cannot create /tmp/R4428: directory nonexistent > mv: cannot stat `/tmp/R4428': No such file or directory > make[3]: *** [mkR1] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [R] Error 1 > make: *** [all] Error 2 > > C:\Rsrc\R-3.0.2\src\gnuwin32> > > ______________________________**________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help> > PLEASE do read the posting guide http://www.R-project.org/** > posting-guide.html <http://www.R-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. >-- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://joshuawiley.com/ Senior Analyst - Elkhart Group Ltd. http://elkhartgroup.com [[alternative HTML version deleted]]
thanks. I am logged in the MS-DOS. I thought that cygwin is not necessary... in cygwin terminal, when I type: "where sh" CLEBER at pinkfloyd /cygdrive/c $ where sh C:\cygwin\bin\sh.exe C:\Rtools\bin\sh.exe so, I have two version of "sh" and the cygwin will be priority... I will make more test and to consider your sugestion of cygwin... thanks cleber Em 04/10/2013 21:58, Tambellini William escreveu:> Hi Cleber > It cant find /tmp which does not exist on standard win32 mount system. > Are you sure you dont have to call the "make all..." from the cygwin > bash ("cygwin terminal") and not the "msdos" pseudo terminal ? > W. >