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
Weird problems in Leopard
8 messages · stephen sefick, Duncan Murdoch, Jan de Leeuw +2 more
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20080716/beee86d4/attachment.pl>
Did you compile R on the same computer ?
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 R-SIG-Mac at stat.math.ethz.ch 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: deleeuw at stat.ucla.edu .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
stephen sefick wrote:
you have all of the compiliers necessary? There goes a shot in the dark
I have Xcode 3.1 plus the gfortran from Simon's site, so I think so. In any case, things go pretty far if I don't run within R CMD INSTALL. Duncan Murdoch
On Wed, Jul 16, 2008 at 4:55 PM, Duncan Murdoch <murdoch at stats.uwo.ca
<mailto:murdoch at stats.uwo.ca>> 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
R-SIG-Mac at stat.math.ethz.ch <mailto:R-SIG-Mac at stat.math.ethz.ch>
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
--
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.
-K. Mullis
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 R-SIG-Mac at stat.math.ethz.ch 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: deleeuw at stat.ucla.edu .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 -------------------------------------------------------------------------------------------------
Yes, that R comes with its own config parameters, and much has changed in X11/GL since Leopard first appeared.
On Jul 16, 2008, at 14:09 , Duncan Murdoch wrote:
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 R-SIG-Mac at stat.math.ethz.ch 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: deleeuw at stat.ucla.edu .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 -------------------------------------------------------------------------------------------------
=== 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: deleeuw at stat.ucla.edu .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
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20080716/7a6c0c8c/attachment.pl>
On Jul 16, 2008, at 4:55 PM, 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???
Hard to tell unless you look at config.log... Anyway, unless you work around the bug in Leopard's X11 in your configure you have fix to X11, GL is broken: http://r.research.att.com/building.html Also if you want to use X11 on Leopard seriously, it is recommended to use this update: http://xquartz.macosforge.org/trac/wiki Cheers, Simon