[R-SIG-Mac] ERROR installing source package RGtk2 on mac os x 10.4.11

Simon Urbanek simon.urbanek at r-project.org
Tue May 27 01:08:50 CEST 2008


Corrado,

although you gave use too little information to really help you (we  
need the full error and config.log at least), I'd like to warn you  
first that compiling Gtk and RGtk2 from sources is very, very tedious  
task and only for experts familiar with its intricacies (Gtk has many  
dependencies, cannot be built universally and requires own versions of  
several system libraries). We provide binaries for rggobi, RGtk2 as  
well as Gtk, so unless you have a very good reason for re-compiling  
RGtk, I'd strongly urge you not to try it.

Cheers,
Simon


On May 26, 2008, at 1:44 PM, Corrado Giannasca wrote:

> Dear All,
>
> I'm trying to install the source package RGtk2
> (RGtk2_2.12.5-3.tar.gz) on a i-Mac running os x 10.4.11:
>   Nome modello:	iMac
>   Identificatore modello:	iMac6,1
>   Nome processore:	Intel Core 2 Duo
>   Velocità processore:	2.16 GHz
>   Numero di processori:	1
>   Numero totale di nuclei:	2
>   L2 Cache (per processore):	4 MB
>   Memoria:	2 GB
>   Velocità bus:	667 MHz
>   Versione Boot ROM:	IM61.0093.B07
>   Versione SMC:	1.10f3
>
> This is a step needed to use Rattle package, as detailed in:
>
> http://datamining.togaware.com/survivor/Installation_Details.html:
> "...Mac/OSX: download the source package from ggobi,2.12 and run the
> command line install:
> Mac/OSX: $ R CMD INSTALL RGtk2_2.8.6.tar.gz   (30 minutes)
>
> You may not be able to compile RGtk2 via the R GUI on Mac/OSX as the
> GTK libraries can not be found when gcc is called. Once installed
> though, R will detect the package--don't try to load it within the
> GUI as GTK is not a native Mac/OSX application and it will fail. On
> Mac/OSX be sure to run R from the X11 environment. ..."
>
> The installation is performed in a Terminal window with the following
> command:
>
> corradogiannasca$ R CMD INSTALL RGtk2_2.12.5-3.tar.gz
>
> There is a long listing in output and the installation fails with the
> following statement:
>
> ............
> /usr/bin/libtool: internal link edit command failed
> make: *** [RGtk2.so] Error 1
> chmod: /Library/Frameworks/R.framework/Versions/2.7/Resources/library/
> RGtk2/libs/i386/*: No such file or directory
> ERROR: compilation failed for package 'RGtk2'
> ** Removing '/Library/Frameworks/R.framework/Versions/2.7/Resources/
> library/RGtk2'
>
> CAN ANYONE HELP IN RESOLVING THIS ERROR?
>
> Thank you very much for your support.
>
> Corrado Giannasca
>
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> 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