• ADADADADAD

    redhat 6.8如何升级默认cmake 2.8到cmake 3.9[ mysql数据库 ]

    mysql数据库 时间:2024-11-26 22:15:26

    作者:文/会员上传

    简介:

    cmake 3.9安装介质https://cmake.org/files/上传 cmake 3.9安装介质[root@mysql8018~]#mkdir-pcmake_new_dir[root@mysql8018cmake_new_dir]#ll总用量7524-rw-r--r--.1rootr

    以下为本文的正文内容,内容仅供参考!本站为公益性网站,复制本文以及下载DOC文档全部免费。

    cmake 3.9安装介质
    https://cmake.org/files/
    上传 cmake 3.9安装介质
    [root@mysql8018~]#mkdir-pcmake_new_dir[root@mysql8018cmake_new_dir]#ll总用量7524-rw-r--r--.1rootroot770377712月213:57cmake-3.9.2.tar.gz
    解压cmake 3.9安装介质
    [root@mysql8018cmake_new_dir]#tar-zxvfcmake-3.9.2.tar.gz
    获取cmake 3.9安装指令
    [root@mysql8018cmake-3.9.2]#moreREADME.rstUNIX/MacOSX/MinGW/MSYS/Cygwin^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Youneedtohaveacompilerandamakeinstalled.Runthe``bootstrap``scriptyoufindinthesourcedirectoryofCMake.Youcanusethe``--help``optiontoseethesupportedoptions.Youmayusethe``--prefix=<install_prefix>``optiontospecifyacustominstallationdirectoryforCMake.Youcanrunthe``bootstrap``scriptfromwithintheCMakesourcedirectoryoranyotherbuilddirectoryofyourchoice.Oncethishasfinishedsuccessfully,run``make``and``makeinstall``.Insummary::$./bootstrap&&make&&makeinstall
    执行cmake 3.9 bootstrap
    [root@mysql8018cmake_new_dir]#ll总用量7528drwxr-xr-x.11rootroot409612月213:58cmake-3.9.2-rw-r--r--.1rootroot770377712月213:57cmake-3.9.2.tar.gz[root@mysql8018cmake_new_dir]#cdcmake-3.9.2[root@mysql8018cmake-3.9.2]#ll总用量284drwxr-xr-x.4502games40969月82017Auxiliary-rwxr-xr-x.1502games483369月82017bootstrap-rw-r--r--.1502games97069月82017CMakeCPack.cmake-rw-r--r--.1502games128979月82017CMakeCPackOptions.cmake.in-rw-r--r--.1502games1539月82017CMakeGraphVizOptions.cmake-rw-r--r--.1502games317219月82017CMakeLists.txt-rw-r--r--.1502games44819月82017CMakeLogo.gif-rw-r--r--.1502games7909月82017cmake_uninstall.cmake.in-rw-r--r--.1502games33229月82017CompileFlags.cmake-rwxr-xr-x.1502games999月82017configure-rw-r--r--.1502games18519月82017CONTRIBUTING.rst-rw-r--r--.1502games50189月82017Copyright.txt-rw-r--r--.1502games4409月82017CTestConfig.cmake-rw-r--r--.1502games62139月82017CTestCustom.cmake.in-rw-r--r--.1502games3749月82017DartConfig.cmake-rw-r--r--.1502games280469月82017doxygen.configdrwxr-xr-x.18502games40969月82017Helpdrwxr-xr-x.2502games40969月82017Licensesdrwxr-xr-x.12502games204809月82017Modulesdrwxr-xr-x.3502games40969月82017Packaging-rw-r--r--.1502games30169月82017README.rstdrwxr-xr-x.11502games368649月82017Sourcedrwxr-xr-x.4502games40969月82017Templatesdrwxr-xr-x.240502games122889月82017Testsdrwxr-xr-x.21502games40969月82017Utilities[root@mysql8018cmake-3.9.2]#./bootstrap--prefix=/usr略--PerformingTestrun_inlines_hidden_test--PerformingTestrun_inlines_hidden_test-Success--Configuringdone--Generatingdone--Buildfileshavebeenwrittento:/root/cmake_new_dir/cmake-3.9.2---------------------------------------------CMakehasbootstrapped.Nowrungmake.[root@mysql8018cmake-3.9.2]#
    执行make
    [root@mysql8018cmake-3.9.2]#make略[100%]LinkingCexecutablepseudo_tidy[100%]Builttargetpseudo_tidyScanningdependenciesoftargetfoo[100%]BuildingCXXobjectTests/FindPackageModeMakefileTest/CMakeFiles/foo.dir/foo.cpp.o[100%]LinkingCXXstaticlibrarylibfoo.a[100%]Builttargetfoo[root@mysql8018cmake-3.9.2]#
    执行make install
    [root@mysql8018cmake-3.9.2]#makeinstall略--Installing:/usr/share/cmake-3.9/editors/emacs/cmake-mode.el--Installing:/usr/share/aclocal/cmake.m4--Installing:/usr/share/cmake-3.9/completions/cmake--Installing:/usr/share/cmake-3.9/completions/cpack--Installing:/usr/share/cmake-3.9/completions/ctest
    验证cmake 3.9
    [root@mysql8018cmake-3.9.2]#cmake-versioncmakeversion3.9.2CMakesuitemaintainedandsupportedbyKitware(kitware.com/cmake).
    redhat 6.8如何升级默认cmake 2.8到cmake 3.9.docx

    将本文的Word文档下载到电脑

    推荐度:

    下载
    热门标签: cmakeredhat