[R] installing R-2.1.0 from source on Fedora Core 3 with tcltk

2005-04-24 Thread Jonathan Baron
I installed from source on Fedora Core 3 starting with the
command

./configure --prefix=/usr --with-tcltk

(The --with-tcltk may not be necessary, but there seems to be
some correlation between using it and getting it to work.)

It would not compile with tcltk, even though I had both tcl and
tk rpms installed.

Various fooling around let me to get

http://www.murdoch-sutherland.com/Rtools/R_Tcl.zip

(even though it is supposedly for Windows), unzip it in the
R-2.0.0/ directory (where the tar file put itself), and also
install rpms for tcl-devel and tk-devel, which I did not have.
When I did both of these things, it worked.  Either one of them
alone (the ..devel rpms or the R_Tcl.zip) did not suffice.
(However, it isn't clear that a single trial experiment is
sufficient to determine what works.)

My own problem is solved for the moment.  But others may benefit
from this report, and it may be that the installation
documentation needs minor tweaking.  (Or it may be that I did
something else wrong, but right now I doubt that.)

Jon
-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] installing R-2.1.0 from source on Fedora Core 3 with tcltk

2005-04-24 Thread Roger D. Peng
I haven't had a problem building R 2.1.0 on FC3 and I've got the 
tcl, tcl-devl, tk, and tk-devel rpms installed (and I don't use 
the --with-tcltk configure switch).  I've never downloaded the 
R_Tcl.zip file.

Does 'configure' find the tcl/tk setup and then it fails to 
compile or does 'configure' just not find tcl/tk to begin with?

Also, is this a 64-bit system?  We've had trouble building R with 
tcl/tk support on some of our 64-bit Red Hat installations.

-roger
Jonathan Baron wrote:
I installed from source on Fedora Core 3 starting with the
command
./configure --prefix=/usr --with-tcltk
(The --with-tcltk may not be necessary, but there seems to be
some correlation between using it and getting it to work.)
It would not compile with tcltk, even though I had both tcl and
tk rpms installed.
Various fooling around let me to get
http://www.murdoch-sutherland.com/Rtools/R_Tcl.zip
(even though it is supposedly for Windows), unzip it in the
R-2.0.0/ directory (where the tar file put itself), and also
install rpms for tcl-devel and tk-devel, which I did not have.
When I did both of these things, it worked.  Either one of them
alone (the ..devel rpms or the R_Tcl.zip) did not suffice.
(However, it isn't clear that a single trial experiment is
sufficient to determine what works.)
My own problem is solved for the moment.  But others may benefit
from this report, and it may be that the installation
documentation needs minor tweaking.  (Or it may be that I did
something else wrong, but right now I doubt that.)
Jon
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] installing R-2.1.0 from source on Fedora Core 3 with tcltk

2005-04-24 Thread Jonathan Baron
On 04/24/05 17:07, Roger D. Peng wrote:
 I haven't had a problem building R 2.1.0 on FC3 and I've got the
 tcl, tcl-devl, tk, and tk-devel rpms installed (and I don't use
 the --with-tcltk configure switch).  I've never downloaded the
 R_Tcl.zip file.

Probably you're right.  I just installed it on another computer.
It said all the following, and then installed properly.

One checking for tclConfig.sh... no
checking for tclConfig.sh in library
(sub)directories... /usr/lib/tclConfig.sh
checking for tkConfig.sh... no
checking for tkConfig.sh in library
(sub)directories... /usr/lib/tkConfig.sh
checking /usr/include/tcl8.4/generic/tcl.h usability... no
checking /usr/include/tcl8.4/generic/tcl.h presence... no
checking for /usr/include/tcl8.4/generic/tcl.h... no
checking /usr/include/tcl8.4/tcl.h usability... no
checking /usr/include/tcl8.4/tcl.h presence... no
checking for /usr/include/tcl8.4/tcl.h... no
checking /usr/include/tcl.h usability... yes
checking /usr/include/tcl.h presence... yes
checking for /usr/include/tcl.h... yes
checking /usr/include/tk8.4/generic/tk.h usability... no
checking /usr/include/tk8.4/generic/tk.h presence... no
checking for /usr/include/tk8.4/generic/tk.h... no
checking /usr/include/tk8.4/tk.h usability... no
checking /usr/include/tk8.4/tk.h presence... no
checking for /usr/include/tk8.4/tk.h... no
checking /usr/include/tcl8.4/tk.h usability... no
checking /usr/include/tcl8.4/tk.h presence... no
checking for /usr/include/tcl8.4/tk.h... no
checking /usr/include/tk.h usability... yes

I have one more left.  I have no idea what is going on.
Sometimes it works.  Sometimes not.

Jon
-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html