linux 系统 R包 “ChIPseeker” 安装不成功:
我的R环境如下
R.version
platform x86_64-conda-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 4
minor 3.2
year 2023
month 10
day 31
svn rev 85441
language R
version.string R version 4.3.2 (2023-10-31)
nickname Eye Holes
通过BiocManager安装时 报错
具体bug如下:
BiocManager::install("ChIPseeker")
* installing *source* package ‘XML’ ...
** package ‘XML’ successfully unpacked and MD5 sums checked
** using staged installation
checking for gcc... x86_64-conda-linux-gnu-cc
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 x86_64-conda-linux-gnu-cc accepts -g... yes
checking for x86_64-conda-linux-gnu-cc option to enable C11 features... none needed
checking how to run the C preprocessor... x86_64-conda-linux-gnu-cc -E
checking for sed... /lustre/home/mywen/anaconda3/envs/r-4.3/bin/sed
checking for pkg-config... /lustre/home/mywen/anaconda3/envs/r-4.3/bin/pkg-config
checking for xml2-config... /usr/bin/xml2-config
USE_XML2 = yes
SED_EXTENDED_ARG: -E
Minor 9, Patch 1 for 2.9.1
Located parser file -I/usr/include/libxml2/parser.h
Checking for 1.8: -I/usr/include/libxml2
Using libxml2.*
checking for gzopen in -lz... yes
checking for xmlParseFile in -lxml2... no
checking for xmlParseFile in -lxml... no
configure: error: "libxml not found"
ERROR: confi