Please watch for 2.20.5 and let me know if it helps. Not really sure what is
going on here, but someone else has reported the same issue.
Thanks,
Michael
On Wed, Dec 29, 2010 at 6:44 AM, Shige Song <shigesong@gmail.com> wrote:
> Dear All,
>
> I am trying to compile&install the package "RGtk2" on my
Ubuntu 10.04
> box. I did not have problem with earlier versions, but with the new
> version, I got the following error message :
>
>
-------------------------------------------------------------------------------------------------
> * 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 INTROSPECTION... no
> checking for GTK... yes
> checking for GTHREAD... yes
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for uintptr_t... yes
> configure: creating ./config.status
> config.status: creating src/Makevars
> ** libs
> gcc -std=gnu99 -I/usr/local/lib/R/include -g -D_R_=1 -pthread
> -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
> -I/usr/include/freetype2 -I/usr/include/directfb
> -I/usr/include/libpng12 -I. -DHAVE_UINTPTR_T -I/usr/local/include
> -fpic -g -O2 -c RGtkDataFrame.c -o RGtkDataFrame.o
> In file included from RGtk2/gtk.h:19,
> from RGtkDataFrame.h:1,
> from RGtkDataFrame.c:1:
> ./RGtk2/gdkClasses.h:4:23: error: RGtk2/gdk.h: No such file or directory
> make: *** [RGtkDataFrame.o] Error 1
> ERROR: compilation failed for package ‘RGtk2’
> * removing ‘/usr/local/lib/R/library/RGtk2’
> * restoring previous ‘/usr/local/lib/R/library/RGtk2’
>
> The downloaded packages are in
> ‘/tmp/RtmprSWbka/downloaded_packages’
> Updating HTML index of packages in '.Library'
> Warning message:
> In install.packages("RGtk2", dep = T) :
> installation of package 'RGtk2' had non-zero exit status
>
>
----------------------------------------------------------------------------------------
>
> I noticed the requirement for the package
> (http://cran.r-project.org/web/packages/RGtk2/index.html) saying
> "...GTK+ (>= 2.8.0)..." The latest GTK+ is 2.20, could this be
the
> problem?
>
> Many thanks.
>
> Best,
> Shige
>
> ______________________________________________
> 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]]