Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure: error: PCRE2 library and headers are required, or use --with-pcre1 and PCRE >= 8.32 with UTF-8 support #144

Closed
englianhu opened this issue Aug 23, 2022 · 5 comments

Comments

@englianhu
Copy link

englianhu commented Aug 23, 2022

englianhu@Scibrokes:~$ neofetch
        #####           englianhu@Scibrokes 
       #######          ------------------- 
       ##O#O##          OS: RedFlag Desktop 11.0 x86_64 
       #######          Host: 23-p080d 
     ###########        Kernel: 5.10.0-1-amd64 
    #############       Uptime: 16 hours, 46 mins 
   ###############      Packages: 2553 (dpkg), 3 (snap) 
   ################     Shell: bash 5.0.3 
  #################     Resolution: 1920x1080 
#####################   DE: KDE 
#####################   WM: KWin 
  #################     Theme: RedFlag Dark [KDE], Breeze [GTK3] 
                        Icons: RedFlag-ND-72th-Anniversary [KDE], breeze [GTK3] 
                        Terminal: konsole 
                        CPU: Intel i5-4590T (4) @ 3.000GHz 
                        GPU: NVIDIA GeForce 710M 
                        GPU: Intel HD Graphics 
                        Memory: 7208MiB / 15901MiB
sudo apt install gfortran -y
sudo apt install build-essential -y
sudo apt install libreadline6* libreadline6-dev -y
sudo apt install *bzip2* -y
sudo apt install *liblzma* -y
sudo apt install *pcre1* -y
sudo apt install *pcre2-32* -y
sudo apt install xorg-dev -y
sudo apt build-dep r-base -y
export R_VERSION=4.2.1
curl -O https://cran.rstudio.com/src/base/R-4/R-${R_VERSION}.tar.gz
sudo tar -C /usr/lib -xzvf R-${R_VERSION}.tar.gz
sudo rm -rf R-${R_VERSION}.tar.gz
sudo mv /usr/lib/R-${R_VERSION}/ /usr/lib/R
sudo chmod 777 -R /usr/lib/R
cd /usr/lib/R
#tar -xzvf R-${R_VERSION}.tar.gz
#cd R-${R_VERSION}

./configure \
    --prefix=/usr/lib/R \
    --enable-memory-profiling \
    --enable-R-shlib \
    --with-pcre2 \
    --with-blas \
    --with-lapack \
    --with-readline=yes

sudo make
sudo make install

/usr/lib/R/bin/R --version

#sudo ln -s /usr/lib/R/${R_VERSION}/bin/R /usr/local/bin/R
#sudo ln -s /usr/lib/R/${R_VERSION}/bin/Rscript /usr/local/bin/Rscript

scibrokes/owner#4 (comment)

