bl双性强迫侵犯h_国产在线观看人成激情视频_蜜芽188_被诱拐的少孩全彩啪啪漫画

redhat6.8如何升級默認cmake2.8到cmake3.9-創新互聯

這篇文章主要介紹了redhat 6.8如何升級默認cmake 2.8到cmake 3.9,具有一定借鑒價值,感興趣的朋友可以參考下,希望大家閱讀完這篇文章之后大有收獲,下面讓小編帶著大家一起了解一下。

讓客戶滿意是我們工作的目標,不斷超越客戶的期望值來自于我們對這個行業的熱愛。我們立志把好的技術通過有效、簡單的方式提供給客戶,將通過不懈努力成為客戶在信息化領域值得信任、有價值的長期合作伙伴,公司提供的服務項目有:空間域名、網絡空間、營銷軟件、網站建設、濮陽網站維護、網站推廣。

cmake 3.9安裝介質

https://cmake.org/files/

上傳 cmake 3.9安裝介質

[root@mysql8018 ~]# mkdir -p cmake_new_dir
[root@mysql8018 cmake_new_dir]# ll
總用量 7524
-rw-r--r--. 1 root root 7703777 12月  2 13:57 cmake-3.9.2.tar.gz

解壓cmake 3.9安裝介質

[root@mysql8018 cmake_new_dir]# tar -zxvf cmake-3.9.2.tar.gz

獲取cmake 3.9安裝指令

[root@mysql8018 cmake-3.9.2]# more README.rst 
UNIX/Mac OSX/MinGW/MSYS/Cygwin
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You need to have a compiler and a make installed.
Run the ``bootstrap`` script you find in the source directory of CMake.
You can use the ``--help`` option to see the supported options.
You may use the ``--prefix=<install_prefix>`` option to specify a custom
installation directory for CMake. You can run the ``bootstrap`` script from
within the CMake source directory or any other build directory of your
choice. Once this has finished successfully, run ``make`` and
``make install``.  In summary::
 $ ./bootstrap && make && make install

執行cmake 3.9 bootstrap

[root@mysql8018 cmake_new_dir]# ll
總用量 7528
drwxr-xr-x. 11 root root    4096 12月  2 13:58 cmake-3.9.2
-rw-r--r--.  1 root root 7703777 12月  2 13:57 cmake-3.9.2.tar.gz
[root@mysql8018 cmake_new_dir]# cd cmake-3.9.2
[root@mysql8018 cmake-3.9.2]# ll
總用量 284
drwxr-xr-x.   4 502 games  4096 9月   8 2017 Auxiliary
-rwxr-xr-x.   1 502 games 48336 9月   8 2017 bootstrap
-rw-r--r--.   1 502 games  9706 9月   8 2017 CMakeCPack.cmake
-rw-r--r--.   1 502 games 12897 9月   8 2017 CMakeCPackOptions.cmake.in
-rw-r--r--.   1 502 games   153 9月   8 2017 CMakeGraphVizOptions.cmake
-rw-r--r--.   1 502 games 31721 9月   8 2017 CMakeLists.txt
-rw-r--r--.   1 502 games  4481 9月   8 2017 CMakeLogo.gif
-rw-r--r--.   1 502 games   790 9月   8 2017 cmake_uninstall.cmake.in
-rw-r--r--.   1 502 games  3322 9月   8 2017 CompileFlags.cmake
-rwxr-xr-x.   1 502 games    99 9月   8 2017 configure
-rw-r--r--.   1 502 games  1851 9月   8 2017 CONTRIBUTING.rst
-rw-r--r--.   1 502 games  5018 9月   8 2017 Copyright.txt
-rw-r--r--.   1 502 games   440 9月   8 2017 CTestConfig.cmake
-rw-r--r--.   1 502 games  6213 9月   8 2017 CTestCustom.cmake.in
-rw-r--r--.   1 502 games   374 9月   8 2017 DartConfig.cmake
-rw-r--r--.   1 502 games 28046 9月   8 2017 doxygen.config
drwxr-xr-x.  18 502 games  4096 9月   8 2017 Help
drwxr-xr-x.   2 502 games  4096 9月   8 2017 Licenses
drwxr-xr-x.  12 502 games 20480 9月   8 2017 Modules
drwxr-xr-x.   3 502 games  4096 9月   8 2017 Packaging
-rw-r--r--.   1 502 games  3016 9月   8 2017 README.rst
drwxr-xr-x.  11 502 games 36864 9月   8 2017 Source
drwxr-xr-x.   4 502 games  4096 9月   8 2017 Templates
drwxr-xr-x. 240 502 games 12288 9月   8 2017 Tests
drwxr-xr-x.  21 502 games  4096 9月   8 2017 Utilities
[root@mysql8018 cmake-3.9.2]# ./bootstrap --prefix=/usr
略
-- Performing Test run_inlines_hidden_test
-- Performing Test run_inlines_hidden_test - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /root/cmake_new_dir/cmake-3.9.2
---------------------------------------------
CMake has bootstrapped.  Now run gmake.
[root@mysql8018 cmake-3.9.2]#

執行make

[root@mysql8018 cmake-3.9.2]# make
略
[100%] Linking C executable pseudo_tidy
[100%] Built target pseudo_tidy
Scanning dependencies of target foo
[100%] Building CXX object Tests/FindPackageModeMakefileTest/CMakeFiles/foo.dir/foo.cpp.o
[100%] Linking CXX static library libfoo.a
[100%] Built target foo
[root@mysql8018 cmake-3.9.2]#

執行make install

[root@mysql8018 cmake-3.9.2]# make install
略
-- 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@mysql8018 cmake-3.9.2]# cmake -version
cmake version 3.9.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).

感謝你能夠認真閱讀完這篇文章,希望小編分享的“redhat 6.8如何升級默認cmake 2.8到cmake 3.9”這篇文章對大家有幫助,同時也希望大家多多支持創新互聯,關注創新互聯-成都網站建設公司行業資訊頻道,更多相關知識等著你來學習!

網站名稱:redhat6.8如何升級默認cmake2.8到cmake3.9-創新互聯
文章URL:http://vcdvsql.cn/article4/ddgiie.html

成都網站建設公司_創新互聯,為您提供虛擬主機網站設計公司外貿建站定制網站軟件開發網頁設計公司

廣告

聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯

商城網站建設