美文网首页Linux入门学习
linux学习100篇9:Seurat安装1

linux学习100篇9:Seurat安装1

作者: Seurat_Satija | 来源:发表于2021-05-27 09:21 被阅读0次
    ERROR: dependencies 'httr', 'plotly', 'uwot' are not available for package 'Seurat'
    * removing '/usr/local/lib/R/site-library/Seurat'
    
    The downloaded source packages are in
        '/tmp/RtmpGiAvxV/downloaded_packages'
    Warning messages:
    1: In install.packages("Seurat") :
      installation of package 'openssl' had non-zero exit status
    2: In install.packages("Seurat") :
      installation of package 'RSpectra' had non-zero exit status
    3: In install.packages("Seurat") :
      installation of package 'httr' had non-zero exit status
    4: In install.packages("Seurat") :
      installation of package 'uwot' had non-zero exit status
    5: In install.packages("Seurat") :
      installation of package 'plotly' had non-zero exit status
    6: In install.packages("Seurat") :
      installation of package 'Seurat' had non-zero exit status
    
    > install.packages("httr")
    Installing package into '/usr/local/lib/R/site-library'
    (as 'lib' is unspecified)
    also installing the dependency 'openssl'
    
    trying URL 'https://cloud.r-project.org/src/contrib/openssl_1.4.4.tar.gz'
    Content type 'application/x-gzip' length 1311285 bytes (1.3 MB)
    ==================================================
    downloaded 1.3 MB
    
    trying URL 'https://cloud.r-project.org/src/contrib/httr_1.4.2.tar.gz'
    Content type 'application/x-gzip' length 159950 bytes (156 KB)
    ==================================================
    downloaded 156 KB
    
    * installing *source* package 'openssl' ...
    ** package 'openssl' successfully unpacked and MD5 sums checked
    ** using staged installation
    Using PKG_CFLAGS=
    --------------------------- [ANTICONF] --------------------------------
    Configuration failed because openssl was not found. Try installing:
     * deb: libssl-dev (Debian, Ubuntu, etc)
     * rpm: openssl-devel (Fedora, CentOS, RHEL)
     * csw: libssl_dev (Solaris)
     * brew: openssl@1.1 (Mac OSX)
    If openssl is already installed, check that 'pkg-config' is in your
    PATH and PKG_CONFIG_PATH contains a openssl.pc file. If pkg-config
    is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
    R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
    -------------------------- [ERROR MESSAGE] ---------------------------
    tools/version.c:1:10: fatal error: openssl/opensslv.h: No such file or directory
     #include <openssl/opensslv.h>
              ^~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    --------------------------------------------------------------------
    ERROR: configuration failed for package 'openssl'
    * removing '/usr/local/lib/R/site-library/openssl'
    ERROR: dependency 'openssl' is not available for package 'httr'
    * removing '/usr/local/lib/R/site-library/httr'
    
    The downloaded source packages are in
        '/tmp/RtmpGiAvxV/downloaded_packages'
    Warning messages:
    1: In install.packages("httr") :
      installation of package 'openssl' had non-zero exit status
    2: In install.packages("httr") :
      installation of package 'httr' had non-zero exit status
    
    > q()
    Save workspace image? [y/n/c]: n
    (base) root@BC-25-at-66-181:~/software# 
    (base) root@BC-25-at-66-181:~/software# sudo apt-get install libssl-dev
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      cdbs debhelper dh-autoreconf dh-strip-nondeterminism dh-translations intltool
      intltool-debian jq libarchive-zip-perl libencode-locale-perl
      libfile-listing-perl libfile-stripnondeterminism-perl libfile-which-perl
      libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
      libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-html-perl
      libio-socket-ssl-perl libjq1 liblwp-mediatypes-perl liblwp-protocol-https-perl
      libnet-http-perl libnet-ssleay-perl libonig4 libtimedate-perl libtry-tiny-perl
      liburi-perl libwww-perl libwww-robotrules-perl libxml-parser-perl
      perl-openssl-defaults po-debconf python3-scour scour
    Use 'sudo apt autoremove' to remove them.
    Suggested packages:
      libssl-doc
    The following NEW packages will be installed:
      libssl-dev
    0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
    Need to get 1,566 kB of archives.
    After this operation, 7,850 kB of additional disk space will be used.
    Get:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl-dev amd64 1.1.1-1ubuntu2.1~18.04.9 [1,566 kB]
    Fetched 1,566 kB in 1s (2,468 kB/s)  
    Selecting previously unselected package libssl-dev:amd64.
    (Reading database ... 76964 files and directories currently installed.)
    Preparing to unpack .../libssl-dev_1.1.1-1ubuntu2.1~18.04.9_amd64.deb ...
    Unpacking libssl-dev:amd64 (1.1.1-1ubuntu2.1~18.04.9) ...
    Setting up libssl-dev:amd64 (1.1.1-1ubuntu2.1~18.04.9) ...
    (base) root@BC-25-at-66-181:~/software# 
    
    (base) root@BC-25-at-66-181:~/software# R
    
    R version 4.1.0 (2021-05-18) -- "Camp Pontanezen"
    Copyright (C) 2021 The R Foundation for Statistical Computing
    Platform: x86_64-pc-linux-gnu (64-bit)
    
    R is free software and comes with ABSOLUTELY NO WARRANTY.
    You are welcome to redistribute it under certain conditions.
    Type 'license()' or 'licence()' for distribution details.
    
      Natural language support but running in an English locale
    
    R is a collaborative project with many contributors.
    Type 'contributors()' for more information and
    'citation()' on how to cite R or R packages in publications.
    
    Type 'demo()' for some demos, 'help()' for on-line help, or
    'help.start()' for an HTML browser interface to help.
    Type 'q()' to quit R.
    
    > install.packages("httr")
    Installing package into '/usr/local/lib/R/site-library'
    (as 'lib' is unspecified)
    also installing the dependency 'openssl'
    
    trying URL 'https://cloud.r-project.org/src/contrib/openssl_1.4.4.tar.gz'
    Content type 'application/x-gzip' length 1311285 bytes (1.3 MB)
    ==================================================
    downloaded 1.3 MB
    
    trying URL 'https://cloud.r-project.org/src/contrib/httr_1.4.2.tar.gz'
    Content type 'application/x-gzip' length 159950 bytes (156 KB)
    ==================================================
    downloaded 156 KB
    
    * installing *source* package 'openssl' ...
    ** package 'openssl' successfully unpacked and MD5 sums checked
    ** using staged installation
    Found pkg-config cflags and libs!
    Using PKG_CFLAGS=
    Using PKG_LIBS=-l:libssl.so.1.1 -l:libcrypto.so.1.1
    ** libs
    rm -f aes.o base64.o bignum.o cert.o compatibility.o diffie.o envelope.o error.o hash.o info.o keygen.o keys.o onload.o openssh.o password.o pbkdf.o pem.o pkcs12.o pkcs7.o rand.o rsa.o signing.o ssl.o stream.o write.o x25519.o openssl.so bcrypt/libstatbcrypt.a bcrypt/bcrypt_pbkdf.o bcrypt/blowfish.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c aes.c -o aes.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c base64.c -o base64.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c bignum.c -o bignum.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c cert.c -o cert.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c compatibility.c -o compatibility.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c diffie.c -o diffie.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c envelope.c -o envelope.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c error.c -o error.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c hash.c -o hash.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c info.c -o info.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c keygen.c -o keygen.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c keys.c -o keys.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c onload.c -o onload.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c openssh.c -o openssh.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c password.c -o password.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c pbkdf.c -o pbkdf.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c pem.c -o pem.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c pkcs12.c -o pkcs12.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c pkcs7.c -o pkcs7.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c rand.c -o rand.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c rsa.c -o rsa.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c signing.c -o signing.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c ssl.c -o ssl.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c stream.c -o stream.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c write.c -o write.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c x25519.c -o x25519.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c bcrypt/bcrypt_pbkdf.c -o bcrypt/bcrypt_pbkdf.o
    gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-vB4ZXq/r-base-4.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c bcrypt/blowfish.c -o bcrypt/blowfish.o
    ar rcs bcrypt/libstatbcrypt.a bcrypt/bcrypt_pbkdf.o bcrypt/blowfish.o
    gcc -std=gnu99 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o openssl.so aes.o base64.o bignum.o cert.o compatibility.o diffie.o envelope.o error.o hash.o info.o keygen.o keys.o onload.o openssh.o password.o pbkdf.o pem.o pkcs12.o pkcs7.o rand.o rsa.o signing.o ssl.o stream.o write.o x25519.o -Lbcrypt -lstatbcrypt -l:libssl.so.1.1 -l:libcrypto.so.1.1 -L/usr/lib/R/lib -lR
    installing to /usr/local/lib/R/site-library/00LOCK-openssl/00new/openssl/libs
    ** R
    ** inst
    ** byte-compile and prepare package for lazy loading
    ** help
    *** installing help indices
    ** building package indices
    ** installing vignettes
    ** testing if installed package can be loaded from temporary location
    ** checking absolute paths in shared objects and dynamic libraries
    ** testing if installed package can be loaded from final location
    ** testing if installed package keeps a record of temporary installation path
    * DONE (openssl)
    * installing *source* package 'httr' ...
    ** package 'httr' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** demo
    ** inst
    ** byte-compile and prepare package for lazy loading
    ** help
    *** installing help indices
    ** building package indices
    ** installing vignettes
    ** testing if installed package can be loaded from temporary location
    ** testing if installed package can be loaded from final location
    ** testing if installed package keeps a record of temporary installation path
    * DONE (httr)
    
    The downloaded source packages are in
        '/tmp/RtmpmIhiAi/downloaded_packages'
    

    相关文章

      网友评论

        本文标题:linux学习100篇9:Seurat安装1

        本文链接:https://www.haomeiwen.com/subject/vgmlsltx.html