centos7 安装R语言遇到的各种坑

AI权益加码!Claude Code、Cursor等20+工具免费用! 购周边限时加赠Coding Plan Lite,畅享主流AI工具!学习进阶更高效! 阅读详情

第一步,可以前往官网网址https://www.r-project.org/下载最新的软件包,我的是R-3.2.3.tar.gz,属于radhat版本。

第二步,解压缩,我也是按照网上的指导将压缩包放到/root目录下,然后解压缩,并进入R-3.2.3目录。

第三步,开始安装R语言:

[root@localhost R-3.2.3]# ./configure

(1)问题1:R语言依赖gcc、glibc-headers、gcc-c++、gcc-gfortran,因此需要部署

[root@localhost R-3.2.3]#yum -y install gcc

[root@localhost R-3.2.3]#yum install glibc-headers

[root@localhost R-3.2.3]# yum install gcc-c++

[root@localhost R-3.2.3]#yum install gcc-gfortran

(2)问题2:R语言安装依赖openjdk

[root@localhost R-3.2.3]#yum install java-1.8.0-openjdk-*

注解:在安装过程中,如果上述软件包没有安装的话,会不断有warning或者error提示,并且会提示相应的关键字。

解决以上两个问题之后就可以顺利的执行安装了,详细过程如下:

[root@localhost R-3.2.3]# ./configure

checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
loading site script './config.site'
loading build-specific script './config.site'
checking for pwd... /usr/bin/pwd
checking whether builddir is srcdir... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for gawk... gawk
checking whether ln -s works... yes
checking for bison... no
checking for byacc... no
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for sed... /usr/bin/sed
checking for which... /usr/bin/which
checking for less... /usr/bin/less
checking for gtar... /usr/bin/gtar
checking for tex... no
checking for pdftex... no
configure: WARNING: you cannot build PDF versions of the R manuals
checking for pdflatex... no
configure: WARNING: you cannot build PDF versions of vignettes and help pages
checking for makeindex... no
checking for texi2any... no
configure: WARNING: you cannot build info or HTML versions of the R manuals
checking for texi2dvi... no
checking for kpsewhich... no
checking for latex inconsolata package... checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for gzip... /usr/bin/gzip
checking for bzip2... /usr/bin/bzip2
checking for firefox... /usr/bin/firefox
using default browser ... /usr/bin/firefox
checking for acroread... no
checking for acroread4... no
checking for xdg-open... /usr/bin/xdg-open
checking for notangle... false
checking for realpath... /usr/bin/realpath
checking for pkg-config... /usr/bin/pkg-config
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc needs -traditional... no
checking how to run the C preprocessor... gcc -E
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking whether __attribute__((visibility())) is supported... yes
checking whether gcc accepts -fvisibility... yes
checking whether gfortran accepts -fvisibility... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking for Objective C++ compiler... trying some possibilities
checking whether g++ can compile ObjC++... no
checking whether  can compile ObjC++... no
no working ObjC++ compiler found
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... g++ -E
checking whether we are using the GNU Fortran 77 compiler... (cached) yes
checking whether gfortran accepts -g... (cached) yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... no
checking if gfortran supports -c -o file.o... yes
checking if gfortran supports -c -o file.o... (cached) yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for cos in -lm... yes
checking for sin in -lm... yes
checking for dlopen in -ldl... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking for rl_callback_read_char in -lreadline... yes
checking for history_truncate_file... yes
checking whether rl_completion_matches exists and is declared... yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for dlfcn.h... (cached) yes
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking floatingpoint.h usability... no
checking floatingpoint.h presence... no
checking for floatingpoint.h... no
checking fpu_control.h usability... yes
checking fpu_control.h presence... yes
checking for fpu_control.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for strings.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking stdalign.h usability... yes
checking stdalign.h presence... yes
checking for stdalign.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking whether setjmp.h is POSIX.1 compatible... yes
checking whether sigsetjmp is declared... yes
checking whether siglongjmp is declared... yes
checking for GNU C library with version >= 2... yes
checking return type of signal handlers... void
checking for uint64_t... yes
checking for int64_t... yes
checking for int_fast64_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether SIZE_MAX is declared... yes
checking for blkcnt_t... yes
checking for type of socket length... socklen_t *
checking for stack_t... yes
checking for intptr_t... yes
checking for uintptr_t... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for inline... inline
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of double... 8
checking size of size_t... 8
checking size of long double... 16
checking whether we can compute C Make dependencies... yes, using $(CC) -MM
checking whether gcc -std=gnu99 supports -c -o FILE.lo... yes
checking for gcc -std=gnu99 option to support OpenMP... -fopenmp
checking how to get verbose linking output from gfortran... -v
b/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lgfortran -lm -lquadmath
checking how to get verbose linking output from gcc -std=gnu99... -v
./lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lgcc_s
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore, no extra underscore
checking whether gfortran appends underscores to external names... yes
checking whether gfortran appends extra underscores to external names... no
checking whether mixed C/Fortran code can be run... yes
checking whether gfortran and gcc -std=gnu99 agree on int and double... yes
checking whether gfortran and gcc -std=gnu99 agree on double complex... yes
checking for gfortran option to support OpenMP... -fopenmp
checking whether g++ accepts -M for generating dependencies... yes
checking for g++ option to support OpenMP... -fopenmp
checking whether we can compute ObjC Make dependencies... no
checking whether C runtime needs -D__NO_MATH_INLINES... no
checking for xmkmf... no
checking whether g++  supports C++11 features by default... no
checking whether g++  supports C++11 features with -std=c++11... yes
checking for off_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether alloca is declared... yes
checking whether expm1 exists and is declared... yes
checking whether hypot exists and is declared... yes
checking whether log1p exists and is declared... yes
checking whether log1pl exists and is declared... yes
checking whether log2 exists and is declared... yes
checking whether log10 exists and is declared... yes
checking whether nearbyint exists and is declared... yes
checking whether nearbyintl exists and is declared... yes
checking whether powl exists and is declared... yes
checking whether rint exists and is declared... yes
checking whether rintl exists and is declared... yes
checking whether va_copy exists and is declared... yes
checking for isblank... yes
checking sunmath.h usability... no
checking sunmath.h presence... no
checking for sunmath.h... no
checking for cospi in -lsunmath... no
checking for atanpi... no
checking for atan2pi... no
checking for cospi... no
checking for exp10... yes
checking for pown... no
checking for sinpi... no
checking for tanpi... no
checking for fseeko... yes
checking for ftello... yes
checking for matherr... yes
checking whether fcntl exists and is declared... yes
checking whether getgrgid exists and is declared... yes
checking whether getpwuid exists and is declared... yes
checking whether kill exists and is declared... yes
checking whether sigaction exists and is declared... yes
checking whether sigaltstack exists and is declared... yes
checking whether sigemptyset exists and is declared... yes
checking whether fdopen exists and is declared... yes
checking whether popen exists and is declared... yes
checking whether setenv exists and is declared... yes
checking whether unsetenv exists and is declared... yes
checking whether getrlimit exists and is declared... yes
checking whether getrusage exists and is declared... yes
checking whether getpriority exists and is declared... yes
checking whether chmod exists and is declared... yes
checking whether mkfifo exists and is declared... yes
checking whether stat exists and is declared... yes
checking whether umask exists and is declared... yes
checking whether gettimeofday exists and is declared... yes
checking whether utimes exists and is declared... yes
checking whether times exists and is declared... yes
checking whether gmtime_r exists and is declared... yes
checking whether localtime_r exists and is declared... yes
checking whether nl_langinfo exists and is declared... yes
checking whether access exists and is declared... yes
checking whether chdir exists and is declared... yes
checking whether execv exists and is declared... yes
checking whether ftruncate exists and is declared... yes
checking whether getcwd exists and is declared... yes
checking whether geteuid exists and is declared... yes
checking whether getuid exists and is declared... yes
checking whether link exists and is declared... yes
checking whether readlink exists and is declared... yes
checking whether symlink exists and is declared... yes
checking whether sysconf exists and is declared... yes
checking whether sched_setaffinity exists and is declared... yes
checking whether sched_getaffinity exists and is declared... yes
checking whether utime exists and is declared... yes
checking for clock_gettime in -lrt... yes
checking whether clock_gettime exists and is declared... yes
checking whether timespec_get exists and is declared... yes
checking for putenv... yes
checking whether putenv is declared... yes
checking for vasprintf... yes
checking whether vasprintf is declared... yes
checking for mempcpy... yes
checking for realpath... yes
checking whether realpath is declared... yes
checking whether glob exists and is declared... yes
checking for isnan... yes
checking whether isfinite is declared... yes
checking whether isnan is declared... yes
checking whether you have IEEE 754 floating-point arithmetic... yes
checking whether putenv("FOO") can unset an environment variable... yes
checking whether putenv("FOO=") can unset an environment variable... no
checking for nl_langinfo and CODESET... yes
checking for mkdtemp... yes
checking for strdup... yes
checking for strncasecmp... yes
checking whether mkdtemp is declared... yes
checking whether strdup is declared... yes
checking whether strncasecmp is declared... yes
checking for library containing connect... none required
checking for library containing gethostbyname... none required
checking for library containing xdr_string... none required
checking for __setfpucw... no
checking for working calloc... yes
checking for working isfinite... yes
checking for working log1p... yes
checking whether ftell works correctly on files opened for append... yes
checking for working sigaction... yes
checking whether mktime sets errno... no
checking whether mktime works correctly outside 1902-2037... yes
checking complex.h usability... yes
checking complex.h presence... yes
checking for complex.h... yes
checking for double complex... yes
checking whether C99 double complex is supported... yes
checking whether cabs exists and is declared... yes
checking whether carg exists and is declared... yes
checking whether cexp exists and is declared... yes
checking whether clog exists and is declared... yes
checking whether csqrt exists and is declared... yes
checking whether cpow exists and is declared... yes
checking whether ccos exists and is declared... yes
checking whether csin exists and is declared... yes
checking whether ctan exists and is declared... yes
checking whether cacos exists and is declared... yes
checking whether casin exists and is declared... yes
checking whether catan exists and is declared... yes
checking whether ccosh exists and is declared... yes
checking whether csinh exists and is declared... yes
checking whether ctanh exists and is declared... yes
checking whether 'struct tm' includes tm_zone... yes
checking whether 'struct tm' includes tm_gmtoff... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iconv... yes
checking whether iconv accepts "UTF-8", "latin1", "ASCII" and "UCS-*"... yes
checking for iconvlist... no
checking for iconv... yes
checking for iconv declaration...
e_t *outbytesleft);
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking whether mbrtowc exists and is declared... yes
checking whether wcrtomb exists and is declared... yes
checking whether wcscoll exists and is declared... yes
checking whether wcsftime exists and is declared... yes
checking whether wcstod exists and is declared... yes
checking whether mbstowcs exists and is declared... yes
checking whether wcstombs exists and is declared... yes
checking whether wctrans exists and is declared... yes
checking whether iswblank exists and is declared... yes
checking whether wctype exists and is declared... yes
checking whether iswctype exists and is declared... yes
checking for wctrans_t... yes
checking for mbstate_t... yes
checking for ICU... no
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking for XtToolkitInitialize in -lXt... yes
using X11 ... yes
checking for KeySym... yes
checking X11/Xmu/Atoms.h usability... no
checking X11/Xmu/Atoms.h presence... no
checking for X11/Xmu/Atoms.h... no
checking whether pkg-config knows about cairo and pango... no
checking whether pkg-config knows about cairo... no
checking for tclConfig.sh... no
checking for tclConfig.sh in library (sub)directories... no
checking for tkConfig.sh... no
checking for tkConfig.sh in library (sub)directories... no
checking for tcl.h... no
checking for BSD networking... yes
checking if jpeglib version >= 6b... yes
checking for jpeg_destroy_compress in -ljpeg... yes
checking for main in -lz... no
checking tiffio.h usability... no
checking tiffio.h presence... no
checking for tiffio.h... no
checking rpc/types.h usability... yes
checking rpc/types.h presence... yes
checking for rpc/types.h... yes
checking for rpc/xdr.h... yes
checking for XDR support... yes
checking for inflateInit2_ in -lz... no
checking whether zlib support needs to be compiled... yes
checking mmap support for zlib... yes
checking for BZ2_bzlibVersion in -lbz2... no
checking whether bzip2 support needs to be compiled... yes
checking for lzma_version_number in -llzma... no
checking for pcre_fullinfo in -lpcre... no
checking whether PCRE support needs to be compiled... yes
checking for curl-config... no
checking if libcurl version >= 7.28.0... no
checking whether leap seconds are treated according to POSIX... yes
checking for inline... inline
checking for sys/time.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking for setitimer... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether KERN_USRSTACK sysctl is supported... no
checking for visible __lib_stack_end... yes
checking for lpr... lpr
checking for paperconf... false
checking for gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking whether we are using the GNU Fortran compiler... (cached) yes
checking whether gfortran accepts -g... (cached) yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... no
checking if gfortran supports -c -o file.o... yes
checking if gfortran supports -c -o file.o... (cached) yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for Fortran flag to compile .f90 files... none
checking for Fortran flag to compile .f95 files... none
checking for gfortran option to support OpenMP... -fopenmp
checking for recommended packages... yes
checking whether NLS is requested... yes

