From andre_mikulec at hotmail.com  Thu Apr 11 01:27:48 2013
From: andre_mikulec at hotmail.com (Andre Mikulec)
Date: Wed, 10 Apr 2013 19:27:48 -0400
Subject: [Rd] windows compile R from source,
	where do I put the Tcl directory?
Message-ID: <BLU174-W412329522E78B100BDEE869CC70@phx.gbl>

Hi,

I am trying to compile R from source on Windows.
I am following the instructions here

3.1 Building from source
3 Installing R under Windows
file:///F:/ProgramFiles/R/R-2.15.3/doc/manual/R-admin.html

It only says,?

"
The Tcl/Tk support files are contained in Rtools30.exe and?
available as .zips from http://www.stats.ox.ac.uk/pub/Rtools.?
Please make sure you install the right version: there is a 32-bit?
version and a 64-bit version.
"

Anyways,
I collected the support files from here.
http://www.stats.ox.ac.uk/pub/Rtools/R_Tcl_8-5-8.zip

The instructions do not say "where to put my Tcl folder."
So I just guessed, based on ( include, doc, and bin are parallel directories )
in F:\ProgramFiles\R\R-2.15.3\Tcl

I guessed ( and guessed wrong ) ...
M:\YDrive\All_Economics\eclipse_workspace\R-2.15.3\src\Tcl

When Try to compile with?

M:\YDrive\All_Economics\eclipse_workspace\R-2.15.3\src\gnuwin32>make all recommended

I eventually get ...

? "tcltk.h:23:17: fatal error: tcl.h: No such file or directory"

in the message

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 -gdwarf-2 -std=gnu99 ?-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

Please, help.

Thank you.
Andre Mikulec
Andre_Mikulec at Hotmail.com 		 	   		  


[Rd] windows compile R from source, where do I put the Tcl directory?
Andre Mikulec