国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 數據庫 > MySQL > 正文

linux下使用cmake編譯安裝mysql的詳細教程

2024-07-24 12:41:20
字體:
來源:轉載
供稿:網友

一、安裝cmake

1、解壓cmake壓縮包

[root@mysql tools]# tar -zvxf cmake-2.8.8.tar.gz[root@mysql tools]# lscmake-2.8.8 cmake-2.8.8.tar.gz mysql-5.5.16.tar.gz scripts

2、解析

[root@mysql tools]# cd cmake-2.8.8[root@mysql cmake-2.8.8]# ./configure---------------------------------------------CMake 2.8.8, Copyright 2000-2009 Kitware, Inc.Found GNU toolchainC compiler on this system is: gccC++ compiler on this system is: g++Makefile processor on this system is: gmakeg++ is GNU compilerg++ has STL in std:: namespaceg++ has ANSI streamsg++ has streams in std:: namespace

3、安裝

[root@mysql cmake-2.8.8]# echo $?0#如果返回值是0,就是執行成功,如果返回值是1,就是執行失敗;[root@mysql cmake-2.8.8]# gmake && gmake installScanning dependencies of target cmIML_test[ 1%] Building C object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test.c.o[ 1%] Building C object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_ABI_C.c.o[ 1%] Building C object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_INT_C.c.o[ 1%] Building C object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_include_C.c.o[ 2%] Building CXX object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_ABI_CXX.cxx.o[ 2%] Building CXX object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_INT_CXX.cxx.o[ 2%] Building CXX object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_include_CXX.cxx.o

二、開始安裝mysql

1、首先需要安裝(ncurses-devel)依賴包

[root@mysql cmake-2.8.8]# cd …[root@mysql tools]# yum -y install ncurses-develLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfilebase: mirrors.zju.edu.cnextras: centos.ustc.edu.cnupdates: mirrors.zju.edu.cnResolving Dependencies

主站蜘蛛池模板:
锡林郭勒盟|
吉木乃县|
绥中县|
兰州市|
泸定县|
上栗县|
游戏|
江城|
临朐县|
綦江县|
泸溪县|
民丰县|
SHOW|
桐梓县|
平江县|
开封市|
额尔古纳市|
长丰县|
巴塘县|
南安市|
云龙县|
克什克腾旗|
玛曲县|
梅州市|
三河市|
襄城县|
贞丰县|
富平县|
石景山区|
富裕县|
普陀区|
呼和浩特市|
南开区|
南澳县|
广灵县|
含山县|
吴忠市|
乐东|
海盐县|
民县|
天全县|