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 'http://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 'http://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
--
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.