![]() Libcairo2-dev is already the newest version (1.16.0-4ubuntu1).Ġ upgraded, 0 newly installed, 0 to remove and 1 not upgraded. To install Cairo: (base) sudo apt-get install libcairo2-dev Installation of package ‘ComplexHeatmap’ had non-zero exit status Installation of package ‘Cairo’ had non-zero exit status * removing ‘/root/R/x86_64-pc-linux-gnu-library/4.1/ComplexHeatmap’ * removing ‘/root/R/x86_64-pc-linux-gnu-library/4.1/Cairo’ĮRROR: dependency ‘Cairo’ is not available for package ‘ComplexHeatmap’ Make: *** Error 1ĮRROR: compilation failed for package ‘Cairo’ Installation of ComplexHeatmap > BiocManager::install("ComplexHeatmap") Running the command sudo dpkg-query -l | grep libcairo2-dev also shows that the Cairo package is fully installed.īelow are the commands I have run and the respective outputs: I have tried to install Cairo using the command sudo apt-get install libcairo2-dev but I still get the same error. * removing ‘/home/hectorirc/R/x86_64-pc-linux-gnu-library/3.Please what could be a reason for this error? I am trying to install the R package ComplexHeatmap but I keep getting the error message that the the dependency Cairo is not available. Installation of package ‘Rcpp’ had non-zero exit statusĮRROR: dependencies ‘sp’, ‘Rcpp’ are not available for package ‘raster’ * removing ‘/home/hectorirc/R/x86_64-pc-linux-gnu-library/3.4/Rcpp’ ![]() usr/lib/R/etc/Makeconf:168: recipe for target 'Date.o' failedĮRROR: compilation failed for package ‘Rcpp’ G++ -I/usr/share/R/include -DNDEBUG -I./inst/include/ -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c Date.cpp -o Date.o ** package ‘Rcpp’ successfully unpacked and MD5 sums checked Installation of package ‘sp’ had non-zero exit status usr/share/R/share/make/shlib.mk:6: recipe for target 'sp.so' failedĮRROR: compilation failed for package ‘sp’ bin/bash: línea 2: g++: no se encontró la orden G++ -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o sp.so Rcentroid.o gcdist.o init.o pip.o pip2.o sp_xports.o surfaceArea.o zerodist.o -L/usr/lib/R/lib -lR Gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c zerodist.c -o zerodist.o In this case you could start with install.packages ('stringi', dependenciesTRUE), then do the same with stringr, Rcpp, plyr, dlpyr, reshape2, digest, scales and. Try to disentangle the problem by installing one package after the other. Gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c surfaceArea.c -o surfaceArea.o A non-zero exit status means in this case that the system failed to install the package. ![]() Gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c sp_xports.c -o sp_xports.o Gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c pip2.c -o pip2.o Gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c pip.c -o pip.o Gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init.c -o init.o Gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c gcdist.c -o gcdist.o Gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c Rcentroid.c -o Rcentroid.o ![]() ** package ‘sp’ successfully unpacked and MD5 sums checked Installing package into ‘/home/hectorirc/R/x86_64-pc-linux-gnu-Īlso installing the dependencies ‘sp’, ‘Rcpp’ probando la URL ''Ĭontent type 'application/x-gzip' length 1133621 bytes (1.1 MB)Ĭontent type 'application/x-gzip' length 3766351 bytes (3.6 MB)Ĭontent type 'application/x-gzip' length 1080946 bytes (1.0 MB) I detail below the process and the errors. I have read in other sites, without success I'm trying install the package "Raster", but appear the error installation of package ‘raster’ had non-zero exit status.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |