[R] configuration error when installing gtkDevice

Duncan Temple Lang
Fri, 04 Jul 2003 12:51:56 -0000

When compiling the gtkDevice package, we need the gtk+ development
libraries, i.e. libgtk.so and header files such as gtk.h.  The
error message saying 'Cannot find gtk-config' means that we cannot
locate the script that is used to tell us where the header files
and libraries are located.

So this means that you more than likely don't have the development
libraries on your system.  You will need to ensure that these are
available before installing gtkDevice. There should be
ready-to-install binaries for gtk for the Mandrake packaging system

Then, hopefully all will proceed smoothly.

 D.

Dimitri Giunchi wrote:
> Dear all,
>
> when I try to install gtkDevice on Mandrake Linux 9.1 (R v. 1.7.1), I get
> the following comfiguration error (see below).
>
> Has anyone else had this problem?
> Any hints are greatly appreciated.
>
> Thank you in advance,
>
> Dimitri
>
>
>
> install.packages("gtkDevice")
> trying URL `http://cran.r-project.org/src/contrib/PACKAGES'
> Content type `text/plain; charset=iso-8859-1' length 111935 bytes
> opened URL
> .......... .......... .......... .......... ..........
> .......... .......... .......... .......... ..........
> .........
> downloaded 109Kb
>
> trying URL
`http://cran.r-project.org/src/contrib/gtkDevice_0.5-3.tar.gz'
> Content type `application/x-tar' length 41535 bytes
> opened URL
> .......... .......... .......... ..........
> downloaded 40Kb
>
> * Installing *source* package 'gtkDevice' ...
> checking for gtk-config... no
> checking for gtk12-config... no
> ERROR: Cannot find gtk-config.
> ERROR: configuration failed for package 'gtkDevice'
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help

--
_______________________________________________________________

Duncan Temple Lang                duncan at research.bell-labs.com
Bell Labs, Lucent Technologies    office: (908)582-3217
700 Mountain Avenue, Room 2C-259  fax:    (908)582-3340
Murray Hill, NJ  07974-2070