[R-SIG-Mac] Problem upgrading to R version 2.10.0.

2009-10-27 Thread Rolf Turner


First I downloaded the Mac binary from CRAN, but when I double clicked
on install icon it told me ``Couldn't open R-2.10.0.pkg. This package
type requires Mac OS X 10.5.''

I guess I don't have 10.5.


Session info:

R version 2.9.1 (2009-06-26)
i386-apple-darwin8.11.1

locale:
C

attached base packages:
[1] datasets  utils stats graphics  grDevices methods   base

other attached packages:
[1] misc_0.0-11fortunes_1.3-6 MASS_7.2-47


(None of the information that I can extract from my machine refers to
``MAC OS X 10.x''; it only refers to apple-darwinwhatever --- and
there never appears to be any information as to the connection between
the different forms of referent.)

Anyhow, I then decided to try to roll my own.  (This has worked in the
past.)  I downloaded the tar file of R 2.10.0, did ./configure and make.
It went about its business for a while and then stopped with an error  
message.

The tail end of the screen output is:


.
.
.
building package 'tcltk'
mkdir ../../../library/tcltk
mkdir ../../../library/tcltk/R
mkdir ../../../library/tcltk/exec
mkdir ../../../library/tcltk/po
making init.d from init.c
making tcltk.d from tcltk.c
making tcltk_unix.d from tcltk_unix.c
gcc -std=gnu99 -I../../../../include -I/usr/local/include -I/usr/ 
local/include  -I/usr/X11R6/include -I/sw/include -I/usr/local/ 
include-fPIC  -g -O2 -c init.c -o init.o
gcc -std=gnu99 -I../../../../include -I/usr/local/include -I/usr/ 
local/include  -I/usr/X11R6/include -I/sw/include -I/usr/local/ 
include-fPIC  -g -O2 -c tcltk.c -o tcltk.o
gcc -std=gnu99 -I../../../../include -I/usr/local/include -I/usr/ 
local/include  -I/usr/X11R6/include -I/sw/include -I/usr/local/ 
include-fPIC  -g -O2 -c tcltk_unix.c -o tcltk_unix.o

In file included from tcltk_unix.c:23:
../../../../include/R_ext/eventloop.h:73: warning: 'struct timeval'  
declared inside parameter list
../../../../include/R_ext/eventloop.h:73: warning: its scope is  
only this definition or declaration, which is probably not what you  
want
gcc -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names - 
mmacosx-version-min=10.4 -undefined dynamic_lookup -single_module - 
multiply_defined suppress -L/sw/lib -L/usr/local/lib -o tcltk.so  
init.o tcltk.o tcltk_unix.o -L/usr/local/lib -ltcl8.5 -L/usr/local/ 
lib -ltk8.5 -L/usr/X11R6/lib -lX11 -Wl,-weak-lXss -lXext - 
L../../../../lib -lR -dylib_file libRblas.dylib:../../../../lib/ 
libRblas.dylib -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: for architecture  
x86_64 object: /usr/local/lib/libtk8.5.dylib malformed object  
(unknown load command 7)