Configuring src/extra/intl directory
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking whether we are using the GNU C Library 2 or newer... yes
checking for ranlib... (cached) ranlib
checking for simple visibility declarations... yes
checking for stdint.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for unsigned long long int... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether imported symbols can be declared weak... yes
checking for multithread API to use... none
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for inttypes.h... (cached) yes
checking for limits.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... (cached) yes
checking for munmap... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... (cached) yes
checking for strtoul... yes
checking for tsearch... yes
checking for argz_count... yes
checking for argz_stringify... yes
checking for argz_next... yes
checking for __fsetlocking... yes
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking for iconv... (cached) yes
checking for iconv declaration... (cached)
e_t *outbytesleft);
checking for NL_LOCALE_NAME macro... yes
checking for bison... no
checking for long long int... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for ptrdiff_t... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for asprintf... yes
checking for fwprintf... yes
checking for putenv... (cached) yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for wcslen... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether getc_unlocked is declared... yes
checking for nl_langinfo and CODESET... (cached) yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) no
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
Finished configuring src/extra/intl directory

using as R_SHELL for scripts ... /bin/sh
configure: creating ./config.status
config.status: creating Makeconf
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/html/Makefile
config.status: creating doc/manual/Makefile
config.status: creating etc/Makefile
config.status: creating etc/Makeconf
config.status: creating etc/Renviron
config.status: creating etc/javaconf
config.status: creating etc/ldpaths
config.status: creating m4/Makefile
config.status: creating po/Makefile
config.status: creating share/Makefile
config.status: creating src/Makefile
config.status: creating src/appl/Makefile
config.status: creating src/extra/Makefile
config.status: creating src/extra/blas/Makefile
config.status: creating src/extra/bzip2/Makefile
config.status: creating src/extra/intl/Makefile
config.status: creating src/extra/pcre/Makefile
config.status: creating src/extra/tre/Makefile
config.status: creating src/extra/tzone/Makefile
config.status: creating src/extra/xdr/Makefile
config.status: creating src/extra/xz/Makefile
config.status: creating src/extra/zlib/Makefile
config.status: creating src/include/Makefile
config.status: creating src/include/Rmath.h0
config.status: creating src/include/R_ext/Makefile
config.status: creating src/library/Recommended/Makefile
config.status: creating src/library/Makefile
config.status: creating src/library/base/DESCRIPTION
config.status: creating src/library/base/Makefile
config.status: creating src/library/compiler/DESCRIPTION
config.status: creating src/library/compiler/Makefile
config.status: creating src/library/datasets/DESCRIPTION
config.status: creating src/library/datasets/Makefile
config.status: creating src/library/graphics/DESCRIPTION
config.status: creating src/library/graphics/Makefile
config.status: creating src/library/graphics/src/Makefile
config.status: creating src/library/grDevices/DESCRIPTION
config.status: creating src/library/grDevices/Makefile
config.status: creating src/library/grDevices/src/Makefile
config.status: creating src/library/grDevices/src/cairo/Makefile
config.status: creating src/library/grid/DESCRIPTION
config.status: creating src/library/grid/Makefile
config.status: creating src/library/grid/src/Makefile
config.status: creating src/library/methods/DESCRIPTION
config.status: creating src/library/methods/Makefile
config.status: creating src/library/methods/src/Makefile
config.status: creating src/library/parallel/DESCRIPTION
config.status: creating src/library/parallel/Makefile
config.status: creating src/library/parallel/src/Makefile
config.status: creating src/library/profile/Makefile
config.status: creating src/library/stats/DESCRIPTION
config.status: creating src/library/stats/Makefile
config.status: creating src/library/stats/src/Makefile
config.status: creating src/library/stats4/DESCRIPTION
config.status: creating src/library/stats4/Makefile
config.status: creating src/library/splines/DESCRIPTION
config.status: creating src/library/splines/Makefile
config.status: creating src/library/splines/src/Makefile
config.status: creating src/library/tcltk/DESCRIPTION
config.status: creating src/library/tcltk/Makefile
config.status: creating src/library/tcltk/src/Makefile
config.status: creating src/library/tools/DESCRIPTION
config.status: creating src/library/tools/Makefile
config.status: creating src/library/tools/src/Makefile
config.status: creating src/library/translations/DESCRIPTION
config.status: creating src/library/translations/Makefile
config.status: creating src/library/utils/DESCRIPTION
config.status: creating src/library/utils/Makefile
config.status: creating src/library/utils/src/Makefile
config.status: creating src/main/Makefile
config.status: creating src/modules/Makefile
config.status: creating src/modules/X11/Makefile
config.status: creating src/modules/internet/Makefile
config.status: creating src/modules/lapack/Makefile
config.status: creating src/nmath/Makefile
config.status: creating src/nmath/standalone/Makefile
config.status: creating src/scripts/Makefile
config.status: creating src/scripts/R.sh
config.status: creating src/scripts/Rcmd
config.status: creating src/scripts/f77_f2c
config.status: creating src/scripts/javareconf
config.status: creating src/scripts/mkinstalldirs
config.status: creating src/scripts/pager
config.status: creating src/scripts/rtags
config.status: creating src/unix/Makefile
config.status: creating tests/Makefile
config.status: creating tests/Embedding/Makefile
config.status: creating tests/Examples/Makefile
config.status: creating tools/Makefile
config.status: creating src/include/config.h
config.status: src/include/config.h is unchanged
config.status: executing libtool commands
config.status: executing stamp-h commands

