Skip to content

add missing systemlibraries #54

@matteodelucchi

Description

@matteodelucchi

debian, clang, devel:

  • cmath
#8 49.00 ../inst/include/Rcpp/platform/compiler.h:100:10: fatal error: 'cmath' file not found
#8 49.00 #include <cmath>
#8 49.00          ^~~~~~~
#8 49.28 1 error generated.
#8 49.28 make: *** [/opt/R-devel/lib/R/etc/Makeconf:198: api.o] Error 1
#8 49.28 ERROR: compilation failed for package 'Rcpp'
  • cstdlib
#8 63.14 # include <cstdlib>
#8 63.14           ^~~~~~~~~
#8 63.15 1 error generated.
#8 63.16 make: *** [/opt/R-devel/lib/R/etc/Makeconf:198: fastmap.o] Error 1
#8 63.16 ERROR: compilation failed for package 'fastmap'
  • cstring
#8 68.95 Reader.cpp:1:10: fatal error: 'cstring' file not found
#8 68.95 #include <cstring>
#8 68.95          ^~~~~~~~~
#8 68.97 1 error generated.
#8 68.98 make: *** [/opt/R-devel/lib/R/etc/Makeconf:198: Reader.o] Error 1
#8 68.98 ERROR: compilation failed for package 'sourcetools'
  • cstddef
#8 117.7 ./crc32c.h:12:10: fatal error: 'cstddef' file not found
#8 117.7 #include <cstddef>
#8 117.7          ^~~~~~~~~
#8 117.7 1 error generated.
#8 117.7 make: *** [/opt/R-devel/lib/R/etc/Makeconf:198: crc32c.o] Error 1
#8 117.7 ERROR: compilation failed for package 'digest'
  • cstdio

debian, gcc, devel and debian, gcc, patched and valgrind, gcc, devel

  • libxml-2.0
#8 296.7 ------------------------- ANTICONF ERROR ---------------------------
#8 296.7 Configuration failed because libxml-2.0 was not found. Try installing:
#8 296.7  * deb: libxml2-dev (Debian, Ubuntu, etc)
#8 296.7  * rpm: libxml2-devel (Fedora, CentOS, RHEL)
#8 296.7  * csw: libxml2_dev (Solaris)
#8 296.7 If libxml-2.0 is already installed, check that 'pkg-config' is in your
#8 296.7 PATH and PKG_CONFIG_PATH contains a libxml-2.0.pc file. If pkg-config
#8 296.7 is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
#8 296.7 R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
#8 296.7 -------------------------- [ERROR MESSAGE] ---------------------------
#8 296.7 <stdin>:1:10: fatal error: libxml/tree.h: No such file or directory
#8 296.7 compilation terminated.
#8 296.7 --------------------------------------------------------------------
#8 296.7 ERROR: configuration failed for package ‘xml2’

fedora, gcc, devel

  • abseil-cpp-devel
#26 951.1 ** using staged installation
#26 951.5 Found OpenSSL pkg-config cflags and libs!
#26 951.6 Testing compiler OpenSSL configuration using PKG_CFLAGS=
#26 951.6 ** Using PKG_CONFIG_PATH=:/tmp/RtmpxC2d2Z/R.INSTALL2fd03516d983/s2/tools/pkgconfig
#26 951.6 ** Building abseil-cpp using cmake
#26 951.7 Warning message:
#26 951.7 In readRenviron("~/.R/Makevars") :
#26 951.7   file '/root/.R/Makevars' cannot be opened for reading
#26 951.7 GNU Make 4.3
#26 951.7 Built for x86_64-redhat-linux-gnu
#26 951.7 Copyright (C) 1988-2020 Free Software Foundation, Inc.
#26 951.7 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
#26 951.7 This is free software: you are free to change and redistribute it.
#26 951.7 There is NO WARRANTY, to the extent permitted by law.
#26 951.7 Using MAKE=make 
#26 951.7 which: no cmake in (/opt/R-devel/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
#26 951.7 tools/build_absl.sh: line 24: /Applications/CMake.app/Contents/bin/cmake: No such file or directory
#26 951.7 cmake not found
#26 951.7 ** CMake build of Abseil failed
#26 951.7 ** Abseil can be installed with:
#26 951.7 ** - apt-get install libabsl-dev
#26 951.7 ** - dnf install abseil-cpp-devel
#26 951.7 ** - brew install abseil
#26 951.7 ** If a system install of Abseil is not possible, cmake is required to build
#26 951.7 ** the internal vendored copy.
#26 951.7 ERROR: configuration failed for package ‘s2’

valgrind, gcc, devel

  • libfontconfig1-dev
#26 370.1 --------------------------- [ANTICONF] --------------------------------
#26 370.1 Configuration failed to find the fontconfig freetype2 library. Try installing:
#26 370.1  * deb: libfontconfig1-dev (Debian, Ubuntu, etc)
#26 370.1  * rpm: fontconfig-devel (Fedora, EPEL)
#26 370.1  * csw: fontconfig_dev (Solaris)
#26 370.1  * brew: freetype (OSX)
#26 370.1 If fontconfig freetype2 is already installed, check that 'pkg-config' is in your
#26 370.1 PATH and PKG_CONFIG_PATH contains a fontconfig freetype2.pc file. If pkg-config
#26 370.1 is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
#26 370.1 R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
#26 370.1 -------------------------- [ERROR MESSAGE] ---------------------------
#26 370.1 <stdin>:1:10: fatal error: fontconfig/fontconfig.h: No such file or directory
#26 370.1 compilation terminated.
#26 370.1 --------------------------------------------------------------------
#26 370.1 ERROR: configuration failed for package ‘systemfonts’
  • rjags
#25 7.639 installing to /root/R/x86_64-pc-linux-gnu-library/4.6/00LOCK-rjags/00new/rjags/libs
#25 7.641 ** R
#25 7.645 ** data
#25 7.645 ** byte-compile and prepare package for lazy loading
#25 8.229 ** help
#25 8.269 *** installing help indices
#25 8.293   converting help for package ‘rjags’
#25 8.293     finding HTML links ... done
#25 8.310     adapt                                   html  
#25 8.321     coda.samples                            html  
#25 8.331     control                                 html  
#25 8.340     dic.samples                             html  
#25 8.354     diffdic                                 html  
#25 8.361     jags.model                              html  
#25 8.383     jags.module                             html  
#25 8.389     jags.object                             html  
#25 8.399     jags.samples                            html  
#25 8.408     jags.version                            html  
#25 8.412     line                                    html  
#25 8.416     mcarray.object                          html  
#25 8.429     parallel                                html  
#25 8.438     read.jagsdata                           html  
#25 8.445     rjags-deprecated                        html  
#25 8.452     rjags-package                           html  
#25 8.464     update                                  html  
#25 8.474 ** building package indices
#25 8.731 ** testing if installed package can be loaded from temporary location
#25 8.961 Error: package or namespace load failed for ‘rjags’:
#25 8.961  .onLoad failed in loadNamespace() for 'rjags', details:
#25 8.961   call: dyn.load(file)
#25 8.961   error: unable to load shared object '/usr/lib64/JAGS/modules-4/bugs.so':
#25 8.961   libflexiblas.so.3: cannot open shared object file: No such file or directory
#25 8.961 Error: loading failed
#25 8.961 Execution halted
#25 8.961 ERROR: loading failed
#25 8.962 * removing ‘/root/R/x86_64-pc-linux-gnu-library/4.6/rjags’
#25 8.976 
#25 8.976 The downloaded source packages are in
#25 8.976 	‘/tmp/RtmprqcmEK/downloaded_packages’
#25 8.976 Warning message:
#25 8.976 In install.packages("rjags", configure.args = "--enable-rpath") :
#25 8.976   installation of package ‘rjags’ had non-zero exit status
#25 8.976 > 

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions