Re: [R] trying to compile R in win 7 (with Rtools) ... (bitmapdll - png.h )

2013-10-06 Thread Uwe Ligges



On 06.10.2013 01:42, Cleber N.Borges wrote:

I tried to follow the intrusions in
http://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Building-the-bitmap-files

when I type

make bitmapdll (in gnuwin directory)
or make (in gnuwin/bitmap dir)

the libpng and libjpeg seems to compile
but libtiff reclaims by png.h file.

I set in the MkRules.local:
-
# optional overrides for making bitmapdll: names of source directories
JPEGDIR = C:/Rsrc/R-patched/src/gnuwin32/bitmap/jpeg-9
PNGDIR  = C:/Rsrc/R-patched/src/gnuwin32/bitmap/libpng
TIFFDIR =  C:/Rsrc/R-patched/src/gnuwin32/bitmap/libtiff

The error snippet:
---
make CC='gcc -std=gnu99 -m32' AR='ar' RANLIB=ranlib -C
C:/Rsrc/R-patched/src/gnuwin32/bitmap/libtiff -f ../Makefile.tiff
JPEGDIR=C:/Rsrc/R-patched/src/gnuwin32/bitmap/jpeg-9
gcc -std=gnu99 -m32  -DHAVE_PNG -DHAVE_JPEG -DHAVE_TIFF -I.
-I../../extra/zlib -I./C:/Rsrc/R-patched/src/gnuwin32/bitmap/libpng


Not sure what you actually configured elsewhere, but
-I./C:/R. is incorrect, it should be
-I C:/R..

Best,
Uwe Ligges



-IC:/Rsrc/R-patched/src/gnuwin32/bitmap/jpeg-9
-I./C:/Rsrc/R-patched/src/gnuwin32/bitmap/libtiff -I../../include -O3
-Wall -pedantic-c rbitmap.c -o rbitmap.o
rbitmap.c:53:17: fatal error: png.h: No such file or directory
compilation terminated.
make[1]: *** [rbitmap.o] Error 1
make: *** [all] Error 2


so, I don't understand the error because
*The png.h is in C:/Rsrc/R-patched/src/gnuwin32/bitmap/libpng*

I thank for some help

cleber

__
R-help@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.


__
R-help@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.


Re: [R] trying to compile R in win 7 (with Rtools)

2013-10-05 Thread Prof Brian Ripley

On 05/10/2013 02:02, Joshua Wiley wrote:

Hi Cleber,

You need to set TMPDIR to a valid directory, the default /tmp/ does not
work on Windows.


May not work, more precisely.  Because package writers too often assume 
it does, I created c:/tmp (my Windows box has only one drive).


And of course, this is in the 'if all else fails read the manual, but at 
least do so before posting' category.  See the posting guide (footer of 
this and every R-help message).


This is documented at the top of 
http://cran.r-project.org/doc/manuals/r-release/R-admin.html#Building-the-core-files 
.





From the cmd shell:


set TMPDIR=C:/TMP

for example

and then run make all recommended

Cheers,

Josh


[...]


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.





--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
R-help@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.


[R] trying to compile R in win 7 (with Rtools) ... (bitmapdll - png.h )

2013-10-05 Thread Cleber N.Borges

I tried to follow the intrusions in
http://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Building-the-bitmap-files
when I type

make bitmapdll (in gnuwin directory)
or make (in gnuwin/bitmap dir)

the libpng and libjpeg seems to compile
but libtiff reclaims by png.h file.

I set in the MkRules.local:
-
# optional overrides for making bitmapdll: names of source directories
JPEGDIR = C:/Rsrc/R-patched/src/gnuwin32/bitmap/jpeg-9
PNGDIR  = C:/Rsrc/R-patched/src/gnuwin32/bitmap/libpng
TIFFDIR =  C:/Rsrc/R-patched/src/gnuwin32/bitmap/libtiff

The error snippet:
---
make CC='gcc -std=gnu99 -m32' AR='ar' RANLIB=ranlib -C 
C:/Rsrc/R-patched/src/gnuwin32/bitmap/libtiff -f ../Makefile.tiff 
JPEGDIR=C:/Rsrc/R-patched/src/gnuwin32/bitmap/jpeg-9
gcc -std=gnu99 -m32  -DHAVE_PNG -DHAVE_JPEG -DHAVE_TIFF -I. 
-I../../extra/zlib -I./C:/Rsrc/R-patched/src/gnuwin32/bitmap/libpng 
-IC:/Rsrc/R-patched/src/gnuwin32/bitmap/jpeg-9 
-I./C:/Rsrc/R-patched/src/gnuwin32/bitmap/libtiff -I../../include -O3 
-Wall -pedantic-c rbitmap.c -o rbitmap.o

rbitmap.c:53:17: fatal error: png.h: No such file or directory
compilation terminated.
make[1]: *** [rbitmap.o] Error 1
make: *** [all] Error 2


so, I don't understand the error because
*The png.h is in C:/Rsrc/R-patched/src/gnuwin32/bitmap/libpng*

I thank for some help

cleber

__
R-help@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.


