[我试图安装tidyverse,但安装了许多其他软件包,例如Forecast,但我仍然遇到与依赖'digest'有关的相同问题。
从遇到错误开始,所有其他软件包均未正确安装。
主要问题似乎在这里gcc:错误:aes.o:没有这样的文件或目录,但我不知道这是aes.o是什么。我需要更新gcc吗?
谢谢
if(!require("tidyverse"))install.packages("tidyverse")
Loading required package: tidyverse
there is no package called ‘tidyverse’Installing package into ‘/home/LU/fmarchioro001/R/MRO/3.4.3’
(as ‘lib’ is unspecified)
also installing the dependencies ‘htmltools’, ‘digest’, ‘knitr’, ‘rmarkdown’, ‘ggplot2’, ‘reprex’
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 45408 100 45408 0 0 36462 0 0:00:01 0:00:01 --:--:-- 36472
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 118k 100 118k 0 0 84112 0 0:00:01 0:00:01 --:--:-- 84168
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 634k 100 634k 0 0 142k 0 0:00:04 0:00:04 --:--:-- 150k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2044k 100 2044k 0 0 246k 0 0:00:08 0:00:08 --:--:-- 289k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2161k 100 2161k 0 0 369k 0 0:00:05 0:00:05 --:--:-- 458k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22776 100 22776 0 0 20019 0 0:00:01 0:00:01 --:--:-- 20031
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 61647 100 61647 0 0 49020 0 0:00:01 0:00:01 --:--:-- 49042
* installing *source* package ‘digest’ ...
** package ‘digest’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/opt/microsoft/rclient/3.4.3/runtime/R/include -DNDEBUG -I/usr/local/include -DU_STATIC_IMPLEMENTATION -fpic -DU_STATIC_IMPLEMENTATION -g -O2 -c aes.c -o aes.o
gcc -std=gnu99 -I/opt/microsoft/rclient/3.4.3/runtime/R/include -DNDEBUG -I/usr/local/include -DU_STATIC_IMPLEMENTATION -fpic -DU_STATIC_IMPLEMENTATION -g -O2 -c crc32.c -o crc32.o
gcc -std=gnu99 -I/opt/microsoft/rclient/3.4.3/runtime/R/include -DNDEBUG -I/usr/local/include -DU_STATIC_IMPLEMENTATION -fpic -DU_STATIC_IMPLEMENTATION -g -O2 -c digest.c -o digest.o
gcc -std=gnu99 -I/opt/microsoft/rclient/3.4.3/runtime/R/include -DNDEBUG -I/usr/local/include -DU_STATIC_IMPLEMENTATION -fpic -DU_STATIC_IMPLEMENTATION -g -O2 -c init.c -o init.o
gcc -std=gnu99 -I/opt/microsoft/rclient/3.4.3/runtime/R/include -DNDEBUG -I/usr/local/include -DU_STATIC_IMPLEMENTATION -fpic -DU_STATIC_IMPLEMENTATION -g -O2 -c md5.c -o md5.o
gcc -std=gnu99 -I/opt/microsoft/rclient/3.4.3/runtime/R/include -DNDEBUG -I/usr/local/include -DU_STATIC_IMPLEMENTATION -fpic -DU_STATIC_IMPLEMENTATION -g -O2 -c pmurhash.c -o pmurhash.o
gcc -std=gnu99 -I/opt/microsoft/rclient/3.4.3/runtime/R/include -DNDEBUG -I/usr/local/include -DU_STATIC_IMPLEMENTATION -fpic -DU_STATIC_IMPLEMENTATION -g -O2 -c raes.c -o raes.o
gcc -std=gnu99 -I/opt/microsoft/rclient/3.4.3/runtime/R/include -DNDEBUG -I/usr/local/include -DU_STATIC_IMPLEMENTATION -fpic -DU_STATIC_IMPLEMENTATION -g -O2 -c sha1.c -o sha1.o
gcc -std=gnu99 -I/opt/microsoft/rclient/3.4.3/runtime/R/include -DNDEBUG -I/usr/local/include -DU_STATIC_IMPLEMENTATION -fpic -DU_STATIC_IMPLEMENTATION -g -O2 -c sha2.c -o sha2.o
gcc -std=gnu99 -I/opt/microsoft/rclient/3.4.3/runtime/R/include -DNDEBUG -I/usr/local/include -DU_STATIC_IMPLEMENTATION -fpic -DU_STATIC_IMPLEMENTATION -g -O2 -c sha256.c -o sha256.o
gcc -std=gnu99 -I/opt/microsoft/rclient/3.4.3/runtime/R/include -DNDEBUG -I/usr/local/include -DU_STATIC_IMPLEMENTATION -fpic -DU_STATIC_IMPLEMENTATION -g -O2 -c xxhash.c -o xxhash.o
gcc -std=gnu99 -shared -L/usr/local/lib64 -o digest.so aes.o crc32.o digest.o init.o md5.o pmurhash.o raes.o sha1.o sha2.o sha256.o xxhash.o
**gcc: error: aes.o: No such file or directory
make: *** [digest.so] Error 1
ERROR: compilation failed for package ‘digest’
* removing ‘/home/LU/fmarchioro001/R/MRO/3.4.3/digest’
Warning in install.packages/opt/microsoft/rclient/3.4.3/runtime/R/share/make/shlib.mk:6: recipe for target 'digest.so' failed**
:
installation of package ‘digest’ had non-zero exit status
```
您是否尝试过手动安装“摘要”包?
install.packages("digest")
安装摘要程序包,然后重试,因为我遇到类似的问题,并且在手动安装“摘要”程序包时已解决。