englianhu@Scibrokes:/usr/lib/R$ ./configure     --prefix=/usr/lib/R    --enable-memory-profiling     --enable-R-shlib     --with-pcre2     --with-blas     --with-lapack     --with-readline=yes 
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/lib/pwd
checking whether builddir is srcdir... yes
checking whether ln -s works... yes
checking for ar... ar
checking for a BSD-compatible install... /usr/lib/install -c
checking for sed... /usr/lib/sed
checking for which... /usr/lib/which
checking for less... /usr/lib/less
checking for gtar... no
checking for gnutar... no
checking for tar... /usr/lib/tar
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/lib/unzip
checking for zip... /usr/lib/zip
checking for gzip... /usr/lib/gzip
checking for bzip2... /usr/lib/bzip2
checking for firefox... no
checking for mozilla... no
checking for galeon... no
checking for opera... no
checking for xdg-open... /usr/lib/xdg-open
using default browser ... /usr/lib/xdg-open
checking for acroread... no
checking for acroread4... no
checking for xdg-open... /usr/lib/xdg-open
checking for working aclocal... missing
checking for working autoconf... missing
checking for working autoheader... missing
checking for bison... no
checking for byacc... no
checking for yacc... no
checking for notangle... false
checking for realpath... /usr/lib/realpath
checking for pkg-config... /usr/lib/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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/lib/grep
checking for egrep... /usr/lib/grep -E
checking whether gcc needs -traditional... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for sys/time.h... yes
checking for sys/param.h... yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking how to run the C preprocessor... gcc -E
looking for a modern Fortran compiler
checking for gfortran... gfortran
checking whether the compiler supports GNU Fortran... yes
checking whether gfortran accepts -g... yes
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether g++ -g -O2 can compile C++ code... 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 g++ accepts -fvisibility... yes
checking whether gfortran accepts -fvisibility... yes
checking for gcc... gcc
checking whether the compiler supports GNU Objective C... no
checking whether gcc accepts -g... no
checking whether g++ can compile ObjC++... no
checking whether  can compile ObjC++... no
checking for Objective C++ compiler... no working ObjC++ compiler found
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/lib/sed
checking for fgrep... /usr/lib/grep -F
checking for ld used by gcc... /usr/lib/ld
checking if the linker (/usr/lib/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/lib/nm -B
checking the name lister (/usr/lib/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/lib/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... mawk
checking command to parse /usr/lib/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/lib/dd
checking how to truncate binary pipes... /usr/lib/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... 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... yes
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/lib/ld -m elf_x86_64) 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 how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/lib/ld -m elf_x86_64
checking if the linker (/usr/lib/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/lib/ld -m elf_x86_64) 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... yes
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/lib/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) 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... yes
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/lib/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) 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 for readline/history.h... yes
checking for readline/readline.h... yes
checking for rl_callback_read_char in -lreadline... yes
checking for history_truncate_file... yes
checking for tilde_expand_word... yes
checking whether rl_completion_matches exists and is declared... yes
checking whether rl_resize_terminal exists and is declared... yes
checking whether rl_sort_completion_matches exists and is declared... 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 for dlfcn.h... (cached) yes
checking for fcntl.h... yes
checking for glob.h... yes
checking for grp.h... yes
checking for pwd.h... yes
checking for sched.h... yes
checking for strings.h... (cached) yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/times.h... yes
checking for sys/utsname.h... yes
checking for unistd.h... (cached) yes
checking for utime.h... yes
checking for arpa/inet.h... yes
checking for elf.h... yes
checking for features.h... yes
checking for floatingpoint.h... no
checking for langinfo.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for sys/param.h... (cached) yes
checking for stdalign.h... yes
checking for errno.h... yes
checking for inttypes.h... (cached) yes
checking for limits.h... yes
checking for locale.h... yes
checking for stdarg.h... yes
checking for stdbool.h... yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for gcc options needed to detect all undeclared functions... none needed
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 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 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 for C stack direction... down
checking size of long double... 16
checking whether we can compute C Make dependencies... yes, using $(CC) -MM
checking whether gcc supports -c -o FILE.lo... yes
checking for gcc option to support OpenMP... -fopenmp
checking how to get verbose linking output from gfortran... -v
checking for Fortran libraries of gfortran...  -L/usr/local/lib64 -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. -lgfortran -lm -lquadmath
checking how to get verbose linking output from gcc... -v
checking for C libraries of gcc...  -L/usr/local/lib64 -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. -lgcc_s
checking for dummy main to link with Fortran libraries... none
checking for Fortran 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 agree on int and double... yes
checking whether gfortran and gcc agree on double complex... yes
checking for gfortran option to support OpenMP... -fopenmp
checking whether g++ accepts -M for generating dependencies... yes
checking whether we can compute ObjC Make dependencies... no
checking if need -fno-optimize-sibling-calls for gfortran... yes
checking for type of 'hidden' Fortran character lengths... size_t
checking for xmkmf... no
checking whether g++  supports C++11 features with -std=gnu++11... yes
checking whether g++  supports C++14 features with -std=gnu++14... yes
checking whether g++  supports C++17 features with -std=gnu++17... yes
checking whether g++  supports C++20 features with -std=gnu++20... no
checking whether g++  supports C++20 features with -std=gnu++2a... yes
checking for g++ -std=gnu++14 option to support OpenMP... -fopenmp
checking for option providing pthread_kill... none required
checking whether POSIX threads are supported... 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 rintl exists and is declared... yes
checking whether va_copy exists and is declared... yes
checking for isblank... yes
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 __cospi... no
checking for __sinpi... no
checking for __tanpi... no
checking for fseeko... yes
checking for ftello... yes
checking for matherr... no
checking whether fcntl exists and is declared... yes
checking whether getgrgid exists and is declared... yes
checking whether getpwnam 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 getline exists and is declared... yes
checking whether select 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 setrlimit 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 whether utimensat 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 dladdr... yes
checking for dlsym... yes
checking whether dladdr is declared... yes
checking whether dlsym is declared... yes
checking whether RTLD_DEFAULT is declared... yes
checking whether RTLD_NEXT is declared... yes
checking for thread.h... no
checking whether thr_stksegment exists and is declared... no
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 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 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 for working ctanh... yes
checking whether 'struct tm' includes tm_zone... yes
checking whether 'struct tm' includes tm_gmtoff... yes
configure: searching for an external BLAS
configure: searching for BLAS in default libraries
checking for dgemm_... no
configure: searching for OpenBLAS
checking for sgemm_ in -lopenblas... no
configure: searching for BLIS
checking for sgemm_ in -lblis... no
configure: searching for ATLAS
checking for ATL_xerbla in -latlas... no
configure: searching for PhiPACK
checking for dgemm_ in -lblas... no
configure: searching for IBM ESSL
checking for dgemm_ in -lblas... (cached) no
configure: searching for generic BLAS library
checking for dgemm_ in -lblas... (cached) no
configure: cannot use --with-lapack without --with-blas
checking for iconv.h... yes
checking for iconv... yes
checking whether iconv accepts "UTF-8", "latin1", "ASCII" and "UCS-*"... yes
checking whether iconv accepts "CP1252"... yes
checking for iconvlist... no
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for wchar.h... (cached) 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 wctype exists and is declared... yes
checking whether iswctype exists and is declared... yes
checking whether wcwidth exists and is declared... yes
checking whether wcswidth 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 for X11/Intrinsic.h... yes
checking for XtToolkitInitialize in -lXt... yes
using X11 ... yes
checking for KeySym... yes
checking for X11/Xmu/Atoms.h... yes
checking for XmuInternAtom in -lXmu... yes
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 for rpc/types.h... yes
checking for rpc/xdr.h... yes
checking for XDR support... yes
checking for inflateInit2_ in -lz... yes
checking for zlib.h... yes
checking if zlib version >= 1.2.5... yes
checking whether zlib support suffices... yes
checking for BZ2_bzlibVersion in -lbz2... yes
checking for bzlib.h... yes
checking if bzip2 version >= 1.0.6... yes
checking whether bzip2 support suffices... yes
checking for lzma_version_number in -llzma... yes
checking for lzma.h... yes
checking if lzma version >= 5.0.3... yes
checking for pcre2-config... no
checking whether PCRE support suffices... no
configure: error: PCRE2 library and headers are required, or use --with-pcre1 and PCRE >= 8.32 with UTF-8 support
@englianhu
Copy link
Author

