Facebookscribe Installation notes under Ubuntu

Source: Internet
Author: User
Since there is no test and development machine, it takes a lot of effort to install and test facebook's scribe on your computer, with the help of my husband, the installation was successful. record it as a reference: Because my VM is installed with the smallest function, I encountered a lot of trouble during the installation process, many packages are missing, so the installation process is long and may be better on the company server. (1) install g ++: sudoapt-getinstallg ++ (2

Since there is no test and development machine, it takes a lot of effort to install and test facebook's scribe on your computer, with the help of her husband, the installation was successful. Record the installation as a reference:

Since my VM is installed with the smallest feature, I encountered a lot of trouble during the installation process and lacked many packages. Therefore, the installation process is long and may be better on the company server.

(1) install g ++: sudo apt-get install g ++

(2) install ruby: sudo apt-get install ruby1.8-dev (because require mkmf is required to install thrift later, ruby1.8-dev must be installed)

(3) install python: the Python. h file is missing and must be installed later. So it is best to reinstall python here. The installation command is as follows: sudo apt-get install python-dev.

(4) install libevent:

1. First download this package wget http://www.monkey.org /~ Provos/libevent-2.0.10-stable.tar.gz

2. tar-xvf libevent-2.0.10-statble.tar.gz

3../configure

4. make

5. make install

(5) install php

1. libxml2 must be installed first, and then install php, download libxml2: Libxml2 installation package: ftp://xmlsoft.org/libxml2/, download libxml2-2.7.4.tar.gz

2. Tar-xvf libxml2-2.7.4.tar.gz

3. Configure

4. Make

5. Make install

6. Download php: Php http://cn.php.net/downloads.php, download PHP 5.3.5 (tar.gz)

7. Tar-vxf PHP 5.3.5 (tar.gz)

8 .. /configure -- prefix =/usr/local/php5 -- with-php-config =/usr/local/php5/bin/php-config (because php is used in some versions of scribe -config, -with-php-config is used here, but it is not used in my installation process, so this can be ignored)

9. Make

10. Make install

(6) install boost

1. Wget http://nchc.dl.sourceforge.net/project/boost/boost/1.45.0/boost_1_45_0.tar.bz2

2. tar jxvf boost_1_45_0.tar.bz2

3. cd boost_000045_0

4. sudo apt-get install zlib2-dev (because my system reported an error during installation, saying that the zlib. h file is missing, so I have to install this package to perform subsequent operations)

5../bootstrap. sh

6 .. /bjam-s HAVE_ICU = 1 -- prefix =/usr/local/boost -- includedir =/usr/local/boost/include -- libdir =/usr/local/boost/lib

7 ../bjam install -- prefix =/usr/local/boost

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.