CentOS 6.5 Installation CodeLite (c + + editor)

Source: Internet
Author: User
Tags gtk install openssl openssl wxwidgets codelite

1 First install a wget (switch to root installation) Yum Install-y Wget2 the next source package (ordinary users on line) wget http://downloads.sourceforge.net/project/codelite/ RELEASES/CODELITE-5.3/CODELITE-5.3-GTK.SRC.TAR.GZ3 Decompression Source compression package, get codelite-5.3 directory TAR-ZXVF codelite-5.3-gtk.src.tar.gz4 Enter the directory and find a BuildInfo.txt file CD codelite-5.3 open it vim BuildInfo.txt this stuff inside is to guide us how to compile and install this source package of this file should be said, to install CodeLite, first to install wxwidgets (version at least 2.9.5) GTK2 development Package Cmake5 first to install GTK2 development package, This is the simplest yum install gtk2*6 because to use the CMake compiled CodeLite, first the GCC and other prerequisite programs packaged on Yum install-y gcc gcc-c++ make Automake7 then install CMake, change the path, First get CMake source package from official website, wget http://www.cmake.org/files/v2.8/cmake-2.8.12.tar.gz8 extract, get cmake-2.8.12 directory TAR-ZXVF Cmake-2.8.12.tar.gz9 Enter the directory CD cmake-2.8.1210 execute the command below./BOOTSTRAP11 perform the following command gmake12 install (switch to root) gmake install13 CMake Loaded, Below install wxwidgets, change a path, or first officer net under the source package wget http://sourceforge.net/projects/wxwindows/files/2.9.5/ wxwidgets-2.9.5.tar.bz214 decompression, get WXWIDGETS-2.9.5,TAR-JXVF wxwidgets-2.9.5.tar.bz215 into the directory CD wxWidgets-2.9.516 Execute the following command in turn./configuremakemake install17 after installation, the terminal prompts to set the environment variable Ld_library_path, first execute this command ldconfIg18 then enter the command to get a bunch of output./wx-config--libs19 Open the file/etc/profilevim/etc/profile20 add a sentence, the contents of the double quotes is the 18th step in the output, save exit export Ld_ Library_path= "..." 21 followed by input, the effect is to make the modified contents of the profile take effect without rebooting the system Source/etc/profile22 BuildInfo.txt in the pre-conditions have been completed, with excitement again look to BuildInfo.txt, inside there is the next installation process 23 into the codelite-5.3 directory, the new directory Build-releasemkdir Build-release24 Enter Build-release sub-directory CD build-release25 the input command: cmake-g "Unix makefiles"-dcmake_build_type=release, Error, said in the current directory can not find CMakeList.txt, this file is very familiar, in fact, it is in the codelite-5.3 directory, then we point out its path: CMake. /-G "Unix makefiles"-dcmake_build_type=release, this time and error, tips missing libssh, what to fill what, OK, change the path, the next Libsshwget http://www.libssh.org/ FILES/0.5/LIBSSH-0.5.3.TAR.GZ26 execute the following command sequentially, unzip, compile, install (note that you need to switch to root when installing) TAR-ZXVF LIBSSH-0.5.3.TAR.GZCD Libssh-0.5.3mkdir BUILDCD Buildcmake. /-dcmake_build_type=debugmakemake install27 libssh Fix, then came to Codelite-5.3/build, and then: CMake. /g "Unix makefiles"-dcmake_build_type=release, error, this time the lack of SSL, a little meaning yum install OpenSSL openssl-devel28 again to CMake. /g "Unix makefiles"-dcmake_build_type=release29 yeah! ThisOnce, and then make30 last make install. 

CentOS 6.5 Installation CodeLite (c + + editor)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.