On Fri, 4 Jul 2003, Dimitri Giunchi wrote:> 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?Yes. Do you have the appropriate gtk development RPMs installed? My current RH8.0 machine did not. [...]> * 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'-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Dimitri Giunchi <dgiunchi at discau.unipi.it> wrote:> 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. > > [...] > > 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.The ./configure script could not find gtk-config, as stated in the error message. Hint: you may need to install that tool for the script to find it on your system. A google search will give you the directions to the right rpm package(s). -- Philippe
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'
Duncan Temple Lang
2003-Jul-04 12:51 UTC
[R] configuration error when installing gtkDevice
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 http://cm.bell-labs.com/stat/duncan
Thank you very much to everybody for the help: now it works fine. Dimitri At 08.51 04/07/2003 -0400, you wrote:>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 > http://cm.bell-labs.com/stat/duncanDimitri Giunchi Dipartimento di Etologia Ecologia Evoluzione Universit? di Pisa Via A. Volta 6 I-56126 Pisa ITALY Phone: +39 050 21316-20255 Fax: +39 050 24653