Re: [R] ggobi install

2009-02-13 Thread Michael Lawrence
On Thu, Feb 12, 2009 at 3:41 PM, Michael Bibo 
michael_b...@health.qld.gov.au wrote:

 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.


Just to be a bit more specific, for building RGtk2 and rggobi you'll need
gtk-dev(el?) and libxml2-devel which should install all the other devel
dependencies. It's kind of strange that the GGobi package installs its
header files (it is implicitly a devel package), but it does not bring in
the devel packages of its dependencies.

But aren't there binary Ubuntu/Debian packages on the repository for RGtk2
and rggobi?



 Michael Bibo

 __
 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.


[[alternative HTML version deleted]]

__
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.


[R] ggobi install

2009-02-12 Thread Mark Ungrin
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.


Re: [R] ggobi install

2009-02-12 Thread Michael Bibo
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

__
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.