[R-SIG-Mac] Unable to install package RGtk2

Simon Urbanek simon.urbanek at r-project.org
Sat Jul 4 22:30:28 CEST 2009


On Jul 4, 2009, at 3:56 PM, David Winsemius wrote:

> Many thanks to Simon for clearing the way for a successful  
> installation of rgl. Moving the existing freetypelib.dylib "out of  
> the way" allowed compilation to proceed.
>
> --------------
> My other difficulty has been installing RGtk2.

That will be a really tough one. I don't have a globally working 64- 
bit binary of GTK+, so I think you're out of luck. Building GTK+ and  
all its dependencies in 64-bit from sources is a real pain and very  
error-prone (and somewhat dangerous because you'll need to mask some  
system libraries). I wouldn't hold my breath, but in theory you build  
GTK+ in 64-bit and re-compile RGtk2 with it...

Cheers,
Simon


> Using the Package Installer in the 64 bit GUI and a fresh  
> installation of R 2.9.1 is see this response:
>
> trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/RGtk2_2.12.13.tar.gz'
> Content type 'application/x-gzip' length 2205209 bytes (2.1 Mb)
> opened URL
> ==================================================
> downloaded 2.1 Mb
>
> * Installing *source* package ‘RGtk2’ ...
> checking for pkg-config... no                         # How does one  
> fix a missing pkg-config?
> checking for LIBGLADE... configure: WARNING: libglade not found       
> # or a missing libglade?
> checking for INTROSPECTION... checking for GTK... configure: error:  
> GTK version 2.8.0 required
> ERROR: configuration failed for package ‘RGtk2’
> * Removing ‘/Library/Frameworks/R.framework/Versions/2.9/Resources/ 
> library/RGtk2’
>
> The downloaded packages are in
> 	‘/private/var/folders/xS/xSUsVXTIHEiP7OLJg2OXmU+++TI/-Tmp-/ 
> RtmpuEegzZ/downloaded_packages’
> Updating HTML index of packages in '.Library'
>
> Looking at Library/Frameworks/GTK+.framework/ in the Finder view (or  
> looking at info.plist in the Current folder), it appears that I have  
> version 2.14.X11 (or 2.14.3) of GTK+ installed. There is also a ../ 
> Gtk.framework/ folder.
>
> > sessionInfo()
> R version 2.9.1 Patched (2009-07-04 r48897)
> x86_64-apple-darwin9.7.0
>
> locale:
> en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> other attached packages:
> [1] rgl_0.84           Matrix_0.999375-29 lattice_0.17-25     
> foreign_0.8-36
>
> loaded via a namespace (and not attached):
> [1] grid_2.9.1  tools_2.9.1
> Warning message:
> In install.packages(c("RGtk2"), lib = .libPaths()[1], contriburl =  
> contrib.url(getOption("repos"),  :
>  installation of package 'RGtk2' had non-zero exit status
>
> -- 
> David Winsemius
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>



More information about the R-SIG-Mac mailing list