CentOS Install LUA boost jsoncpp

Source: Internet
Author: User
Tags lua

First, install LUA1, first install ReadLine, use the command yum install Readline-devel2, download lua-5.3.1.tar.gz, address http://www.lua.org/download.htmlDecompression TAR-ZXVF lua-5.3.1.tar.gzswitch to unzipped directory CD lua-5.3.1compiling make LinuxInstall make installafter the installation is complete, enter LUA at the command line to enter the LUA programming environment.  second, install boostYum Install boostYum Install Boost-develYum Install Boost-doc third, installation Jsoncpp1. Download scons and JSON

http://sourceforge.net/projects/jsoncpp/files/jsoncpp/

Http://sourceforge.net/projects/scons/files/scons/2.1.0/scons-2.1.0.tar.gz/download

2, decompression scons set environment variablesTAR-ZXVF scons-2.1.0.tar.gzExport myscons=/root/soft/scons-2.1.0 setting environment variablesexport scons_lib_dir= $MYSCONS/engine3, decompression jsoncpp compilationTAR-ZXVF jsoncpp-src-0.5.0.tar.gzCD jsoncpp-src-0.5.0/python $MYSCONS/script/scons PLATFORM=LINUX-GCC compilation generates the appropriate library4. Copy the generated library to the appropriate directoryCP libs/linux-gcc-4.8.3/libjson_linux-gcc-4.8.3_libmt.a/usr/local/lib Copy the JSON library to the system library fileCP Libs/linux-gcc-4.8.3/libjson_linux-gcc-4.8.3_libmt.so/usr/local/lib

CentOS install LUA boost Jsoncpp

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.