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

Jan de Leeuw deleeuw at stat.ucla.edu
Sat Jul 4 23:35:40 CEST 2009


I have a 2.5 GB file localxxxxxx.tgz, with xxxxxx indicating the date.

You can get it from afp://gifi.stat.ucla.edu and then
from my Public directory in /software. Or from a WebDAV connection to
http://public.me.com/jdeleeuw/software (it's currently gone from  
me.com, but
it will be there again soon).

It contains

a. 64-bit version of R-devel (a.k.a R-2.10.0) with about 600 packages.  
It supports the
    GTK+, tcl/tk, SciViews, etc interfaces.

b. 64-bit version of grass-trunk (a.k.a. GRASS-7.0).

c. Support-libraries and executables, all 64-bit, for ImageMagick,  
freetype, GDAL, proj,
    gsl, gmp, mpfr, fftw, mysql, pgsql, hadoop, root, heasoft, hdf4/5,  
netcdf, graphviz,
    ffmpeg, asymptote, expat, cdd, cfitsio, fontconfig, gc, geos,  
geotiff, gd, tiff, jpeg,
    png, svg, gettext, harminv, iconv, intl, jags, jasper, las,  
pixman, qhull, readline,
    sqlite, szip, tcl/tk, udunits, xml2, gtk2, gdk, atk, glib, cairo,  
pango, glade, git,
    wget, gawk, sed, gs, pkg-config, tramo, seats, x12a, yacas, pvm3  
--- probably more.

d. A 64-bit version of gcc, g++, gfortran 4.2.5 with gomp. Everything,  
including the
    compilers, is compiled with flags "-m64 -O3 -fopenmp - 
mtune=native" -- "native" in
    this context means "nocona", i.e. Intel Core Duo.

e. texlive-2008

It is updated one or twice per week with recent cvs, svn or git  
versions. It installs in
/usr/local. The R is pretty snappy on my machine.

!!!!!!!!!!!!!!!!!  
Limitations !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

1. This is for CLI junkies. Normal people will stay away from this.

2. The quartz device in R works, but many other things are either GTK 
+, tcl/tk, or even
    Athena.

3. This was compiled on OS X 10.6 (Snow Leopard). Your Leopard mileage  
may vary. No
    universal binaries of any sort, of course.

4. Basically it creates a separate 64-bit development environment,  
independent of the Apple stuff
    (and independently, if you want, of the "normal" and nice R and  
GRASS framework-builds and GUIs).

5. This is a large file. After unpacking "du -s /usr/local" says  
14167872 (i.e. 14 GB).

6. I am not really supporting this for users outside my department.  
That would be unwise.


On Jul 4, 2009, at 13:30 , Simon Urbanek wrote:

>
> 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
>>
>>
>
> _______________________________________________
> 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
   



More information about the R-SIG-Mac mailing list