[R] trying to compile R in win 7 (with Rtools)

2013-10-04 Thread Cleber N.Borges

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:\Rsrctar -xf R-3.0.2.tar.gz

C:\Rsrcwhere 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:\Rsrcwhere 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:\Rsrcsort --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:\Rsrccd R-3.0.2\src\gnuwin32
C:\Rsrc\R-3.0.2\src\gnuwin32make 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@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.


Re: [R] trying to compile R in win 7 (with Rtools)

2013-10-04 Thread Joshua Wiley
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 kle...@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/loghttp://klebyn.ploud.com/arquivo_log/log


 C:\Rsrc
 C:\Rsrc
 C:\Rsrctar -xf R-3.0.2.tar.gz

 C:\Rsrcwhere 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:\Rsrcwhere 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:\Rsrcsort --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:\Rsrccd 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/loghttp://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-helphttps://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, 

Re: [R] trying to compile R in win 7 (with Rtools)

2013-10-04 Thread Cleber N.Borges

thanks.

I am logged in the MS-DOS.

I thought that cygwin is not necessary...
in cygwin terminal, when I type: where sh

CLEBER@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.



__
R-help@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.


Re: [R] trying to compile R in win 7 (with Rtools)

2013-10-04 Thread Cleber N.Borges


bingo!  :-)
I got one pass to advanced!

my TMP environment variable is:
%SystemRoot%\TEMP


thanks
cleber


Em 04/10/2013 22:02, Joshua Wiley escreveu:

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




__
R-help@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.


Re: [R] trying to compile R in win 7 (with Rtools)

2013-10-04 Thread Tambellini William

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:\Rsrctar -xf R-3.0.2.tar.gz

C:\Rsrcwhere 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:\Rsrcwhere 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:\Rsrcsort --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:\Rsrccd R-3.0.2\src\gnuwin32
C:\Rsrc\R-3.0.2\src\gnuwin32make 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@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.



__
R-help@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.


Re: [R] trying to compile R in win 7 (with Rtools) ... tcl.h

2013-10-04 Thread Cleber N.Borges

stop because
*had a stone in the middle of the way*
*in the middle of the way had a stone*
(by vinicius de moraes)
#

so, one more help? somebody? :-)

thanks...
cleber

building package 'tcltk'
making init.d from init.c
making tcltk.d from tcltk.c
making tcltk_win.d from tcltk_win.c
gcc  -I../../../../include -DNDEBUG -I ../../../../Tcl/include 
-DWin32 -O3 -Wall  -std=gnu99 -mtune=core2 -c init.c -o init.o

In file included from init.c:22:0:
tcltk.h:23:17: fatal error: tcl.h: No such file or directory
compilation terminated.
make[4]: *** [init.o] Error 1
make[3]: *** [mksrc-win2] Error 1
make[2]: *** [all] Error 2
make[1]: *** [R] Error 1
make: *** [all] Error 2




Em 04/10/2013 22:46, Cleber N.Borges escreveu:


bingo!  :-)
I got one pass to advanced!

my TMP environment variable is:
%SystemRoot%\TEMP


thanks
cleber


Em 04/10/2013 22:02, Joshua Wiley escreveu:

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




__
R-help@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.


Re: [R] trying to compile R in win 7 (with Rtools) ... tcl.h

2013-10-04 Thread Joshua Wiley
Hi Cleber,

When you install Rtools, it asks you the home directory of R, and there it
puts a directory called src and Tcl.  You need to copy those over to
whereever you are making R.

So for example, I have:

C:\usr\R\R-devel\Tcl

Where I tar -xf R devel into C:\usr\R\

and then copy the src and Tcl dirs from R tools over into C:\usr\R\R-devel\

Also don't forget to when you finish make all recommended to

cd bitmap
make all

so you can save graphs as PNG, etc.

Cheers,

Josh



On Fri, Oct 4, 2013 at 7:29 PM, Cleber N.Borges kle...@yahoo.com.br wrote:

 stop because
 *had a stone in the middle of the way*
 *in the middle of the way had a stone*
 (by vinicius de moraes)
 #

 so, one more help? somebody? :-)

 thanks...
 cleber

 building package 'tcltk'
 making init.d from init.c
 making tcltk.d from tcltk.c
 making tcltk_win.d from tcltk_win.c
 gcc  -I../../../../include -DNDEBUG -I ../../../../Tcl/include -DWin32
 -O3 -Wall  -std=gnu99 -mtune=core2 -c init.c -o init.o
 In file included from init.c:22:0:
 tcltk.h:23:17: fatal error: tcl.h: No such file or directory
 compilation terminated.
 make[4]: *** [init.o] Error 1
 make[3]: *** [mksrc-win2] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [R] Error 1
 make: *** [all] Error 2




 Em 04/10/2013 22:46, Cleber N.Borges escreveu:


 bingo!  :-)
 I got one pass to advanced!

 my TMP environment variable is:
 %SystemRoot%\TEMP


 thanks
 cleber


 Em 04/10/2013 22:02, Joshua Wiley escreveu:

 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



 __**
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/**listinfo/r-helphttps://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]]

__
R-help@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.