hi - not sure if this is the right spot to ask for help on this, probably a basic question... I am trying to install ggobi on R running on Ubuntu Hardy - I am new to both Linux & R so the answer may be obvious & I'm just missing it. I have installed GGobi via synaptic, but trying to install rggobi I get the following error - there's some path problem but I don't fully understand the error message:> > install.packages("rggobi") > Warning in install.packages("rggobi") : > argument 'lib' is missing: using > '/home/mark/R/i486-pc-linux-gnu-library/2.6' > also installing the dependency ?RGtk2? > > trying URL 'probability.ca/cran/src/contrib/RGtk2_2.12.8.tar.gz' > Content type 'application/x-gzip' length 2169982 bytes (2.1 Mb) > opened URL > =================================================> downloaded 2.1 Mb > > trying URL 'probability.ca/cran/src/contrib/rggobi_2.1.10.tar.gz' > Content type 'application/x-gzip' length 133907 bytes (130 Kb) > opened URL > =================================================> downloaded 130 Kb > > * Installing *source* package 'RGtk2' ... > checking for pkg-config... /usr/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 '/home/mark/R/i486-pc-linux-gnu-library/2.6/RGtk2' > * Installing *source* package 'rggobi' ... > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for GGOBI... configure: error: Package requirements (ggobi >= > 2.1.6) were not met: > > Package gtk+-2.0 was not found in the pkg-config search path. > Perhaps you should add the directory containing `gtk+-2.0.pc' > to the PKG_CONFIG_PATH environment variable > Package 'gtk+-2.0', required by 'libggobi', not found > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > installed software in a non-standard prefix. > > Alternatively, you may set the environment variables GGOBI_CFLAGS > and GGOBI_LIBS to avoid the need to call pkg-config. > See the pkg-config man page for more details. > > ERROR: configuration failed for package 'rggobi' > ** Removing '/home/mark/R/i486-pc-linux-gnu-library/2.6/rggobi' > > The downloaded packages are in > /tmp/RtmpLbLLyB/downloaded_packages > Warning messages: > 1: In install.packages("rggobi") : > installation of package 'RGtk2' had non-zero exit status > 2: In install.packages("rggobi") : > installation of package 'rggobi' had non-zero exit status > >please let me know thanks! Mark --
Mark Ungrin <mark.ungrin <at> utoronto.ca> writes:> > * Installing *source* package 'RGtk2' ... > > checking for pkg-config... /usr/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 '/home/mark/R/i486-pc-linux-gnu-library/2.6/RGtk2' > > * Installing *source* package 'rggobi' ... > > checking for pkg-config... /usr/bin/pkg-config > > checking pkg-config is at least version 0.9.0... yes > > checking for GGOBI... configure: error: Package requirements (ggobi >= > > 2.1.6) were not met: > > > > Package gtk+-2.0 was not found in the pkg-config search path. > > Perhaps you should add the directory containing `gtk+-2.0.pc' > > to the PKG_CONFIG_PATH environment variable > > Package 'gtk+-2.0', required by 'libggobi', not found > > > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > > installed software in a non-standard prefix. > > > > Alternatively, you may set the environment variables GGOBI_CFLAGS > > and GGOBI_LIBS to avoid the need to call pkg-config. > > See the pkg-config man page for more details.Mark, The first thing I would look at is whether there are any "*-dev" packages in synaptic for the libraries etc that are 'missing'. These -dev packages contain the header files and are not necessary for running the application, but are necessary for installing other apps from source that interact with them. This is a surprisingly little-advertised issue with Linux packaging that I found out about from the R installation manual. Michael Bibo