[R] Installation of RGrace
Rainer M Krug
RKrug at sun.ac.za
Thu Oct 26 09:34:32 CEST 2006
Hi
I try to install RGrace, but always get the following error below.
Might it have to do that RGtk is not installed and where can I find it
to install it?
I have GTK 1.2.10 installed.
My R version and platform:
> version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 2
minor 4.0
year 2006
month 10
day 03
svn rev 39566
language R
version.string R version 2.4.0 (2006-10-03)
09:26:46 (1.32 MB/s) -
`/tmp/RtmpDCW8km/downloaded_packages/RGrace_0.5-5.tar.gz' saved
[164119/164119]
* Installing *source* package 'RGrace' ...
** libs
gcc -I/usr/lib/R/include -I/usr/lib/R/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include
-fpic -c gdk_draw.c -o gdk_draw.o
gdk_draw.c:3:21: error: gdk/gdk.h: No such file or directory
gdk_draw.c:4:21: error: gtk/gtk.h: No such file or directory
gdk_draw.c: In function ‘draw_rubber_box’:
gdk_draw.c:9: error: ‘GtkWidget’ undeclared (first use in this function)
gdk_draw.c:9: error: (Each undeclared identifier is reported only once
gdk_draw.c:9: error: for each function it appears in.)
gdk_draw.c:9: error: ‘drawing_widget’ undeclared (first use in this
function)
gdk_draw.c:9: error: syntax error before ‘)’ token
gdk_draw.c:10: error: ‘GdkColor’ undeclared (first use in this function)
gdk_draw.c:11: error: ‘GdkGC’ undeclared (first use in this function)
gdk_draw.c:11: error: ‘gc1’ undeclared (first use in this function)
gdk_draw.c:12: error: ‘Color’ undeclared (first use in this function)
gdk_draw.c:17: error: ‘GDK_XOR’ undeclared (first use in this function)
gdk_draw.c:19: error: ‘GDK_LINE_SOLID’ undeclared (first use in this
function)
gdk_draw.c:19: error: ‘GDK_CAP_PROJECTING’ undeclared (first use in this
function)
gdk_draw.c:19: error: ‘GDK_JOIN_MITER’ undeclared (first use in this
function)
gdk_draw.c:20: error: ‘GDK_SOLID’ undeclared (first use in this function)
make: *** [gdk_draw.o] Error 1
ERROR: compilation failed for package 'RGrace'
** Removing '/usr/lib/R/library/RGrace'
--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)
Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa
Tel: +27 - (0)72 808 2975 (w)
Fax: +27 - (0)21 808 3304
Cell: +27 - (0)83 9479 042
email: RKrug at sun.ac.za
Rainer at krugs.de
More information about the R-help
mailing list