[R-SIG-Mac] problem installing tkrplot

dsandif dsandif at email.unc.edu
Wed Mar 23 23:06:19 CET 2005


Hello,

I am having problems just getting tkr plot installed. This is what I try:

First try to load tkr:

[root at hotbot R_DOWNLOAD]# R CMD INSTALL tkrplot_0.0-10.tar.gz
* Installing *source* package 'tkrplot' ...
configure: creating ./config.status
config.status: creating src/Makevars
** libs
gcc -I/usr/lib64/R/include -I/usr/include -I/usr/include 
-I/usr/X11R6/include -I/usr/local/include   -fPIC  -O2 -g -pipe -m64 -c 
tcltkimg.c -o tcltkimg.o
gcc -shared -L/usr/local/lib -o tkrplot.so tcltkimg.o -L/usr/lib64 
-ltcl8.4 -L/usr/lib64 -ltk8.4 -L/usr/X11R6/lib64 -lX11 -ldl -lieee -lm
/usr/bin/ld: cannot find -ltcl8.4
collect2: ld returned 1 exit status
make: *** [tkrplot.so] Error 1
ERROR: compilation failed for package 'tkrplot'
** Removing '/usr/lib64/R/library/tkrplot'
** Restoring previous '/usr/lib64/R/library/tkrplot'


So go out and get missing lib:



[root at hotbot bourbon]# rpm -ivh tcl-8.4.5-7.x86_64.rpm
warning: tcl-8.4.5-7.x86_64.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing...                ########################################### 
[100%]
      file /usr/bin/tclsh from install of tcl-8.4.5-7 conflicts with 
file from package tcl-8.3.5-92.2
      file /usr/lib64/tclConfig.sh from install of tcl-8.4.5-7 conflicts 
with file from package tcl-8.3.5-92.2
      file /usr/share/man/man1/tclsh.1.gz from install of tcl-8.4.5-7 
conflicts with file from package tcl-8.3.5-92.2
[root at hotbot bourbon]#



But this has conflicts, so try to resolve:



[root at hotbot bourbon]# rpm -qa | grep tcl
tcl-devel-8.3.5-92.2
tcl-8.3.5-92.2
rh-postgresql-tcl-7.3.9-2
tclx-8.3-92.2
tclx-8.3-92.2
itcl-3.2-92.2
tcl-8.3.5-92.2
[root at hotbot bourbon]#


So there are lots of codes that rely on tcl,
do I remove them all?


thxs,


D-



More information about the R-SIG-Mac mailing list