englianhu commented Aug 23, 2022

wget https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.40/pcre2-10.40.tar.bz2
sudo tar -C /usr/lib -xjvf pcre2-10.40.tar.bz2
sudo rm -rf pcre2-10.40.tar.bz2
sudo mv /usr/lib/pcre2-10.40/ /usr/lib/pcre2
sudo chmod 777 -R /usr/lib/pcre2
cd /usr/lib/pcre2/
sudo ./configure
sudo make
sudo make install
cd ~

此处 https://github.com/PCRE2Project/pcre2/releases 可查询最新版本pre2软件程序包~

@englianhu
Copy link
Author

englianhu commented Aug 23, 2022

englianhu@Scibrokes:/usr/lib/R$ ./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/lib/pwd
checking whether builddir is srcdir... yes
checking whether ln -s works... yes
checking for ar... ar
checking for a BSD-compatible install... /usr/lib/install -c
checking for sed... /usr/lib/sed
checking for which... /usr/lib/which
checking for less... /usr/lib/less
checking for gtar... no
checking for gnutar... no
checking for tar... /usr/lib/tar
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/lib/unzip
checking for zip... /usr/lib/zip
checking for gzip... /usr/lib/gzip
checking for bzip2... /usr/lib/bzip2
checking for firefox... no
checking for mozilla... no
checking for galeon... no
checking for opera... no
checking for xdg-open... /usr/lib/xdg-open
using default browser ... /usr/lib/xdg-open
checking for acroread... no
checking for acroread4... no
checking for xdg-open... /usr/lib/xdg-open
checking for working aclocal... missing
checking for working autoconf... missing
checking for working autoheader... missing
checking for bison... no
checking for byacc... no
checking for yacc... no
checking for notangle... false
checking for realpath... /usr/lib/realpath
checking for pkg-config... /usr/lib/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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/lib/grep
checking for egrep... /usr/lib/grep -E
checking whether gcc needs -traditional... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for sys/time.h... yes
checking for sys/param.h... yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking how to run the C preprocessor... gcc -E
looking for a modern Fortran compiler
checking for gfortran... gfortran
checking whether the compiler supports GNU Fortran... yes
checking whether gfortran accepts -g... yes
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether g++ -g -O2 can compile C++ code... 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 g++ accepts -fvisibility... yes
checking whether gfortran accepts -fvisibility... yes
checking for gcc... gcc
checking whether the compiler supports GNU Objective C... no
checking whether gcc accepts -g... no
checking whether g++ can compile ObjC++... no
checking whether  can compile ObjC++... no
checking for Objective C++ compiler... no working ObjC++ compiler found
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/lib/sed
checking for fgrep... /usr/lib/grep -F
checking for ld used by gcc... /usr/lib/ld
checking if the linker (/usr/lib/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/lib/nm -B
checking the name lister (/usr/lib/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/lib/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... mawk
checking command to parse /usr/lib/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/lib/dd
checking how to truncate binary pipes... /usr/lib/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... 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... yes
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/lib/ld -m elf_x86_64) 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 how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/lib/ld -m elf_x86_64
checking if the linker (/usr/lib/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/lib/ld -m elf_x86_64) 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... yes
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/lib/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) 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... yes
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/lib/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) 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 for readline/history.h... yes
checking for readline/readline.h... yes
checking for rl_callback_read_char in -lreadline... yes
checking for history_truncate_file... yes
checking for tilde_expand_word... yes
checking whether rl_completion_matches exists and is declared... yes
checking whether rl_resize_terminal exists and is declared... yes
checking whether rl_sort_completion_matches exists and is declared... 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 for dlfcn.h... (cached) yes
checking for fcntl.h... yes
checking for glob.h... yes
checking for grp.h... yes
checking for pwd.h... yes
checking for sched.h... yes
checking for strings.h... (cached) yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/times.h... yes
checking for sys/utsname.h... yes
checking for unistd.h... (cached) yes
checking for utime.h... yes
checking for arpa/inet.h... yes
checking for elf.h... yes
checking for features.h... yes
checking for floatingpoint.h... no
checking for langinfo.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for sys/param.h... (cached) yes
checking for stdalign.h... yes
checking for errno.h... yes
checking for inttypes.h... (cached) yes
checking for limits.h... yes
checking for locale.h... yes
checking for stdarg.h... yes
checking for stdbool.h... yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for gcc options needed to detect all undeclared functions... none needed
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 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 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 for C stack direction... down
checking size of long double... 16
checking whether we can compute C Make dependencies... yes, using $(CC) -MM
checking whether gcc supports -c -o FILE.lo... yes
checking for gcc option to support OpenMP... -fopenmp
checking how to get verbose linking output from gfortran... -v
checking for Fortran libraries of gfortran...  -L/usr/local/lib64 -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. -lgfortran -lm -lquadmath
checking how to get verbose linking output from gcc... -v
checking for C libraries of gcc...  -L/usr/local/lib64 -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. -lgcc_s
checking for dummy main to link with Fortran libraries... none
checking for Fortran 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 agree on int and double... yes
checking whether gfortran and gcc agree on double complex... yes
checking for gfortran option to support OpenMP... -fopenmp
checking whether g++ accepts -M for generating dependencies... yes
checking whether we can compute ObjC Make dependencies... no
checking if need -fno-optimize-sibling-calls for gfortran... yes
checking for type of 'hidden' Fortran character lengths... size_t
checking for xmkmf... no
checking whether g++  supports C++11 features with -std=gnu++11... yes
checking whether g++  supports C++14 features with -std=gnu++14... yes
checking whether g++  supports C++17 features with -std=gnu++17... yes
checking whether g++  supports C++20 features with -std=gnu++20... no
checking whether g++  supports C++20 features with -std=gnu++2a... yes
checking for g++ -std=gnu++14 option to support OpenMP... -fopenmp
checking for option providing pthread_kill... none required
checking whether POSIX threads are supported... 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 rintl exists and is declared... yes
checking whether va_copy exists and is declared... yes
checking for isblank... yes
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 __cospi... no
checking for __sinpi... no
checking for __tanpi... no
checking for fseeko... yes
checking for ftello... yes
checking for matherr... no
checking whether fcntl exists and is declared... yes
checking whether getgrgid exists and is declared... yes
checking whether getpwnam 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 getline exists and is declared... yes
checking whether select 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 setrlimit 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 whether utimensat 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 dladdr... yes
checking for dlsym... yes
checking whether dladdr is declared... yes
checking whether dlsym is declared... yes
checking whether RTLD_DEFAULT is declared... yes
checking whether RTLD_NEXT is declared... yes
checking for thread.h... no
checking whether thr_stksegment exists and is declared... no
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 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 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 for working ctanh... yes
checking whether 'struct tm' includes tm_zone... yes
checking whether 'struct tm' includes tm_gmtoff... yes
checking for iconv.h... yes
checking for iconv... yes
checking whether iconv accepts "UTF-8", "latin1", "ASCII" and "UCS-*"... yes
checking whether iconv accepts "CP1252"... yes
checking for iconvlist... no
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for wchar.h... (cached) 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 wctype exists and is declared... yes
checking whether iswctype exists and is declared... yes
checking whether wcwidth exists and is declared... yes
checking whether wcswidth 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 for X11/Intrinsic.h... yes
checking for XtToolkitInitialize in -lXt... yes
using X11 ... yes
checking for KeySym... yes
checking for X11/Xmu/Atoms.h... yes
checking for XmuInternAtom in -lXmu... yes
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 for rpc/types.h... yes
checking for rpc/xdr.h... yes
checking for XDR support... yes
checking for inflateInit2_ in -lz... yes
checking for zlib.h... yes
checking if zlib version >= 1.2.5... yes
checking whether zlib support suffices... yes
checking for BZ2_bzlibVersion in -lbz2... yes
checking for bzlib.h... yes
checking if bzip2 version >= 1.0.6... yes
checking whether bzip2 support suffices... yes
checking for lzma_version_number in -llzma... yes
checking for lzma.h... yes
checking if lzma version >= 5.0.3... yes
checking for pcre2.h... yes
checking for pcre2_compile_8 in -lpcre2-8... yes
checking if PCRE2 has Unicode support... yes
checking whether PCRE support suffices... yes
checking for curl-config... no
checking for curl/curl.h... no
configure: error: libcurl >= 7.28.0 library and headers are required with support for https

