Hi,
I am trying to install a simple package like "car".
The errors occur in the second half of the protocol below and are of the form
"ERROR: configuration failed for package ‘stringi’" with varying package names.
I do have no clue what this is about and what to do about it.
Similar error sequences occur when I tried to install other packages as well.
I do use Ubuntu 22.04.1 LTS.
Any help would be welcome!
Best,
Fragensteller
> install.packages("car")
Installiere Paket nach ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2’
(da ‘lib’ nicht spezifiziert)
installiere auch Abhängigkeiten ‘fs’, ‘rematch2’, ‘stringi’, ‘digest’, ‘pkgload’, ‘waldo’, ‘ellipsis’, ‘purrr’, ‘stringr’, ‘tibble’, ‘tidyr’, ‘tidyselect’, ‘vctrs’, ‘pillar’, ‘testthat’, ‘broom’, ‘dplyr’, ‘SparseM’, ‘minqa’, ‘nloptr’, ‘Rcpp’, ‘RcppEigen’, ‘farver’, ‘lifecycle’, ‘rlang’, ‘pbkrtest’, ‘quantreg’, ‘lme4’, ‘scales’
versuche URL 'https://cloud.r-project.org/src/contrib/fs_1.6.0.tar.gz'
Content type 'application/x-gzip' length 1185399 bytes (1.1 MB)
==================================================
downloaded 1.1 MB
versuche URL 'https://cloud.r-project.org/src/contrib/rematch2_2.1.2.tar.gz'
Content type 'application/x-gzip' length 13366 bytes (13 KB)
==================================================
downloaded 13 KB
versuche URL 'https://cloud.r-project.org/src/contrib/stringi_1.7.12.tar.gz'
Content type 'application/x-gzip' length 7602365 bytes (7.3 MB)
==================================================
downloaded 7.3 MB
versuche URL 'https://cloud.r-project.org/src/contrib/digest_0.6.31.tar.gz'
Content type 'application/x-gzip' length 163502 bytes (159 KB)
==================================================
downloaded 159 KB
versuche URL 'https://cloud.r-project.org/src/contrib/pkgload_1.3.2.tar.gz'
Content type 'application/x-gzip' length 76704 bytes (74 KB)
==================================================
downloaded 74 KB
versuche URL 'https://cloud.r-project.org/src/contrib/waldo_0.4.0.tar.gz'
Content type 'application/x-gzip' length 37556 bytes (36 KB)
==================================================
downloaded 36 KB
versuche URL 'https://cloud.r-project.org/src/contrib/ellipsis_0.3.2.tar.gz'
Content type 'application/x-gzip' length 8066 bytes
==================================================
downloaded 8066 bytes
versuche URL 'https://cloud.r-project.org/src/contrib/purrr_1.0.1.tar.gz'
Content type 'application/x-gzip' length 220628 bytes (215 KB)
==================================================
downloaded 215 KB
versuche URL 'https://cloud.r-project.org/src/contrib/stringr_1.5.0.tar.gz'
Content type 'application/x-gzip' length 175699 bytes (171 KB)
==================================================
downloaded 171 KB
versuche URL 'https://cloud.r-project.org/src/contrib/tibble_3.1.8.tar.gz'
Content type 'application/x-gzip' length 672336 bytes (656 KB)
==================================================
downloaded 656 KB
versuche URL 'https://cloud.r-project.org/src/contrib/tidyr_1.3.0.tar.gz'
Content type 'application/x-gzip' length 823546 bytes (804 KB)
==================================================
downloaded 804 KB
versuche URL 'https://cloud.r-project.org/src/contrib/tidyselect_1.2.0.tar.gz'
Content type 'application/x-gzip' length 101498 bytes (99 KB)
==================================================
downloaded 99 KB
versuche URL 'https://cloud.r-project.org/src/contrib/vctrs_0.5.2.tar.gz'
Content type 'application/x-gzip' length 967426 bytes (944 KB)
==================================================
downloaded 944 KB
versuche URL 'https://cloud.r-project.org/src/contrib/pillar_1.8.1.tar.gz'
Content type 'application/x-gzip' length 479977 bytes (468 KB)
==================================================
downloaded 468 KB
versuche URL 'https://cloud.r-project.org/src/contrib/testthat_3.1.6.tar.gz'
Content type 'application/x-gzip' length 708014 bytes (691 KB)
==================================================
downloaded 691 KB
versuche URL 'https://cloud.r-project.org/src/contrib/broom_1.0.3.tar.gz'
Content type 'application/x-gzip' length 641894 bytes (626 KB)
==================================================
downloaded 626 KB
versuche URL 'https://cloud.r-project.org/src/contrib/dplyr_1.0.10.tar.gz'
Content type 'application/x-gzip' length 884984 bytes (864 KB)
==================================================
downloaded 864 KB
versuche URL 'https://cloud.r-project.org/src/contrib/SparseM_1.81.tar.gz'
Content type 'application/x-gzip' length 735100 bytes (717 KB)
==================================================
downloaded 717 KB
versuche URL 'https://cloud.r-project.org/src/contrib/minqa_1.2.5.tar.gz'
Content type 'application/x-gzip' length 54415 bytes (53 KB)
==================================================
downloaded 53 KB
versuche URL 'https://cloud.r-project.org/src/contrib/nloptr_2.0.3.tar.gz'
Content type 'application/x-gzip' length 2219877 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
versuche URL 'https://cloud.r-project.org/src/contrib/Rcpp_1.0.10.tar.gz'
Content type 'application/x-gzip' length 2936173 bytes (2.8 MB)
==================================================
downloaded 2.8 MB
versuche URL 'https://cloud.r-project.org/src/contrib/RcppEigen_0.3.3.9.3.tar.gz'
Content type 'application/x-gzip' length 1470790 bytes (1.4 MB)
==================================================
downloaded 1.4 MB
versuche URL 'https://cloud.r-project.org/src/contrib/farver_2.1.1.tar.gz'
Content type 'application/x-gzip' length 1274363 bytes (1.2 MB)
==================================================
downloaded 1.2 MB
versuche URL 'https://cloud.r-project.org/src/contrib/lifecycle_1.0.3.tar.gz'
Content type 'application/x-gzip' length 106854 bytes (104 KB)
==================================================
downloaded 104 KB
versuche URL 'https://cloud.r-project.org/src/contrib/rlang_1.0.6.tar.gz'
Content type 'application/x-gzip' length 742508 bytes (725 KB)
==================================================
downloaded 725 KB
versuche URL 'https://cloud.r-project.org/src/contrib/pbkrtest_0.5.2.tar.gz'
Content type 'application/x-gzip' length 75295 bytes (73 KB)
==================================================
downloaded 73 KB
versuche URL 'https://cloud.r-project.org/src/contrib/quantreg_5.94.tar.gz'
Content type 'application/x-gzip' length 1025290 bytes (1001 KB)
==================================================
downloaded 1001 KB
versuche URL 'https://cloud.r-project.org/src/contrib/lme4_1.1-31.tar.gz'
Content type 'application/x-gzip' length 2947739 bytes (2.8 MB)
==================================================
downloaded 2.8 MB
versuche URL 'https://cloud.r-project.org/src/contrib/scales_1.2.1.tar.gz'
Content type 'application/x-gzip' length 270609 bytes (264 KB)
==================================================
downloaded 264 KB
versuche URL 'https://cloud.r-project.org/src/contrib/car_3.1-1.tar.gz'
Content type 'application/x-gzip' length 578902 bytes (565 KB)
==================================================
downloaded 565 KB
* installing *source* package ‘fs’ ...
** Paket ‘fs’ erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
** libs
g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I./libuv-1.44.2/include -I. -pthread -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c dir.cc -o dir.o
/bin/bash: Zeile 1: g++: Befehl nicht gefunden
make: *** [/usr/lib/R/etc/Makeconf:176: dir.o] Fehler 127
ERROR: compilation failed for package ‘fs’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/fs’
Warning in install.packages :
Installation des Pakets ‘fs’ hatte Exit-Status ungleich 0
* installing *source* package ‘stringi’ ...
** Paket ‘stringi’ erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
checking for R_HOME... /usr/lib/R
checking for R... /usr/lib/R/bin/R
checking for endianness... little
checking for R >= 3.1.0 for C++11 use... yes
checking for R < 3.4.0 for CXX1X flag use... no
checking for cat... /usr/bin/cat
checking for local ICUDT_DIR... icu69/data
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for elf.h... yes
checking whether the compiler supports GNU C++... no
checking whether g++ -std=gnu++11 accepts -g... no
checking for g++ -std=gnu++11 option to enable C++11 features... none needed
checking whether the C++ compiler supports the long long type... no
*** Trying with C++11 compiler disabled.
checking for local ICUDT_DIR... icu55/data
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... (cached) none needed
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for elf.h... (cached) yes
checking whether the compiler supports GNU C++... no
checking whether g++ -std=gnu++14 accepts -g... no
checking for g++ -std=gnu++14 option to enable C++11 features... (cached) none needed
checking whether the C++ compiler supports the long long type... no
*** *********************************************************************
*** stringi cannot be built with these settings in place.
*** See the INSTALL file for the solutions to the most common problems.
*** Moreover, explore the list of open and closed issues at
*** https://github.com/gagolews/stringi/issues/
*** *********************************************************************
ERROR: configuration failed for package ‘stringi’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/stringi’
Warning in install.packages :
Installation des Pakets ‘stringi’ hatte Exit-Status ungleich 0
* installing *source* package ‘digest’ ...
** Paket ‘digest’ erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
** libs
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c SpookyV2.cpp -o SpookyV2.o
/bin/bash: Zeile 1: g++: Befehl nicht gefunden
make: *** [/usr/lib/R/etc/Makeconf:178: SpookyV2.o] Fehler 127
ERROR: compilation failed for package ‘digest’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/digest’
Warning in install.packages :
Installation des Pakets ‘digest’ hatte Exit-Status ungleich 0
* installing *source* package ‘SparseM’ ...
** Paket ‘SparseM’ erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
** libs
gfortran -fno-optimize-sibling-calls -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -c bckslv.f -o bckslv.o
/bin/bash: Zeile 1: gfortran: Befehl nicht gefunden
make: *** [/usr/lib/R/etc/Makeconf:192: bckslv.o] Fehler 127
ERROR: compilation failed for package ‘SparseM’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/SparseM’
Warning in install.packages :
Installation des Pakets ‘SparseM’ hatte Exit-Status ungleich 0
* installing *source* package ‘Rcpp’ ...
** Paket ‘Rcpp’ erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
** libs
g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I../inst/include/ -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c api.cpp -o api.o
/bin/bash: Zeile 1: g++: Befehl nicht gefunden
make: *** [/usr/lib/R/etc/Makeconf:178: api.o] Fehler 127
ERROR: compilation failed for package ‘Rcpp’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/Rcpp’
Warning in install.packages :
Installation des Pakets ‘Rcpp’ hatte Exit-Status ungleich 0
* installing *source* package ‘farver’ ...
** Paket ‘farver’ erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
** libs
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c ColorSpace.cpp -o ColorSpace.o
/bin/bash: Zeile 1: g++: Befehl nicht gefunden
make: *** [/usr/lib/R/etc/Makeconf:178: ColorSpace.o] Fehler 127
ERROR: compilation failed for package ‘farver’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/farver’
Warning in install.packages :
Installation des Pakets ‘farver’ hatte Exit-Status ungleich 0
* installing *source* package ‘rlang’ ...
** Paket ‘rlang’ erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
** libs
gcc -I"/usr/share/R/include" -DNDEBUG -I./rlang/ -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c capture.c -o capture.o
gcc -I"/usr/share/R/include" -DNDEBUG -I./rlang/ -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c internal.c -o internal.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I./rlang/ -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c rlang-rcc.cpp -o rlang-rcc.o
/bin/bash: Zeile 1: g++: Befehl nicht gefunden
make: *** [/usr/lib/R/etc/Makeconf:178: rlang-rcc.o] Fehler 127
ERROR: compilation failed for package ‘rlang’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/rlang’
Warning in install.packages :
Installation des Pakets ‘rlang’ hatte Exit-Status ungleich 0
ERROR: dependencies ‘fs’, ‘rlang’ are not available for package ‘pkgload’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/pkgload’
Warning in install.packages :
Installation des Pakets ‘pkgload’ hatte Exit-Status ungleich 0
ERROR: dependency ‘rlang’ is not available for package ‘ellipsis’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/ellipsis’
Warning in install.packages :
Installation des Pakets ‘ellipsis’ hatte Exit-Status ungleich 0
ERROR: dependency ‘Rcpp’ is not available for package ‘minqa’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/minqa’
Warning in install.packages :
Installation des Pakets ‘minqa’ hatte Exit-Status ungleich 0
ERROR: dependency ‘Rcpp’ is not available for package ‘RcppEigen’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/RcppEigen’
Warning in install.packages :
Installation des Pakets ‘RcppEigen’ hatte Exit-Status ungleich 0
ERROR: dependency ‘rlang’ is not available for package ‘lifecycle’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/lifecycle’
Warning in install.packages :
Installation des Pakets ‘lifecycle’ hatte Exit-Status ungleich 0
ERROR: dependency ‘SparseM’ is not available for package ‘quantreg’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/quantreg’
Warning in install.packages :
Installation des Pakets ‘quantreg’ hatte Exit-Status ungleich 0
ERROR: dependencies ‘lifecycle’, ‘rlang’ are not available for package ‘vctrs’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/vctrs’
Warning in install.packages :
Installation des Pakets ‘vctrs’ hatte Exit-Status ungleich 0
ERROR: dependencies ‘farver’, ‘lifecycle’, ‘rlang’ are not available for package ‘scales’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/scales’
Warning in install.packages :
Installation des Pakets ‘scales’ hatte Exit-Status ungleich 0
ERROR: dependencies ‘lifecycle’, ‘rlang’, ‘vctrs’ are not available for package ‘purrr’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/purrr’
Warning in install.packages :
Installation des Pakets ‘purrr’ hatte Exit-Status ungleich 0
ERROR: dependencies ‘lifecycle’, ‘rlang’, ‘stringi’, ‘vctrs’ are not available for package ‘stringr’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/stringr’
Warning in install.packages :
Installation des Pakets ‘stringr’ hatte Exit-Status ungleich 0
ERROR: dependencies ‘lifecycle’, ‘rlang’, ‘vctrs’ are not available for package ‘tidyselect’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/tidyselect’
Warning in install.packages :
Installation des Pakets ‘tidyselect’ hatte Exit-Status ungleich 0
ERROR: dependencies ‘lifecycle’, ‘rlang’, ‘vctrs’ are not available for package ‘pillar’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/pillar’
Warning in install.packages :
Installation des Pakets ‘pillar’ hatte Exit-Status ungleich 0
ERROR: dependencies ‘lifecycle’, ‘pillar’, ‘rlang’, ‘vctrs’ are not available for package ‘tibble’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/tibble’
Warning in install.packages :
Installation des Pakets ‘tibble’ hatte Exit-Status ungleich 0
ERROR: dependency ‘tibble’ is not available for package ‘rematch2’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/rematch2’
Warning in install.packages :
Installation des Pakets ‘rematch2’ hatte Exit-Status ungleich 0
ERROR: dependencies ‘lifecycle’, ‘rlang’, ‘tibble’, ‘tidyselect’, ‘vctrs’, ‘pillar’ are not available for package ‘dplyr’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/dplyr’
Warning in install.packages :
Installation des Pakets ‘dplyr’ hatte Exit-Status ungleich 0
ERROR: dependencies ‘rematch2’, ‘rlang’, ‘tibble’ are not available for package ‘waldo’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/waldo’
Warning in install.packages :
Installation des Pakets ‘waldo’ hatte Exit-Status ungleich 0
ERROR: dependencies ‘dplyr’, ‘lifecycle’, ‘purrr’, ‘rlang’, ‘stringr’, ‘tibble’, ‘tidyselect’, ‘vctrs’ are not available for package ‘tidyr’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/tidyr’
Warning in install.packages :
Installation des Pakets ‘tidyr’ hatte Exit-Status ungleich 0
ERROR: dependencies ‘digest’, ‘ellipsis’, ‘lifecycle’, ‘pkgload’, ‘rlang’, ‘waldo’ are not available for package ‘testthat’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/testthat’
Warning in install.packages :
Installation des Pakets ‘testthat’ hatte Exit-Status ungleich 0
ERROR: dependencies ‘dplyr’, ‘ellipsis’, ‘purrr’, ‘rlang’, ‘stringr’, ‘tibble’, ‘tidyr’ are not available for package ‘broom’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/broom’
Warning in install.packages :
Installation des Pakets ‘broom’ hatte Exit-Status ungleich 0
ERROR: dependency ‘testthat’ is not available for package ‘nloptr’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/nloptr’
Warning in install.packages :
Installation des Pakets ‘nloptr’ hatte Exit-Status ungleich 0
ERROR: dependencies ‘minqa’, ‘nloptr’, ‘Rcpp’, ‘RcppEigen’ are not available for package ‘lme4’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/lme4’
Warning in install.packages :
Installation des Pakets ‘lme4’ hatte Exit-Status ungleich 0
ERROR: dependencies ‘lme4’, ‘broom’, ‘dplyr’ are not available for package ‘pbkrtest’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/pbkrtest’
Warning in install.packages :
Installation des Pakets ‘pbkrtest’ hatte Exit-Status ungleich 0
ERROR: dependencies ‘pbkrtest’, ‘quantreg’, ‘lme4’, ‘scales’ are not available for package ‘car’
* removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/car’
Warning in install.packages :
Installation des Pakets ‘car’ hatte Exit-Status ungleich 0
Die heruntergeladenen Quellpakete sind in
‘/tmp/RtmptkF25x/downloaded_packages’