R is now configured for x86_64-pc-linux-gnu

  Source directory:          .
  Installation directory:    /usr/local

  C compiler:                gcc -std=gnu99  -g -O2
  Fortran 77 compiler:       gfortran  -g -O2

  C++ compiler:              g++  -g -O2
  C++ 11 compiler:           g++  -std=c++11 -g -O2
  Fortran 90/95 compiler:    gfortran -g -O2
  Obj-C compiler:          

  Interfaces supported:      X11
  External libraries:        readline
  Additional capabilities:   JPEG, NLS
  Options enabled:           shared BLAS, R profiling

  Capabilities skipped:      PNG, TIFF, cairo, ICU
  Options not enabled:       memory profiling

  Recommended packages:      yes
//忽略此处告警
configure: WARNING: you cannot build info or HTML versions of the R manuals
configure: WARNING: you cannot build PDF versions of the R manuals
configure: WARNING: you cannot build PDF versions of vignettes and help pages

[root@localhost R-3.2.3]# make
make[1]: Entering directory `/root/R-3.2.3/m4'
make[1]: Nothing to be done for `R'.
make[1]: Leaving directory `/root/R-3.2.3/m4'
make[1]: Entering directory `/root/R-3.2.3/tools'
make[1]: Nothing to be done for `R'.
make[1]: Leaving directory `/root/R-3.2.3/tools'
make[1]: Entering directory `/root/R-3.2.3/doc'
make[2]: Entering directory `/root/R-3.2.3/doc/html'
make[2]: Leaving directory `/root/R-3.2.3/doc/html'
make[2]: Entering directory `/root/R-3.2.3/doc/manual'
make[2]: Nothing to be done for `R'.
make[2]: Leaving directory `/root/R-3.2.3/doc/manual'
make[1]: Leaving directory `/root/R-3.2.3/doc'
make[1]: Entering directory `/root/R-3.2.3/etc'
make[1]: Leaving directory `/root/R-3.2.3/etc'
make[1]: Entering directory `/root/R-3.2.3/share'
make[1]: Leaving directory `/root/R-3.2.3/share'
make[1]: Entering directory `/root/R-3.2.3/src'
make[2]: Entering directory `/root/R-3.2.3/src/scripts'
creating src/scripts/R.fe
make[3]: Entering directory `/root/R-3.2.3/src/scripts'
make[3]: Leaving directory `/root/R-3.2.3/src/scripts'
make[2]: Leaving directory `/root/R-3.2.3/src/scripts'
make[2]: Entering directory `/root/R-3.2.3/src/include'
config.status: creating src/include/config.h
config.status: src/include/config.h is unchanged
Rmath.h is unchanged
make[3]: Entering directory `/root/R-3.2.3/src/include/R_ext'
make[3]: Nothing to be done for `R'.
make[3]: Leaving directory `/root/R-3.2.3/src/include/R_ext'
make[2]: Leaving directory `/root/R-3.2.3/src/include'
make[2]: Entering directory `/root/R-3.2.3/src/extra'
make[3]: Entering directory `/root/R-3.2.3/src/extra/blas'
make[4]: Entering directory `/root/R-3.2.3/src/extra/blas'
make[4]: `libRblas.so' is up to date.
make[4]: Leaving directory `/root/R-3.2.3/src/extra/blas'
make[4]: Entering directory `/root/R-3.2.3/src/extra/blas'
/root/R-3.2.3/lib/libRblas.so is unchanged
make[4]: Leaving directory `/root/R-3.2.3/src/extra/blas'
make[3]: Leaving directory `/root/R-3.2.3/src/extra/blas'
make[3]: Entering directory `/root/R-3.2.3/src/extra/bzip2'
make[4]: Entering directory `/root/R-3.2.3/src/extra/bzip2'
make[4]: `libbz2.a' is up to date.
make[4]: Leaving directory `/root/R-3.2.3/src/extra/bzip2'
make[3]: Leaving directory `/root/R-3.2.3/src/extra/bzip2'
make[3]: Entering directory `/root/R-3.2.3/src/extra/pcre'
make[4]: Entering directory `/root/R-3.2.3/src/extra/pcre'
make[4]: Leaving directory `/root/R-3.2.3/src/extra/pcre'
make[4]: Entering directory `/root/R-3.2.3/src/extra/pcre'
make[4]: `libpcre.a' is up to date.
make[4]: Leaving directory `/root/R-3.2.3/src/extra/pcre'
make[3]: Leaving directory `/root/R-3.2.3/src/extra/pcre'
make[3]: Entering directory `/root/R-3.2.3/src/extra/zlib'
make[4]: Entering directory `/root/R-3.2.3/src/extra/zlib'
make[4]: `libz.a' is up to date.
make[4]: Leaving directory `/root/R-3.2.3/src/extra/zlib'
make[3]: Leaving directory `/root/R-3.2.3/src/extra/zlib'
make[3]: Entering directory `/root/R-3.2.3/src/extra/tre'
make[4]: Entering directory `/root/R-3.2.3/src/extra/tre'
make[4]: Leaving directory `/root/R-3.2.3/src/extra/tre'
make[4]: Entering directory `/root/R-3.2.3/src/extra/tre'
make[4]: `libtre.a' is up to date.
make[4]: Leaving directory `/root/R-3.2.3/src/extra/tre'
make[3]: Leaving directory `/root/R-3.2.3/src/extra/tre'
make[3]: Entering directory `/root/R-3.2.3/src/extra/xz'
make[4]: Entering directory `/root/R-3.2.3/src/extra/xz'
make[4]: `liblzma.a' is up to date.
make[4]: Leaving directory `/root/R-3.2.3/src/extra/xz'
make[3]: Leaving directory `/root/R-3.2.3/src/extra/xz'
make[2]: Leaving directory `/root/R-3.2.3/src/extra'
make[2]: Entering directory `/root/R-3.2.3/src/appl'
make[3]: Entering directory `/root/R-3.2.3/src/appl'
make[3]: `libappl.a' is up to date.
make[3]: Leaving directory `/root/R-3.2.3/src/appl'
make[2]: Leaving directory `/root/R-3.2.3/src/appl'
make[2]: Entering directory `/root/R-3.2.3/src/nmath'
make[3]: Entering directory `/root/R-3.2.3/src/nmath'
make[3]: `libnmath.a' is up to date.
make[3]: Leaving directory `/root/R-3.2.3/src/nmath'
make[2]: Leaving directory `/root/R-3.2.3/src/nmath'
make[2]: Entering directory `/root/R-3.2.3/src/unix'
make[3]: Entering directory `/root/R-3.2.3/src/unix'
make[3]: `libunix.a' is up to date.
make[3]: Leaving directory `/root/R-3.2.3/src/unix'
make[3]: Entering directory `/root/R-3.2.3/src/unix'
   -g -O2  -L/usr/local/lib64 -DR_HOME='"/root/R-3.2.3"' \
  -o Rscript ./Rscript.c
make[3]: Leaving directory `/root/R-3.2.3/src/unix'
make[2]: Leaving directory `/root/R-3.2.3/src/unix'
make[2]: Entering directory `/root/R-3.2.3/src/main'
make[3]: Entering directory `/root/R-3.2.3/src/main'
make[4]: Entering directory `/root/R-3.2.3/src/main'
/root/R-3.2.3/bin/exec/R is unchanged
make[4]: Leaving directory `/root/R-3.2.3/src/main'
make[3]: Leaving directory `/root/R-3.2.3/src/main'
make[2]: Leaving directory `/root/R-3.2.3/src/main'
make[2]: Entering directory `/root/R-3.2.3/src/modules'
make[3]: Entering directory `/root/R-3.2.3/src/modules/internet'
make[4]: Entering directory `/root/R-3.2.3/src/modules/internet'
make[4]: `internet.so' is up to date.
make[4]: Leaving directory `/root/R-3.2.3/src/modules/internet'
make[3]: Leaving directory `/root/R-3.2.3/src/modules/internet'
make[3]: Entering directory `/root/R-3.2.3/src/modules/lapack'
make[4]: Entering directory `/root/R-3.2.3/src/modules/lapack'
make[4]: `libRlapack.so' is up to date.
/root/R-3.2.3/lib/libRlapack.so is unchanged
make[4]: Leaving directory `/root/R-3.2.3/src/modules/lapack'
make[4]: Entering directory `/root/R-3.2.3/src/modules/lapack'
make[4]: `lapack.so' is up to date.
make[4]: Leaving directory `/root/R-3.2.3/src/modules/lapack'
make[3]: Leaving directory `/root/R-3.2.3/src/modules/lapack'
make[3]: Entering directory `/root/R-3.2.3/src/modules/X11'
make[4]: Entering directory `/root/R-3.2.3/src/modules/X11'
make[4]: `R_X11.so' is up to date.
make[4]: `R_de.so' is up to date.
make[4]: Leaving directory `/root/R-3.2.3/src/modules/X11'
make[4]: Entering directory `/root/R-3.2.3/src/modules/X11'
/root/R-3.2.3/modules/R_X11.so is unchanged
/root/R-3.2.3/modules/R_de.so is unchanged
make[4]: Leaving directory `/root/R-3.2.3/src/modules/X11'
make[3]: Leaving directory `/root/R-3.2.3/src/modules/X11'
make[2]: Leaving directory `/root/R-3.2.3/src/modules'
make[2]: Entering directory `/root/R-3.2.3/src/library'
make[3]: Entering directory `/root/R-3.2.3/src/library/profile'
building system startup profile
make[3]: Leaving directory `/root/R-3.2.3/src/library/profile'
make[3]: Entering directory `/root/R-3.2.3/src/library/translations'
building package 'translations'
make[4]: Entering directory `/root/R-3.2.3/src/library/translations'
make[4]: Leaving directory `/root/R-3.2.3/src/library/translations'
make[3]: Leaving directory `/root/R-3.2.3/src/library/translations'
make[3]: Entering directory `/root/R-3.2.3/src/library/base'
building package 'base'
make[4]: Entering directory `/root/R-3.2.3/src/library/base'
all.R is unchanged
make[4]: Leaving directory `/root/R-3.2.3/src/library/base'
make[3]: Leaving directory `/root/R-3.2.3/src/library/base'
make[3]: Entering directory `/root/R-3.2.3/src/library/tools'
building package 'tools'
make[4]: Entering directory `/root/R-3.2.3/src/library/tools'
all.R is unchanged
make[4]: Leaving directory `/root/R-3.2.3/src/library/tools'
make[4]: Entering directory `/root/R-3.2.3/src/library/tools'
make[5]: Entering directory `/root/R-3.2.3/src/library/tools/src'
make[6]: Entering directory `/root/R-3.2.3/src/library/tools/src'
../../../../library/tools/libs/tools.so is unchanged
make[6]: Leaving directory `/root/R-3.2.3/src/library/tools/src'
make[5]: Leaving directory `/root/R-3.2.3/src/library/tools/src'
make[4]: Leaving directory `/root/R-3.2.3/src/library/tools'
make[4]: Entering directory `/root/R-3.2.3/src/library/tools'
installing 'sysdata.rda'
make[4]: Leaving directory `/root/R-3.2.3/src/library/tools'
make[3]: Leaving directory `/root/R-3.2.3/src/library/tools'
make[3]: Entering directory `/root/R-3.2.3/src/library/compiler'
building package 'compiler'
make[4]: Entering directory `/root/R-3.2.3/src/library/compiler'
all.R is unchanged
make[4]: Leaving directory `/root/R-3.2.3/src/library/compiler'
make[4]: Entering directory `/root/R-3.2.3/src/library/compiler'
make[4]: Nothing to be done for `mklazycomp'.
make[4]: Leaving directory `/root/R-3.2.3/src/library/compiler'
make[3]: Leaving directory `/root/R-3.2.3/src/library/compiler'
make[3]: Entering directory `/root/R-3.2.3/src/library/base'
make[3]: Nothing to be done for `mklazycomp'.
make[3]: Leaving directory `/root/R-3.2.3/src/library/base'
make[3]: Entering directory `/root/R-3.2.3/src/library/tools'
make[3]: Nothing to be done for `mklazycomp'.
make[3]: Leaving directory `/root/R-3.2.3/src/library/tools'
make[3]: Entering directory `/root/R-3.2.3/src/library/utils'
building package 'utils'
make[4]: Entering directory `/root/R-3.2.3/src/library/utils'
all.R is unchanged
make[4]: Nothing to be done for `iconvlist'.
make[4]: Leaving directory `/root/R-3.2.3/src/library/utils'
make[4]: Entering directory `/root/R-3.2.3/src/library/utils'
make[5]: Entering directory `/root/R-3.2.3/src/library/utils/src'
make[6]: Entering directory `/root/R-3.2.3/src/library/utils/src'
../../../../library/utils/libs/utils.so is unchanged
make[6]: Leaving directory `/root/R-3.2.3/src/library/utils/src'
make[5]: Leaving directory `/root/R-3.2.3/src/library/utils/src'
make[4]: Leaving directory `/root/R-3.2.3/src/library/utils'
make[4]: Entering directory `/root/R-3.2.3/src/library/utils'
make[4]: Nothing to be done for `mklazycomp'.
make[4]: Leaving directory `/root/R-3.2.3/src/library/utils'
make[3]: Leaving directory `/root/R-3.2.3/src/library/utils'
make[3]: Entering directory `/root/R-3.2.3/src/library/grDevices'
building package 'grDevices'
make[4]: Entering directory `/root/R-3.2.3/src/library/grDevices'
all.R is unchanged
make[4]: Leaving directory `/root/R-3.2.3/src/library/grDevices'
make[4]: Entering directory `/root/R-3.2.3/src/library/grDevices'
make[5]: Entering directory `/root/R-3.2.3/src/library/grDevices/src'
make[6]: Entering directory `/root/R-3.2.3/src/library/grDevices/src'
../../../../library/grDevices/libs/grDevices.so is unchanged
make[6]: Leaving directory `/root/R-3.2.3/src/library/grDevices/src'
make[5]: Leaving directory `/root/R-3.2.3/src/library/grDevices/src'
make[4]: Leaving directory `/root/R-3.2.3/src/library/grDevices'
make[4]: Entering directory `/root/R-3.2.3/src/library/grDevices'
make[4]: Nothing to be done for `mklazycomp'.
make[4]: Leaving directory `/root/R-3.2.3/src/library/grDevices'
make[3]: Leaving directory `/root/R-3.2.3/src/library/grDevices'
make[3]: Entering directory `/root/R-3.2.3/src/library/graphics'
building package 'graphics'
make[4]: Entering directory `/root/R-3.2.3/src/library/graphics'
all.R is unchanged
make[4]: Leaving directory `/root/R-3.2.3/src/library/graphics'
make[4]: Entering directory `/root/R-3.2.3/src/library/graphics'
make[5]: Entering directory `/root/R-3.2.3/src/library/graphics/src'
make[6]: Entering directory `/root/R-3.2.3/src/library/graphics/src'
../../../../library/graphics/libs/graphics.so is unchanged
make[6]: Leaving directory `/root/R-3.2.3/src/library/graphics/src'
make[5]: Leaving directory `/root/R-3.2.3/src/library/graphics/src'
make[4]: Leaving directory `/root/R-3.2.3/src/library/graphics'
make[4]: Entering directory `/root/R-3.2.3/src/library/graphics'
make[4]: Nothing to be done for `mklazycomp'.
make[4]: Leaving directory `/root/R-3.2.3/src/library/graphics'
make[3]: Leaving directory `/root/R-3.2.3/src/library/graphics'
make[3]: Entering directory `/root/R-3.2.3/src/library/stats'
building package 'stats'
make[4]: Entering directory `/root/R-3.2.3/src/library/stats'
all.R is unchanged
make[4]: Leaving directory `/root/R-3.2.3/src/library/stats'
make[4]: Entering directory `/root/R-3.2.3/src/library/stats'
make[5]: Entering directory `/root/R-3.2.3/src/library/stats/src'
make[6]: Entering directory `/root/R-3.2.3/src/library/stats/src'
../../../../library/stats/libs/stats.so is unchanged
make[6]: Leaving directory `/root/R-3.2.3/src/library/stats/src'
make[5]: Leaving directory `/root/R-3.2.3/src/library/stats/src'
make[4]: Leaving directory `/root/R-3.2.3/src/library/stats'
make[4]: Entering directory `/root/R-3.2.3/src/library/stats'
make[4]: Nothing to be done for `mklazycomp'.
make[4]: Leaving directory `/root/R-3.2.3/src/library/stats'
make[3]: Leaving directory `/root/R-3.2.3/src/library/stats'
make[3]: Entering directory `/root/R-3.2.3/src/library/datasets'
building package 'datasets'
make[4]: Entering directory `/root/R-3.2.3/src/library/datasets'
make[4]: Leaving directory `/root/R-3.2.3/src/library/datasets'
make[3]: Leaving directory `/root/R-3.2.3/src/library/datasets'
make[3]: Entering directory `/root/R-3.2.3/src/library/methods'
building package 'methods'
make[4]: Entering directory `/root/R-3.2.3/src/library/methods'
all.R is unchanged
make[4]: Leaving directory `/root/R-3.2.3/src/library/methods'
make[4]: Entering directory `/root/R-3.2.3/src/library/methods'
make[5]: Entering directory `/root/R-3.2.3/src/library/methods/src'
make[6]: Entering directory `/root/R-3.2.3/src/library/methods/src'
../../../../library/methods/libs/methods.so is unchanged
make[6]: Leaving directory `/root/R-3.2.3/src/library/methods/src'
make[5]: Leaving directory `/root/R-3.2.3/src/library/methods/src'
make[4]: Leaving directory `/root/R-3.2.3/src/library/methods'
make[4]: Entering directory `/root/R-3.2.3/src/library/methods'
make[4]: Nothing to be done for `RfilesLazy'.
make[4]: Leaving directory `/root/R-3.2.3/src/library/methods'
make[3]: Leaving directory `/root/R-3.2.3/src/library/methods'
make[3]: Entering directory `/root/R-3.2.3/src/library/grid'
building package 'grid'
make[4]: Entering directory `/root/R-3.2.3/src/library/grid'
all.R is unchanged
make[4]: Leaving directory `/root/R-3.2.3/src/library/grid'
make[4]: Entering directory `/root/R-3.2.3/src/library/grid'
make[5]: Entering directory `/root/R-3.2.3/src/library/grid/src'
make[6]: Entering directory `/root/R-3.2.3/src/library/grid/src'
../../../../library/grid/libs/grid.so is unchanged
make[6]: Leaving directory `/root/R-3.2.3/src/library/grid/src'
make[5]: Leaving directory `/root/R-3.2.3/src/library/grid/src'
make[4]: Leaving directory `/root/R-3.2.3/src/library/grid'
make[4]: Entering directory `/root/R-3.2.3/src/library/grid'
make[4]: Nothing to be done for `mklazycomp'.
make[4]: Leaving directory `/root/R-3.2.3/src/library/grid'
make[3]: Leaving directory `/root/R-3.2.3/src/library/grid'
make[3]: Entering directory `/root/R-3.2.3/src/library/splines'
building package 'splines'
make[4]: Entering directory `/root/R-3.2.3/src/library/splines'
all.R is unchanged
make[4]: Leaving directory `/root/R-3.2.3/src/library/splines'
make[4]: Entering directory `/root/R-3.2.3/src/library/splines'
make[5]: Entering directory `/root/R-3.2.3/src/library/splines/src'
make[6]: Entering directory `/root/R-3.2.3/src/library/splines/src'
../../../../library/splines/libs/splines.so is unchanged
make[6]: Leaving directory `/root/R-3.2.3/src/library/splines/src'
make[5]: Leaving directory `/root/R-3.2.3/src/library/splines/src'
make[4]: Leaving directory `/root/R-3.2.3/src/library/splines'
make[4]: Entering directory `/root/R-3.2.3/src/library/splines'
make[4]: Nothing to be done for `mklazycomp'.
make[4]: Leaving directory `/root/R-3.2.3/src/library/splines'
make[3]: Leaving directory `/root/R-3.2.3/src/library/splines'
make[3]: Entering directory `/root/R-3.2.3/src/library/stats4'
building package 'stats4'
make[4]: Entering directory `/root/R-3.2.3/src/library/stats4'
all.R is unchanged
make[4]: Leaving directory `/root/R-3.2.3/src/library/stats4'
make[4]: Entering directory `/root/R-3.2.3/src/library/stats4'
make[4]: Nothing to be done for `mklazycomp'.
make[4]: Leaving directory `/root/R-3.2.3/src/library/stats4'
make[3]: Leaving directory `/root/R-3.2.3/src/library/stats4'
make[3]: Entering directory `/root/R-3.2.3/src/library/tcltk'
building package 'tcltk'
../../../library/tcltk/R/tcltk is unchanged
make[4]: Entering directory `/root/R-3.2.3/src/library/tcltk'
make[4]: Leaving directory `/root/R-3.2.3/src/library/tcltk'
make[3]: Leaving directory `/root/R-3.2.3/src/library/tcltk'
make[3]: Entering directory `/root/R-3.2.3/src/library/parallel'
building package 'parallel'
make[4]: Entering directory `/root/R-3.2.3/src/library/parallel'
all.R is unchanged
make[4]: Leaving directory `/root/R-3.2.3/src/library/parallel'
make[4]: Entering directory `/root/R-3.2.3/src/library/parallel'
make[5]: Entering directory `/root/R-3.2.3/src/library/parallel/src'
make[6]: Entering directory `/root/R-3.2.3/src/library/parallel/src'
../../../../library/parallel/libs/parallel.so is unchanged
make[6]: Leaving directory `/root/R-3.2.3/src/library/parallel/src'
make[5]: Leaving directory `/root/R-3.2.3/src/library/parallel/src'
make[4]: Leaving directory `/root/R-3.2.3/src/library/parallel'
make[4]: Entering directory `/root/R-3.2.3/src/library/parallel'
make[4]: Nothing to be done for `mklazycomp'.
make[4]: Leaving directory `/root/R-3.2.3/src/library/parallel'
make[3]: Leaving directory `/root/R-3.2.3/src/library/parallel'
make[3]: Entering directory `/root/R-3.2.3/src/library/base'
make[3]: Leaving directory `/root/R-3.2.3/src/library/base'
installing parsed NAMESPACE files
make[2]: Leaving directory `/root/R-3.2.3/src/library'
make[1]: Leaving directory `/root/R-3.2.3/src'
make[1]: Entering directory `/root/R-3.2.3/tests'
make[1]: Nothing to be done for `R'.
make[1]: Leaving directory `/root/R-3.2.3/tests'
make[1]: Entering directory `/root/R-3.2.3/doc'
'pdflatex' is needed to make NEWS.pdf but is missing on your system.
make[2]: Entering directory `/root/R-3.2.3/doc/manual'
'texi2any' v5.1 or later needed to make HTML docs but missing on your system.
file R-FAQ.html will be missing and linked from CRAN
creating doc/manual/version.texi
'texi2any' v5.1 or later needed to make HTML docs but missing on your system.
file R-admin.html will be missing and linked from CRAN
'texi2any' v5.1 or later needed to make HTML docs but missing on your system.
file R-data.html will be missing and linked from CRAN
'texi2any' v5.1 or later needed to make HTML docs but missing on your system.
file R-exts.html will be missing and linked from CRAN
'texi2any' v5.1 or later needed to make HTML docs but missing on your system.
file R-intro.html will be missing and linked from CRAN
'texi2any' v5.1 or later needed to make HTML docs but missing on your system.
file R-ints.html will be missing and linked from CRAN
'texi2any' v5.1 or later needed to make HTML docs but missing on your system.
file R-lang.html will be missing and linked from CRAN
make[3]: Entering directory `/root/R-3.2.3/doc/html'
make[3]: Leaving directory `/root/R-3.2.3/doc/html'
make[2]: Leaving directory `/root/R-3.2.3/doc/manual'
make[1]: Leaving directory `/root/R-3.2.3/doc'
make[1]: Entering directory `/root/R-3.2.3/src/library'
make[2]: Entering directory `/root/R-3.2.3/src/library'
installing parsed Rd
make[3]: Entering directory `/root/R-3.2.3/src/library'
  base
  stats
  utils
  methods
  graphics
  grDevices
  datasets
  grid
  tools
  tcltk
  splines
  stats4
  compiler
  parallel
make[3]: Leaving directory `/root/R-3.2.3/src/library'
make[2]: Leaving directory `/root/R-3.2.3/src/library'
make[2]: Entering directory `/root/R-3.2.3/src/library'
building/updating package metadata ...
make[2]: Leaving directory `/root/R-3.2.3/src/library'
make[2]: Entering directory `/root/R-3.2.3/src/library'
writing package indices
make[3]: Entering directory `/root/R-3.2.3/src/library'
make[3]: Leaving directory `/root/R-3.2.3/src/library'
make[2]: Leaving directory `/root/R-3.2.3/src/library'
make[1]: Leaving directory `/root/R-3.2.3/src/library'
make[1]: Entering directory `/root/R-3.2.3/src/library/Recommended'
make[2]: Entering directory `/root/R-3.2.3/src/library/Recommended'
make[2]: `stamp-recommended' is up to date.
make[2]: Leaving directory `/root/R-3.2.3/src/library/Recommended'
make[1]: Leaving directory `/root/R-3.2.3/src/library/Recommended'
make[1]: Entering directory `/root/R-3.2.3/src/library'
'pdflatex' is needed to make vignettes but is missing on your system.
make[1]: Leaving directory `/root/R-3.2.3/src/library'
make[1]: Entering directory `/root/R-3.2.3'
configuring Java ...
Java interpreter : /usr/bin/java
Java version     : 1.8.0_65
Java home path   : /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/jre
Java compiler    : /usr/bin/javac
Java headers gen.: /usr/bin/javah
Java archive tool: /usr/bin/jar

trying to compile and link a JNI program
detected JNI cpp flags    : -I$(JAVA_HOME)/../include -I$(JAVA_HOME)/../include/linux
detected JNI linker flags : -L$(JAVA_HOME)/lib/amd64/server -ljvm
make[2]: Entering directory `/tmp/Rjavareconf.W2Gi6m'
ux -I/usr/local/include    -fpic  -g -O2  -c conftest.c -o conftest.o
gcc -std=gnu99 -shared -L/usr/local/lib64 -o conftest.so conftest.o -L/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/jre/lib/amd64/server -ljvm
make[2]: Leaving directory `/tmp/Rjavareconf.W2Gi6m'


JAVA_HOME        : /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/jre
Java library path: $(JAVA_HOME)/lib/amd64/server
JNI cpp flags    : -I$(JAVA_HOME)/../include -I$(JAVA_HOME)/../include/linux
JNI linker flags : -L$(JAVA_HOME)/lib/amd64/server -ljvm
Updating Java configuration in /root/R-3.2.3
Done.

make[1]: Leaving directory `/root/R-3.2.3'
[root@localhost R-3.2.3]# make install
mkdir -p -- /usr/local/lib64/R
make[1]: Entering directory `/root/R-3.2.3/m4'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/root/R-3.2.3/m4'
make[1]: Entering directory `/root/R-3.2.3/tools'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/root/R-3.2.3/tools'
make[1]: Entering directory `/root/R-3.2.3/doc'
installing doc ...
mkdir -p -- /usr/local/lib64/R/doc
make[2]: Entering directory `/root/R-3.2.3/doc/html'
installing doc/html ...
mkdir -p -- /usr/local/lib64/R/doc/html
make[2]: Leaving directory `/root/R-3.2.3/doc/html'
make[2]: Entering directory `/root/R-3.2.3/doc/manual'
installing doc/manual ...
mkdir -p -- /usr/local/lib64/R/doc/manual
mkdir -p -- /usr/local/lib64/R/doc/manual/images
make[2]: Leaving directory `/root/R-3.2.3/doc/manual'
make[1]: Leaving directory `/root/R-3.2.3/doc'
make[1]: Entering directory `/root/R-3.2.3/etc'
mkdir -p -- /usr/local/lib64/R/etc
installing etc ...
make[1]: Leaving directory `/root/R-3.2.3/etc'
make[1]: Entering directory `/root/R-3.2.3/share'
installing share ...
mkdir -p -- /usr/local/lib64/R/share
mkdir -p -- /usr/local/lib64/R/share/R
mkdir -p -- /usr/local/lib64/R/share/dictionaries
mkdir -p -- /usr/local/lib64/R/share/encodings
mkdir -p -- /usr/local/lib64/R/share/java
mkdir -p -- /usr/local/lib64/R/share/licenses
mkdir -p -- /usr/local/lib64/R/share/make
mkdir -p -- /usr/local/lib64/R/share/Rd
mkdir -p -- /usr/local/lib64/R/share/Rd/macros
mkdir -p -- /usr/local/lib64/R/share/sh
mkdir -p -- /usr/local/lib64/R/share/texmf
mkdir -p -- /usr/local/lib64/R/share/texmf/bibtex/bib
mkdir -p -- /usr/local/lib64/R/share/texmf/bibtex/bst
mkdir -p -- /usr/local/lib64/R/share/texmf/tex/latex
make[1]: Leaving directory `/root/R-3.2.3/share'
make[1]: Entering directory `/root/R-3.2.3/src'
make[2]: Entering directory `/root/R-3.2.3/src/scripts'
mkdir -p -- /usr/local/lib64/R/bin
make[2]: Leaving directory `/root/R-3.2.3/src/scripts'
make[2]: Entering directory `/root/R-3.2.3/src/include'
mkdir -p -- /usr/local/lib64/R/include
make[3]: Entering directory `/root/R-3.2.3/src/include/R_ext'
mkdir -p -- /usr/local/lib64/R/include/R_ext
make[3]: Leaving directory `/root/R-3.2.3/src/include/R_ext'
make[2]: Leaving directory `/root/R-3.2.3/src/include'
make[2]: Entering directory `/root/R-3.2.3/src/extra'
make[3]: Entering directory `/root/R-3.2.3/src/extra/blas'
mkdir -p -- /usr/local/lib64/R/lib
make[3]: Leaving directory `/root/R-3.2.3/src/extra/blas'
make[3]: Entering directory `/root/R-3.2.3/src/extra/bzip2'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/root/R-3.2.3/src/extra/bzip2'
make[3]: Entering directory `/root/R-3.2.3/src/extra/pcre'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/root/R-3.2.3/src/extra/pcre'
make[3]: Entering directory `/root/R-3.2.3/src/extra/tre'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/root/R-3.2.3/src/extra/tre'
make[3]: Entering directory `/root/R-3.2.3/src/extra/xdr'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/root/R-3.2.3/src/extra/xdr'
make[3]: Entering directory `/root/R-3.2.3/src/extra/xz'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/root/R-3.2.3/src/extra/xz'
make[3]: Entering directory `/root/R-3.2.3/src/extra/zlib'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/root/R-3.2.3/src/extra/zlib'
make[3]: Entering directory `/root/R-3.2.3/src/extra/intl'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/root/R-3.2.3/src/extra/intl'
make[2]: Leaving directory `/root/R-3.2.3/src/extra'
make[2]: Entering directory `/root/R-3.2.3/src/appl'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/root/R-3.2.3/src/appl'
make[2]: Entering directory `/root/R-3.2.3/src/nmath'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/root/R-3.2.3/src/nmath'
make[2]: Entering directory `/root/R-3.2.3/src/unix'
gcc -std=gnu99 -I. -I../../src/include -I../../src/include  -I/usr/local/include -DHAVE_CONFIG_H    -g -O2  -L/usr/local/lib64 -DR_HOME='"/usr/local/lib64/R"' \
  -o Rscript ./Rscript.c
