[R-SIG-Mac] GTK+ libraries can't be found
Ivan Alves
papucho at mac.com
Mon Jan 5 11:36:15 CET 2009
Dear all,
Installing the dependencies of rattle (http://datamining.togaware.com/survivor/Install_Macintosh.html
), I encountered a problem installing the RGtk2 library from source.
It appears that the GTK+ libraries can't be found by R (I had
successfully installed the runtime libraries from http://r.research.att.com/)
.
I would much appreciate some guidance as to how to get R to look in
the right place (/Library/Frameworks/) for the the GTK+ shared
objects. Many thanks in advance.
Kind regards,
Ivan
> install.packages("RGtk2",type="source")
trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/RGtk2_2.12.7.tar.gz'
Content type 'application/x-gzip' length 2168446 bytes (2.1 Mb)
opened URL
==================================================
downloaded 2.1 Mb
* Installing *source* package 'RGtk2' ...
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBGLADE... no
configure: WARNING: libglade not found
checking for INTROSPECTION... no
checking for GTK... no
configure: error: GTK version 2.8.0 required
ERROR: configuration failed for package 'RGtk2'
** Removing '/Library/Frameworks/R.framework/Resources/library/RGtk2'
The downloaded packages are in
/private/var/folders/CI/CIUrzruqFvKG37WOj2xd6E+++TI/-Tmp-/RtmpqK95DC/
downloaded_packages
Updating HTML index of packages in '.Library'
Warning message:
In install.packages("RGtk2", type = "source") :
installation of package 'RGtk2' had non-zero exit status
More information about the R-SIG-Mac
mailing list