hi, I am working on Ubuntu and tried to install FastRWeb, but am getting the following error for installation of cairo.h.
install.packages("FastRWeb",dep=TRUE) Installing package(s) into /home/ba/R/i686-pc-linux-gnu-library/2.12 (as lib is unspecified) also installing the dependency Cairo trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/Cairo_1.5-0.tar.gz' Content type 'application/x-gzip' length 81214 bytes (79 Kb) opened URL ================================================== downloaded 79 Kb trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/FastRWeb_1.0-0.tar.gz' Content type 'application/x-gzip' length 71072 bytes (69 Kb) opened URL ================================================== downloaded 69 Kb * installing *source* package Cairo ... 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/wait.h that is POSIX.1 compatible... 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 string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for pkg-config... /usr/bin/pkg-config checking whether pkg-config knows about cairo... no configure: CAIRO_LIBS is unset, attempting to guess it. configure: CAIRO_CFLAGS= checking if R was compiled with the RConn patch... no checking cairo.h usability... no checking cairo.h presence... no checking for cairo.h... no configure: error: Cannot find cairo.h! Please install cairo (http://www.cairographics.org/) and/or set CAIRO_CFLAGS/LIBS correspondingly. ERROR: configuration failed for package Cairo * removing /home/ba/R/i686-pc-linux-gnu-library/2.12/Cairo ERROR: dependency Cairo is not available for package FastRWeb * removing /home/ba/R/i686-pc-linux-gnu-library/2.12/FastRWeb The downloaded packages are in /tmp/Rtmpla4fs8/downloaded_packages Warning messages: 1: In install.packages("FastRWeb", dep = TRUE) : installation of package 'Cairo' had non-zero exit status 2: In install.packages("FastRWeb", dep = TRUE) : installation of package 'FastRWeb' had non-zero exit status so, I tried to install Cairo, but I get the following error: install.packages("Cairo") Installing package(s) into /home/ba/R/i686-pc-linux-gnu-library/2.12 (as lib is unspecified) trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/Cairo_1.5-0.tar.gz' Content type 'application/x-gzip' length 81214 bytes (79 Kb) opened URL ================================================== downloaded 79 Kb * installing *source* package Cairo ... 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/wait.h that is POSIX.1 compatible... 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 string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for pkg-config... /usr/bin/pkg-config checking whether pkg-config knows about cairo... no configure: CAIRO_LIBS is unset, attempting to guess it. configure: CAIRO_CFLAGS= checking if R was compiled with the RConn patch... no checking cairo.h usability... no checking cairo.h presence... no checking for cairo.h... no configure: error: Cannot find cairo.h! Please install cairo (http://www.cairographics.org/) and/or set CAIRO_CFLAGS/LIBS correspondingly. ERROR: configuration failed for package Cairo * removing /home/ba/R/i686-pc-linux-gnu-library/2.12/Cairo The downloaded packages are in /tmp/Rtmpla4fs8/downloaded_packages Warning message: In install.packages("Cairo") : installation of package 'Cairo' had non-zero exit status Can you pls. let me know how I can fix this.....thx! [[alternative HTML version deleted]]
______________________________________________ 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.