make[2]: Leaving directory `/root/R-3.2.3/src/unix'
make[2]: Entering directory `/root/R-3.2.3/src/main'
mkdir -p -- /usr/local/lib64/R/bin/exec
make[3]: Entering directory `/root/R-3.2.3/src/main'
make[3]: Leaving directory `/root/R-3.2.3/src/main'
make[2]: Leaving directory `/root/R-3.2.3/src/main'
make[2]: Entering directory `/root/R-3.2.3/src/modules'
make[3]: Entering directory `/root/R-3.2.3/src/modules/internet'
mkdir -p -- /usr/local/lib64/R/modules
make[3]: Leaving directory `/root/R-3.2.3/src/modules/internet'
make[3]: Entering directory `/root/R-3.2.3/src/modules/lapack'
make[3]: Leaving directory `/root/R-3.2.3/src/modules/lapack'
make[3]: Entering directory `/root/R-3.2.3/src/modules/X11'
make[3]: Leaving directory `/root/R-3.2.3/src/modules/X11'
make[2]: Leaving directory `/root/R-3.2.3/src/modules'
make[2]: Entering directory `/root/R-3.2.3/src/library'
mkdir -p -- /usr/local/lib64/R/library
installing packages ...
  building HTML index ...
make[2]: Leaving directory `/root/R-3.2.3/src/library'
make[1]: Leaving directory `/root/R-3.2.3/src'
make[1]: Entering directory `/root/R-3.2.3/tests'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/root/R-3.2.3/tests'
[root@localhost R-3.2.3]# R

R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree"
Copyright (C) 2015 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.

> 6+9
[1] 15
mac编译apache时出现 checking whether the C compiler works... no 的解决办法 在MAC下编译apache时执行 ./configure 出现如下错误。 checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain/usr/bin/cc checking whether the C compiler works... no configure 阅读详情

相关推荐

代码复现:遥感旋转目标检测(可训练自己的数据集)

follow了上交博士大佬yangxue的两个方法,这篇仅记录复现过程中碰到的问题,具体论文的介绍就不写了,大佬自己的知乎已经写得非常详细了。 SCRDet:https://zhuanlan.zhihu.com/p/107400817 CSL:https://zhuanlan.zhihu.com/p/111493759 复现的第一个方法:https://github.com/DetectionTeamUCAS/R2CNN-Plus-Plus_Tensorflow 在Ubuntu16.04下 1、

hesongzefairy的博客 4784

NetCDF安装checking whether the C compiler works... no

安装又出问题了。。configuration时候出现checking whether the C compiler works... no 排查:1.g++,apt-get install g++,已安装;                 2.看config.log文件,没看懂;

zdw_zoro的博客 2万+

Linux中的realpath命令:深入解析与实用指南

是Linux中一个非常有用的命令,它可以帮助我们快速、准确地获取文件或目录的绝对路径。在Linux操作系统中,路径处理是文件操作和系统管理的核心部分。当我们需要在脚本或命令行中引用文件或目录时,了解文件或目录的确切位置至关重要。它接受一个或多个文件或目录的路径作为输入,并返回这些文件或目录的绝对路径。命令就是Linux中一款功能强大的工具,它能帮助我们快速获取文件或目录的绝对路径。命令的工作原理、主要特点、使用示例,以及在实际应用中的注意事项和最佳实践。),确保返回的路径是最短且唯一的。

听风的鱼鱼儿 2920

【Msys2+GCC编译时出现的几个错误的解决】

Msys2+GCC编译时出现的几个错误的解决

klima的博客 3148

CentOS 部署 Ollama 运行 DeepSeek-R1:7B 完整实战教程(含避指南+离线方案)

CentOS服务器部署Ollama流程图+DeepSeek-R1:7B模型标识,背景为服务器命令行界面,突出“私有化部署”“极简操作”“全程可复制”核心亮点,适配CSDN技术教程封面尺寸。

weixin_43645007的博客 752

CentOS 7安装R语言

获取下载地址(R语言官网给的所有镜像链接:https://cran.r-project.org/mirrors.html) 清华的R语言镜像链接:https://mirrors.tuna.tsinghua.edu.cn/CRAN/ 进入上边清华的链接,点击R-3.5.2.tar.gz进行下载,我的方法依旧是,在Windows上下好,通过Xshell传到CentOS 7里边。 然后就是解压,这...

冯卿的博客 6032

Centos7.6&7.9安装R语言

离线编译安装R语言centos7.9 centos7.6 R4.1.0

dltan 4220

CENTOS7安装ANSYS21R1

Ansys Linux安装

Yan的博客 5112

CentOS7安装R语言环境

本文介绍在centos7下通过epel-release源安装R语言,此方法简单粗暴,类似于Ubuntu下的sudo apt-get install r-base,值得拥有,具体步骤如下:1. 安装epel-release,执行命令sudo yum install -y epel-release注意:(1).如果centos下存在多个python版本,此时yum报错:no module named ...

qq_39673202的博客 1250

CentOS 7 安装 MATLAB R2023b

在老掉牙的 CentOS 7安装 Linux 版本 MATLAB 实战

chhymdg的博客 1922

Centos7 安装R语言安装R包

为什么要记录这个呢??因为这个是个狗血的历程!!! 1.环境 安装 1.先执行命令安装EPEL仓库 yum install epel-release 2.然后再执行 yum install R 有提示就按 y键即可 安装完成输入R 提示如下就说明安装成功了! 2.安装需要的R 包 1.install.packages("rms") 会弹出这个页面让你选择下载源地址 输入20 选择China(Guangzhou)即可 然后就开始下载 他会下载很多相关依...

qq_45322084的博客 9753

centos7 r语言安装_centOS7安装R

安装时发现一般教程中说的 yum install R 这个命令不管用了啊,然后去官网了解了一波 ,发现官网上表示R语言已经属于EPEL仓库管理了。1.安装EPEL仓库yum install epel-release随后报错:这是由于centOS7自带的Python版本为2.7,因此要将该文件的Python头信息修改为Python2.72.安装Ryum install R出现报错信息:Runnin...

weixin_39606177的博客 475

R第1节:初识R语言、windows安装R、Linux(centos安装R及常见错误处理

目录 R的介绍 R语言的特点 R的强大功能 R语言的缺点 R的下载与安装 windows下下载R windows下安装R Linux(Centos)安装R 第一步:安装epel-release 第二步:修改源配置文件 第三步:安装R 第四步:启动R(直接输入R),测试 R的介绍 R语言的特点 1、有效的数据处理和保存机制。 2、拥有一整套数组和矩阵的操作运算符。 3、...

Jalen big data analysis的博客 1456

Dell R740安装CentOS

Dell R740安装CentOS

Z-NOTE 1万+

CentOS7 配置R语言及Rstudio-serve

今天找了个导师给了一个CentOS7的服务器,打算安装上R语言的环境,用来跑R脚本,但是由于没有学习和尝试过,所以特此记录一下安装过程,为以后安装提供一些思路 参考一些人的方法后,发现使用rpm包管理器安装的R语言的版本只有3.6,这就可能导致后面很多的包安装不上,所以果断更改方法 , 安装4.1版本的R语言. 1.下载R包 清华下载源 : The Comprehensive R Archive Network (tsinghua.edu.cn) 右键点击复制连接得到到下载地址如下所示 https:

我们会很适合 慢慢来 总会遇见你的 1532

centos7 r语言安装_R 和 RStudio 的安装及 R Profile 的配置 & 初识 R 语言数据爬取...

❝本文更新至 R version 4.0.0 (2020-04-24)❞R 和 RStudio 的安装是非常简单的,这里提供一些安装 Tips。在文章的最后我还通过一个案例带大家走进奇幻的 R 世界。视频讲解这个视频讲解比较老了,但是还是有一定的参考学习价值的:安装 R❝下载页面:https://mirrors.tuna.tsinghua.edu.cn/CRAN/❞我安装的 R 语言...

weixin_39680678的博客 703

centos7安装R

Centos7安装R的方法总结 在Centos安装R的时候,遇到了许多问题,进过多次的安装,卸载,再安装的过程。对Centos安装R进行了总结;方法主要主要有两类: 方法(1)推荐方法: 采用epel-realse源安装R语言, 类似于ubuntu下的sudo apt-get install r-base, 步骤1:yum install -y epel-release 步骤2

MATH_ADD_CODE 759

centos7系统中安装 HDF5R 包

CENTOS 7 R 中安装 HDF5R 包 在安装 hdf5r 包的时候,提示需要 hdf5-devel >= 1.8.13,而目前CentOS 7 中 yum 只能安裝1.8.12版本,所以只能手动安装高版本的hdf5. 卸载yum安装旧版本后,从官网下载 hdf5-1.10.5安装 wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.5/src/hdf5-1.10.5.tar.gz tar xvf hdf

qq_36608036的博客 4742

戴尔服务器R200安装 centos7(U盘安装

戴尔服务器(主机)安装centos7 前言 原本是要安装centos 8,但是centos8 在2021年正式停止维护,CentoS 7 将继续在 RHEL 7 生命周期内 (2024 年底)继续得到支持。为求稳定所以选择了centos 7。 拓展: 1、CentOS 项目历史 CentOS 项目开始于 2004 年 5 月,称为 CentOS 2,它是从 RHEL 2.1AS(高级服务器)派生而来的。在 Linux 爱好者,网络托管公司,开发人员和 HPC 社区中,它立即受到热烈欢迎。CentOS

qq_23077579的博客 6320
下一篇: LVS DR/NAT/FULLNAT/TUNNEL模式介绍
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值