Closed QiangShiPKU closed 2 years ago
It looks like you have a problem in your system - see:
checking whether --static is needed... neither works, abandoning pkg-config
the flags provided by pkg-config
don't seem to work so you would have to provide flags yourself. Look at config.log
so see what exactly is the problem. You may have missing libraries, incompatible tools etc. - it's hard to say since you didn't provide any details. If you think that it should work, then specify the corresponding flags in CAIRO_CFLAGS
and CAIRO_CFLAGS
.
checking whether --static
Finally, I installed Cairo successfully using conda. Thanks a lot
install.packages("Cairo")
sessionInfo()
R version 4.1.2 (2021-11-01) Platform: x86_64-conda-linux-gnu (64-bit) Running under: Ubuntu 18.04.2 LTSMatrix products: default BLAS/LAPACK: /raid1/shiq/app/miniconda3/envs/R/lib/libopenblasp-r0.3.18.so
locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=zh_CN.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=zh_CN.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=zh_CN.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=zh_CN.UTF-8 LC_IDENTIFICATION=C
attached base packages: [1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached): [1] compiler_4.1.2 tools_4.1.2