Re: [Rd] Building rattle on Solaris 10u7 X86

From: Prof Brian Ripley <>
Date: Tue, 20 Jul 2010 07:07:57 +0100 (BST)

Our experience is

Note that nothing in this message is about 'building rattle' (your subject line): it is about installing packages rattle's GUI depends on. Let me warn you that rattle doesn't just depend on RGtk2, it depends on RGtk2 built with libglade2 support: which is optional and not installed by default on Solaris (and often not elsewhere).

Note that in R terminolgy (see Writing R Extensions), building a package (R CMD build) is not the same thing as installing one (R CMD INSTALL). On Tue, 20 Jul 2010, Amber wrote:

> We have tried to build rattle on Solaris 10 X86 platform, and the results
> are :
> 1. Package XML and pmml can be built.
> 2. Package RGtk2 can be built but can?t be installed because the
> installer can?t find GTK on Solaris, but it seems GTK has been preinstalled
> on Solaris 10, but I don?t know how to configure it.
> 3. There are errors when building the cairoDevice package , the error
> message is
> -bash-3.00$ R CMD INSTALL cairoDevice
> * installing to library '/opt/R/R2-11-1/lib/R/library'
> * installing *source* package 'cairoDevice' ...
> checking for pkg-config... pkg-config
> configure: creating ./config.status
> config.status: creating src/Makevars
> ** libs
> /opt/sunstudio12.1/bin/cc -xc99=all -I/opt/R/R2-11-1/lib/R/include
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include
> -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -g -I/opt/R/R2-11-1/include -I/usr/sfw/include
> -I/opt/sfw/include -I/usr/openwin/share/include -KPIC -xO3 -c
> cairoDevice.c -o cairoDevice.o
> "cairoDevice.h", line 3: cannot find include file: <cairo.h>

[Lots of consequences omitted.]

> 4. The vcd and colorspace package seem dependent on each other.

Not much idea what that means. You need to install colorspace before vcd, but colorspace depends on nothing else. It 'Suggests' vcd, but that is not the same as 'Depends'. install.packages() will sort this out for you.

> Do you have any idear bout this.


> Xiaobo.Gu

> [[alternative HTML version deleted]]

Please do study the posting guide: people who send HTML demonstrate that they have not done so.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Tue 20 Jul 2010 - 06:13:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 20 Jul 2010 - 15:40:17 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive