ropensci / rsvg

SVG renderer for R based on librsvg2
Other
97 stars 1 forks source link

Issues installig package #20

Open rdauria opened 4 years ago

rdauria commented 4 years ago

Hello,

I am on CentOS 6 (but using gcc/4.9.3) and I have librsvg2-devel installed:

yum list | grep librsvg2-devel
librsvg2-devel.x86_64                     2.26.0-14.el6        @base            
librsvg2-devel.i686                       2.26.0-14.el6        base     

this is the error I get:

rsvg.c:99:26: error: missing binary operator before token "("
 #if LIBRSVG_CHECK_VERSION(2,48,0)
                          ^
rsvg.c:107:108: error: ‘LIBRSVG_VERSION’ undeclared (first use in this function)
     Rf_warning("An external CSS file was specified but this requires at least librsvg 2.48 (you have %s)", LIBRSVG_VERSION);
                                                                                                            ^
rsvg.c:107:108: note: each undeclared identifier is reported only once for each function it appears in
make: *** [rsvg.o] Error 1
ERROR: compilation failed for package ‘rsvg’
* removing ‘/u/home/systems/systest/R/x86_64-pc-linux-gnu-library/4.0/rsvg’

The downloaded source packages are in
    ‘/work/tmp/RtmpD8pKsN/downloaded_packages’
Warning message:
In install.packages("rsvg", type = "source") :
  installation of package ‘rsvg’ had non-zero exit status

Could you please send feedback?

jeroen commented 4 years ago

Pfff you know CentOS 6 is EOL next month, right?