Problem installing RGTK2 on ubuntu 7.04

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problem installing RGTK2 on ubuntu 7.04

Andrew Muller
Hello, all

I am trying to install RGTK2 on my Ubuntu 7.04 system. The installation
fails with a message that RGtk2 requires GTK 2.8. As far as I can tell I
have GTK+ 2.10.11 installed. Can anyone suggest a way to proceed?

Thanks very much.

Here is the failed installation:

> install.packages("RGtk2")
Warning in install.packages("RGtk2") : argument 'lib' is missing:
using /usr/local/lib/R/site-library
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://probability.ca/cran/src/contrib/RGtk2_2.10.11.tar.gz'
Content type 'application/x-tar' length 2329776 bytes
opened URL
==================================================
downloaded 2275Kb

* 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 GTK... configure: error: GTK version 2.8.0 required
ERROR: configuration failed for package 'RGtk2'
** Removing '/usr/local/lib/R/site-library/RGtk2'

The downloaded packages are in
        /tmp/RtmpTMtchC/downloaded_packages
Warning message:
installation of package 'RGtk2' had non-zero exit status in:
install.packages("RGtk2")
>

I am using  R version 2.4.1 (2006-12-18) on a Ubuntu 7.04 system

mullera@happy:~/sandbox/R$ uname -a
Linux happy 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686
GNU/Linux

Andrew Muller
McMaster University/Economics
Hamilton, Ontario, Canada

______________________________________________
[hidden email] 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.
Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem installing RGTK2 on ubuntu 7.04

Gong Yi Liao
On Fri, 2007-06-29 at 23:11 -0400, Andrew Muller wrote:

> Hello, all
>
> I am trying to install RGTK2 on my Ubuntu 7.04 system. The installation
> fails with a message that RGtk2 requires GTK 2.8. As far as I can tell I
> have GTK+ 2.10.11 installed. Can anyone suggest a way to proceed?
>
> Thanks very much.
>
> Here is the failed installation:
>
> > install.packages("RGtk2")
> Warning in install.packages("RGtk2") : argument 'lib' is missing:
> using /usr/local/lib/R/site-library
> --- Please select a CRAN mirror for use in this session ---
> Loading Tcl/Tk interface ... done
> trying URL 'http://probability.ca/cran/src/contrib/RGtk2_2.10.11.tar.gz'
> Content type 'application/x-tar' length 2329776 bytes
> opened URL
> ==================================================
> downloaded 2275Kb
>
> * 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 GTK... configure: error: GTK version 2.8.0 required
> ERROR: configuration failed for package 'RGtk2'
> ** Removing '/usr/local/lib/R/site-library/RGtk2'
>
> The downloaded packages are in
>         /tmp/RtmpTMtchC/downloaded_packages
> Warning message:
> installation of package 'RGtk2' had non-zero exit status in:
> install.packages("RGtk2")
> >
>
> I am using  R version 2.4.1 (2006-12-18) on a Ubuntu 7.04 system
>
> mullera@happy:~/sandbox/R$ uname -a
> Linux happy 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686
> GNU/Linux
>
> Andrew Muller
> McMaster University/Economics
> Hamilton, Ontario, Canada
>

apt-get install libgtk2.0-dev
> ______________________________________________
> [hidden email] 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.

______________________________________________
[hidden email] 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.
Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem installing RGTK2 on ubuntu 7.04

Dirk Eddelbuettel
In reply to this post by Andrew Muller

On 29 June 2007 at 23:11, Andrew Muller wrote:
| I am trying to install RGTK2 on my Ubuntu 7.04 system. The installation
| fails with a message that RGtk2 requires GTK 2.8. As far as I can tell I
| have GTK+ 2.10.11 installed. Can anyone suggest a way to proceed?

Something is not right in your example below. Do you have the required -dev
packages installed?  For Debian's r-cran-rgtk2 (which you could install from
Ubuntu, albeit in a slightly older version, via 'sudo apt-get install
r-cran-rgtk2'), I use the following Build-Depends:

  libgtk2.0-dev (>= 2.10.12-1), libglade2-dev, libpango1.0-dev, libcairo2-dev
 
If you have all that installed, it should just work fine (and I do use the
direct-from-CRAN method on my computers at work, and have just upgraded RGtk2
there a few days ago).

| I am using  R version 2.4.1 (2006-12-18) on a Ubuntu 7.04 system

FYI there are Ubuntu backports at CRAN. You could get R 2.5.0 without any
effort, and presumably in a few days R 2.5.1 once the porters build the
package as I've put 2.5.1 into Debian.

Hth, Dirk

--
Hell, there are no rules here - we're trying to accomplish something.
                                                  -- Thomas A. Edison

______________________________________________
[hidden email] 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.
Loading...