I am trying to build an R package png , the repo says libpng should be available.
I am running a Linux Fedora 20 distribution
Looks like I have ...
[ root@localhost bin]
But when I try to install it:
> install.packages("png") Installing package into '/home/statquant/R/x86_64-redhat-linux-gnu-library/3.0 (as 'lib is unspecified) trying URL 'http://cran.rstudio.com/src/contrib/png_0.1-7.tar.gz' Content type 'application/x-gzip' length 24990 bytes (24 Kb) opened URL ================================================== downloaded 24 Kb * installing *source* package 'png ... ** package 'png successfully unpacked and MD5 sums checked ** libs gcc -m64 -std=gnu99 -I/usr/include/R -DNDEBUG -I/usr/local/include 'libpng-config --cflags' -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c read.c -o read.o /bin/sh: libpng-config: command not found read.c:3:17: fatal error: png.h: No such file or directory
r libpng install fedora20
statquant
source share