欲知更多详情,请查阅configure: error: PCRE2 library and headers are required, or use --with-pcre1 and PCRE >= 8.32 with UTF-8 support

@englianhu
Copy link
Author

englianhu commented Aug 23, 2022

第2.2章 : 安装R服务器中の程序包

当我们提到安装R语言程序包时,Hadley Wickham 所开发のdevtools必不可少。那么,我们就先安装该程序包必备之资源库呗!

sudo apt install libcurl4-openssl* libcurl4-openssl-dev -y
##sudo apt install -y libcur*
sudo apt install -y libxml*
sudo apt install -y openssl*

那么,现在我们就可以开始安装devtools程序包了哦!(安装过程可能大约需要好几分钟时间)
sudo su - -c "R -e \"install.packages('devtools', repos='https://cran.rstudio.com/')\""您可能奇怪为啥不直接通过后台运行R后进入R软件平台install.packages('devtools', repos='http://cran.rstudio.com/')安装,然后q('no')退出R平台回到Linux后台呢?

引用:为数据科学家们量身定做の专业统计软件 — ®Studio服务器:第2.2章 : 安装R服务器中の程序包

@englianhu
Copy link
Author

englianhu commented Aug 23, 2022

##造访路径/usr/lib/R/
cd /usr/lib/R/

##配置R语言编程软件
sudo ./configure \
    --prefix=/usr/lib/R \
    --enable-memory-profiling \
    --enable-R-shlib \
    --with-pcre2 \
    --with-blas \
    --with-lapack \
    --with-readline=yes

##安装R语言编程软件    
sudo make
sudo make install

##赋值安装路径/usr/lib/R/library/的权限
sudo chmod 777 -R /usr/lib/R/library/

##查看安装好的R语言软件版本
/usr/lib/R/bin/R --version

#sudo ln -s /usr/lib/R/bin/R /usr/local/bin/R
#sudo ln -s /usr/lib/R/bin/Rscript /usr/local/bin/Rscript

##赋值修改路径/etc/R/中的文件设置的权限
sudo chmod 777 -R /etc/R/

@englianhu
Copy link
Author

englianhu commented Aug 23, 2022

安装完毕R编程语言软件后,记得赋值安装路径的权限sudo chmod 777 -R /usr/lib/R/library/,才能把程序包豆安装于/usr/lib/R/library/

englianhu@Scibrokes:/usr/lib/R$ /usr/lib/R/bin/R --version
R version 4.2.1 (2022-06-23) -- "Funny-Looking Kid"
Copyright (C) 2022 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 the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
https://www.gnu.org/licenses/.

#englianhu@Scibrokes:~$ sudo ln -s /usr/lib/R/bin/R /usr/local/bin/R
#englianhu@Scibrokes:~$ sudo ln -s /usr/lib/R/bin/Rscript /usr/local/bin/Rscript
englianhu@Scibrokes:/usr/lib/R$ cd
englianhu@Scibrokes:~$ which R
/usr/bin/R

englianhu@Scibrokes:~$ R --version
R version 4.2.1 (2022-06-23) -- "Funny-Looking Kid"
Copyright (C) 2022 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 the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
https://www.gnu.org/licenses/.

englianhu@Scibrokes:~$ curl --version
curl 7.64.0 (x86_64-pc-linux-gnu) libcurl/7.64.0 OpenSSL/1.1.1n zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Release-Date: 2019-02-06
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL

englianhu@Scibrokes:~$ java --version
openjdk 11.0.14 2022-01-18
OpenJDK Runtime Environment (build 11.0.14+9-post-Debian-1deb10u1)
OpenJDK 64-Bit Server VM (build 11.0.14+9-post-Debian-1deb10u1, mixed mode, sharing)

englianhu@Scibrokes:~$ gcc --version
gcc (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

englianhu@Scibrokes:~$ cpp --version
cpp (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

englianhu@Scibrokes:~$ c++ --version
c++ (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

这儿安装成功后,如下图!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant