[R] installation help for mac os x

Nancy Hornewer nini at npgcable.com
Tue Oct 5 04:57:53 CEST 2004


Hi,

I'm  trying to install R for Mac OS X. I printed out the Mac OS X FAQ 
(version 1.9-1 2004-03-22) and have been following those instructions 
step-by-step. I'm a _complete_ novice when it comes to non-mac type 
software installations and am not very unix literate, but I'm hoping I 
can get this to work. I'm running a dual 1.8 GHz mac with the latest 
version of panther.

Here's my progress to date:
(1) Installed the  C/C++ compiler from the Apple Developer Connection 
(v. 1.5) - no problems
(2) Installed the Fortran compiler g77 for gcc 3.3 (v. 3.4) - no 
problems
(3) Installed the libreadline  library (v. 4.3) [note faq said 
optional, but I saw that it was recommended in one of the r-help 
archives] - no problems
(4) Didn't install X11 SDK package because it was optional and I don't 
think I need that (just want to run this on my machine)
(5) Installed tcl8.4.7 - no problems
(6) Tried installing tk8.4.7 but received many many error messages when 
I typed "make". Here is the last portion of those messages:

/tk8.4.7/generic/tk3d.c: In function `Tk_Get3DBorderFromObj':
/tk8.4.7/generic/tk3d.c:1262: error: `borderPtr' undeclared (first use 
in this function)
/tk8.4.7/generic/tk3d.c:1264: error: invalid operands to binary *
/tk8.4.7/generic/tk3d.c:1264: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1277: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1280: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1280: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1281: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1301: error: request for member `borderTable' 
in something not a structure or union
/tk8.4.7/generic/tk3d.c:1301: error: request for member `borderTable' 
in something not a structure or union
/tk8.4.7/generic/tk3d.c:1305: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1307: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1307: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1308: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c: In function `TkDebugBorder':
/tk8.4.7/generic/tk3d.c:1388: error: `borderPtr' undeclared (first use 
in this function)
/tk8.4.7/generic/tk3d.c:1391: error: invalid operands to binary *
/tk8.4.7/generic/tk3d.c:1391: error: parse error before ')' token
/tk8.4.7/generic/tk3d.c:1394: error: request for member `borderTable' 
in something not a structure or union
/tk8.4.7/generic/tk3d.c:1394: error: request for member `borderTable' 
in something not a structure or union
/tk8.4.7/generic/tk3d.c:1396: error: parse error before ')' token
/usr/include/ctype.h: At top level:
/tk8.4.7/generic/tk3d.c:1134: error: storage size of `shiftTable' isn't 
known
/tk8.4.7/generic/tk3d.c:31: warning: `BorderInit' declared `static' but 
never defined
/tk8.4.7/generic/tk3d.c:36: warning: `Intersect' declared `static' but 
never defined
/tk8.4.7/generic/tk3d.c:39: warning: `ShiftLine' declared `static' but 
never defined
{standard input}:1940:Ignoring attempt to re-define symbol.
{standard input}:1943:Ignoring attempt to re-define symbol.
{standard input}:1979:Ignoring attempt to re-define symbol.
{standard input}:1982:Ignoring attempt to re-define symbol.
{standard input}:1985:Ignoring attempt to re-define symbol.
{standard input}:1988:Ignoring attempt to re-define symbol.
make: *** [tk3d.o] Error 1
cm-24-121-11-63:/tk8.4.7/unix nancy$

I'm not sure why this didn't work and tried the "make" command twice (I 
hope I didn't mess anything up by running that command twice). I can 
email the entire list of errors if necessary, but it is really long.

After the above failed, I did install the next item on the faq list:  
TeX and that seemed to work fine.

I haven't yet tried installing the R sources yet because I was afraid 
that it might have to be installed after tk.

Any assistance that you can provide would be greatly appreciated.

Thank you,
Nancy




More information about the R-help mailing list