make[4]: *** [tcltk.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [R] Error 1
make[1]: *** [R] Error 1
make: *** [R] Error 1


I haven't a clue what to do about this.  And so I'm stuck.  I'd  
really like to be using
the latest version of R, but I seem to be thwarted at every turn.   
Can anyone help me out?


cheers,

Rolf Turner


##
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

___
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Problem upgrading to R version 2.10.0.

2009-10-27 Thread Simon Urbanek


On Oct 27, 2009, at 16:43 , Rolf Turner wrote:



First I downloaded the Mac binary from CRAN, but when I double clicked
on install icon it told me ``Couldn't open R-2.10.0.pkg. This  
package

type requires Mac OS X 10.5.''

I guess I don't have 10.5.



Click on the Apple icon on the left-top corner and then on About  
this Mac. It will say something like Mac OS X Version 10.5.8 (or  
whatever version you have). The pkg build is for 10.5 and higher only  
(as the description prominently says).




Session info:

R version 2.9.1 (2009-06-26)
i386-apple-darwin8.11.1

locale:
C

attached base packages:
[1] datasets  utils stats graphics  grDevices methods   base

other attached packages:
[1] misc_0.0-11fortunes_1.3-6 MASS_7.2-47


(None of the information that I can extract from my machine refers to
``MAC OS X 10.x''; it only refers to apple-darwinwhatever --- and
there never appears to be any information as to the connection between
the different forms of referent.)

Anyhow, I then decided to try to roll my own.  (This has worked in the
past.)  I downloaded the tar file of R 2.10.0, did ./configure and  
make.
It went about its business for a while and then stopped with an  
error message.

The tail end of the screen output is:


   .
   .
   .
building package 'tcltk'
mkdir ../../../library/tcltk
mkdir ../../../library/tcltk/R
mkdir ../../../library/tcltk/exec
mkdir ../../../library/tcltk/po
making init.d from init.c
making tcltk.d from tcltk.c
making tcltk_unix.d from tcltk_unix.c
gcc -std=gnu99 -I../../../../include -I/usr/local/include -I/usr/ 
local/include  -I/usr/X11R6/include -I/sw/include -I/usr/local/ 
include-fPIC  -g -O2 -c init.c -o init.o
gcc -std=gnu99 -I../../../../include -I/usr/local/include -I/usr/ 
local/include  -I/usr/X11R6/include -I/sw/include -I/usr/local/ 
include-fPIC  -g -O2 -c tcltk.c -o tcltk.o
gcc -std=gnu99 -I../../../../include -I/usr/local/include -I/usr/ 
local/include  -I/usr/X11R6/include -I/sw/include -I/usr/local/ 
include-fPIC  -g -O2 -c tcltk_unix.c -o tcltk_unix.o

In file included from tcltk_unix.c:23:
../../../../include/R_ext/eventloop.h:73: warning: 'struct timeval'  
declared inside parameter list
../../../../include/R_ext/eventloop.h:73: warning: its scope is  
only this definition or declaration, which is probably not what you  
want
gcc -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names - 
mmacosx-version-min=10.4 -undefined dynamic_lookup -single_module - 
multiply_defined suppress -L/sw/lib -L/usr/local/lib -o tcltk.so  
init.o tcltk.o tcltk_unix.o -L/usr/local/lib -ltcl8.5 -L/usr/local/ 
lib -ltk8.5 -L/usr/X11R6/lib -lX11 -Wl,-weak-lXss -lXext - 
L../../../../lib -lR -dylib_file libRblas.dylib:../../../../lib/ 
libRblas.dylib -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: for architecture  
x86_64 object: /usr/local/lib/libtk8.5.dylib malformed object  
(unknown load command 7)

make[4]: *** [tcltk.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [R] Error 1
make[1]: *** [R] Error 1
make: *** [R] Error 1


I haven't a clue what to do about this.  And so I'm stuck.  I'd  
really like to be using the latest version of R,


Well, if that's all you want then just go to
http://r.research.att.com/



but I seem to be thwarted at every turn.  Can anyone help me out?



It seems as if you're trying to compile 64-bit version of R on Tiger  
which won't work. Without further details on the tools you installed,  
exact OS version and the like there is not much we can help with  
(please have a look at the R for Mac FAQ).


Cheers,
Simon

___
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Problem upgrading to R version 2.10.0.

2009-10-27 Thread Rolf Turner


On 28/10/2009, at 10:34 AM, Simon Urbanek wrote:

snip


Well, if that's all you want then just go to
http://r.research.att.com/


Thanks, I'll try that ... but why isn't that directly available
on CRAN?  Or at least pointed to there?  In other words, how
would I have known to go there if you hadn't told me?


but I seem to be thwarted at every turn.  Can anyone help me out?



It seems as if you're trying to compile 64-bit version of R on Tiger
which won't work. Without further details on the tools you installed,
exact OS version and the like there is not much we can help with
(please have a look at the R for Mac FAQ).



I certainly didn't ***want*** to build a 64-bit version.  I
just downloaded the tar file file and went thought the usual
routine.

Is there some ``flag'' that I should set to obtain a build of
a 32-bit version?  I would have thought that this would be the
default.

cheers,

Rolf Turner

##
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

___
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Problem upgrading to R version 2.10.0.

2009-10-27 Thread Steven McKinney


From: r-sig-mac-boun...@stat.math.ethz.ch [r-sig-mac-boun...@stat.math.ethz.ch] 
On Behalf Of Rolf Turner [r.tur...@auckland.ac.nz]
Sent: October 27, 2009 2:59 PM
To: Simon Urbanek
Cc: R-Sig Mac
Subject: Re: [R-SIG-Mac] Problem upgrading to R version 2.10.0.

On 28/10/2009, at 10:34 AM, Simon Urbanek wrote:

snip

 Well, if that's all you want then just go to
 http://r.research.att.com/

Thanks, I'll try that ... but why isn't that directly available
on CRAN?  Or at least pointed to there?  In other words, how
would I have known to go there if you hadn't told me?

It's there, visit http://cran.r-project.org/, select the MacOS X option in the 
Download and
Install R area, then look down near the bottom of that page to see

 Information, tools and most recent daily builds of the R GUI, R-patched and 
R-devel can be 
 found at http://R.research.att.com/. Please visit that page especially during 
beta stages to 
 help us test the Mac OS X binaries before final release! The page has links to 
other builds, 
 including a 'Leopart build' which includes 64-bit architectures.

HTH

Steve McKinney

 but I seem to be thwarted at every turn.  Can anyone help me out?


 It seems as if you're trying to compile 64-bit version of R on Tiger
 which won't work. Without further details on the tools you installed,
 exact OS version and the like there is not much we can help with
 (please have a look at the R for Mac FAQ).


I certainly didn't ***want*** to build a 64-bit version.  I
just downloaded the tar file file and went thought the usual
routine.

Is there some ``flag'' that I should set to obtain a build of
a 32-bit version?  I would have thought that this would be the
default.

cheers,

Rolf Turner

##
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

___
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

___
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Problem upgrading to R version 2.10.0.

2009-10-27 Thread Rolf Turner


On 28/10/2009, at 12:11 PM, Steven McKinney wrote:


On 28/10/2009, at 10:34 AM, Simon Urbanek wrote:

snip


Well, if that's all you want then just go to
http://r.research.att.com/


Thanks, I'll try that ... but why isn't that directly  
available

on CRAN?  Or at least pointed to there?  In other words, how
would I have known to go there if you hadn't told me?

It's there, visit http://cran.r-project.org/, select the MacOS X  
option in the Download and

Install R area, then look down near the bottom of that page to see

 Information, tools and most recent daily builds of the R GUI, R- 
patched and R-devel can be
 found at http://R.research.att.com/. Please visit that page  
especially during beta stages to
 help us test the Mac OS X binaries before final release! The page  
has links to other builds,

 including a 'Leopart build' which includes 64-bit architectures.

HTH


Yes, thanks, I see it now.  But it wasn't clear to me that I needed  
to go there.
I just assumed (silly me!) that the top listed item would be the  
appropriate
one.  However I now see that it does clearly say it is for Mac OS X  
10.5 and
above.  (This was less than completely helpful to me until just now  
when a

couple of people explained to me how to determine what the number of
my MAC OS X actually is.  I should explain that I am ***not*** a Mac  
user

by nature.  I am forced by my work place to use a Mac --- the choice was
either that or Windoze.  No poss. of using Linux.  Psigh!)

cheers,

Rolf Turner

##
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

___
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac