Jan de Leeuw wrote:
Did you compile R on the same computer ?
No, I just installed the binary from CRAN. That's likely the problem.
Duncan
On Jul 16, 2008, at 13:55 , Duncan Murdoch wrote:
I've just bought a new iMac with 10.5.4 of OS X. I installed R 2.7.1
on it with no problems.
I tried to install Xcode 3.0, but three downloads (two Firefox, one
Safari) were corrupt, so I installed 3.1.
Now, the weirdness:
When I try to install rgl from the CRAN source, or from a local
directory using R CMD INSTALL, the configure script fails with these
messages:
checking for X... libraries /usr/X11/lib, headers /usr/X11/include
checking for glEnd in -lGL... no
configure: error: missing required library GL
ERROR: configuration failed for package 'rgl'
** Removing '/Library/Frameworks/R.framework/Resources/library/rgl'
** Restoring previous
'/Library/Frameworks/R.framework/Resources/library/rgl'
However, if I run the configure script (as ./configure) within the
local directory, it succeeds:
checking for X... libraries /usr/X11/lib, headers /usr/X11/include
checking for glEnd in -lGL... yes
I can then move the configure script out of the way and R CMD INSTALL
proceeds (until it gets to the FTVectoriser error, which I'm working
on fixing).
Why would R CMD INSTALL make the configure script fail???
Duncan Murdoch
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
===
Jan de Leeuw; Distinguished Professor and Chair, UCLA Department of
Statistics;
Director: UCLA Center for Environmental Statistics (CES);
Editor: Journal of Multivariate Analysis, Journal of Statistical
Software;
US mail: 8125 Math Sciences Bldg, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550; fax (310)-206-5658; email: [EMAIL PROTECTED]
.mac: jdeleeuw ++++++ aim: deleeuwjan ++++++ skype: j_deleeuw
homepages: http://gifi.stat.ucla.edu ++++++ http://www.cuddyvalley.org
-------------------------------------------------------------------------------------------------
No matter where you go, there you are. --- Buckaroo Banzai
http://gifi.stat.ucla.edu/sounds/nomatter.au
-------------------------------------------------------------------------------------------------
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac