Facebook/infer-linux under the source environment to build __linux

Source: Internet
Author: User
Tags diff gpg git clone

Using Docker technology under ubuntu14.04 to try Linux environment installation infer download source code

root@4c4ab5d66584:/home# git clone https://github.com/facebook/infer.git
cloning into ' infer ' ...
Remote:counting objects:2443, done.
Remote:compressing objects:100% (259/259), done.
Remote:total 2443 (Delta 124), reused 0 (Delta 0), pack-reused 2177 receiving objects:100%
(2443/2443), 35.01 MiB | KIB/S, done.
Resolving deltas:100% (959/959), done.
Update upgrade Apt-get tool Update
root@4c4ab5d66584:/home# apt-get update Hit http://archive.ubuntu.com precise release.gpg get:1 http:// archive.ubuntu.com precise-updates RELEASE.GPG [198 B] Get:2-http://archive.ubuntu.com precise-security RELEASE.GPG [ 198 B] Hit http://archive.ubuntu.com precise release get:3 http://archive.ubuntu.com precise-updates release [196 KB] Get:         
4 http://archive.ubuntu.com precise-security release [54.3 KB] Hit http://archive.ubuntu.com precise/main Sources Hit http://archive.ubuntu.com precise/restricted Sources Hit http://archive.ubuntu.com precise/universe Sources Hit http://archive.ubuntu.com precise/main amd64 Packages Hit http://archive.ubuntu.com precise/restricted amd64 Packages H
It http://archive.ubuntu.com precise/universe amd64 Packages Hit http://archive.ubuntu.com precise/main i386 Packages Hit http://archive.ubuntu.com precise/restricted i386 Packages Hit http://archive.ubuntu.com Precise/universe i386 Packages Get:5 http://archive.ubuntu.com Precise-updates/main sources [601 KB] Get:6 http://archive.ubuntu.com precise-updates/restricted Sources [8152 B] Get:7 Http://archive.ubuntu . com precise-updates/universe Sources [149 KB] Get:8 http://archive.ubuntu.com precise-updates/main AMD64 Packages [ 1182 KB] Get:9 http://archive.ubuntu.com precise-updates/restricted amd64 Packages [20.8 KB] Get:10 Http://archive.ubunt u.com precise-updates/universe AMD64 Packages [344 KB] Get:11 http://archive.ubuntu.com Precise-updates/main-i386 Packages [1244 KB] Get:12 http://archive.ubuntu.com precise-updates/restricted i386 Packages [20.7 KB] get:13 Http://arc hive.ubuntu.com Precise-updates/universe i386 Packages [355 KB] get:14 http://archive.ubuntu.com precise-security/main Sources [165 KB] get:15 http://archive.ubuntu.com precise-security/restricted Sources [3565 B] get:16 Http://arc hive.ubuntu.com precise-security/universe Sources [49.9 KB] get:17 http://archive.ubuntu.com precise-security/main AMD Packages [671 KB] get:18 http://archive.ubuntu.com precise-security/restricted AMD64 Packages [14.9 KB] get:19 http://archive.ubuntu.com Precise-security/universe AMD64 Packages [157 KB] get:20 http://archive.ubuntu.com precise-security/main i386 Packages [ 731 KB] get:21 http://archive.ubuntu.com precise-security/restricted i386 Packages [14.9 KB] get:22 http://archive.ubunt                                              
u.com Precise-security/universe i386 Packages [166 KB] fetched 6148 KB in 58s (KB/S) Reading Package Lists ...

 Done
Upgrade
root@4c4ab5d66584:/home# Apt-get Upgrade Reading package lists ... Done building Dependency The Reading state information ... Done the following packages would be Upgraded:patch python2.7 python2.7-minimal 3 upgraded, 0 newly installed, 0 to Remo
ve and 0 not upgraded.
Need to get 4498 KB of archives.
After this operation, 13.3 KB of additional disk space would be used. Do your want to continue [y/n]? Y get:1 http://archive.ubuntu.com/ubuntu/precise-updates/main python2.7 amd64 2.7.3-0ubuntu3.8 [2676 KB] get:2 http:// Archive.ubuntu.com/ubuntu/precise-updates/main python2.7-minimal AMD64 2.7.3-0ubuntu3.8 [1743 KB] Get:3 http://                                              
Archive.ubuntu.com/ubuntu/precise-updates/main Patch AMD64 2.6.1-3ubuntu0.1 [80.0 KB] fetched 4498 KB in 39s (113 kB/s) Debconf:delaying package configuration, since apt-utils is not installed (Re Ading database ...
15984 files and directories currently installed.) Preparing to replace python2.7 2.7.3-0UBUNTU3.6 (using .../python2.7_2.7.3-0ubuntu3.8_amd64.deb) ...
Unpacking Replacement python2.7 ...
Preparing to replace Python2.7-minimal 2.7.3-0ubuntu3.6 (using .../python2.7-minimal_2.7.3-0ubuntu3.8_amd64.deb) ...
Unpacking Replacement Python2.7-minimal ...
Setting up Python2.7-minimal (2.7.3-0ubuntu3.8) ... (Reading database ...)
15984 files and directories currently installed.)
Preparing to replace Patch 2.6.1-3 (using .../patch_2.6.1-3ubuntu0.1_amd64.deb) ...
Unpacking Replacement Patch ...
Setting up python2.7 (2.7.3-0ubuntu3.8) ... Setting up Patch (2.6.1-3ubuntu0.1) ...
Install dependent Libraries
root@4c4ab5d66584:/home# Apt-get Install M4 Zlib1g-dev python-software-properties build-essential Libgmp-dev Libmpfr-dev Libmpc-dev Unzip Reading package lists ... Done building Dependency The Reading state information ... Done the following extra packages'll be installed:apt-utils binutils bzip2 dpkg-dev fakeroot g++ g++-4.6 gcc gcc-4.6 Iso-codes libalgorithm-diff-perl Libalgorithm-diff-xs-perl Libalgorithm-merge-perl libapt-inst1.4 libc-dev-bin Libc6-dev libdpkg-perl libgmpxx4ldbl libgomp1 libquadmath0 libstdc++6-4.6-dev Libtimedate-perl Linux-libc-dev Lsb-release make manpages manpages-dev python-apt python-apt-common python-gnupginterface python-pycurl unattended-upg Rades Xz-lzma suggested Packages:binutils-doc bzip2-doc debian-keyring g++-multilib g++-4.6-multilib Gcc-4.6-doc Libs tdc++6-4.6-dbg gcc-multilib autoconf automake1.9 libtool Flex bison gdb gcc-doc gcc-4.6-multilib libmudflap0-4.6-dev gcc -4.6-locales libgcc1-dbg libgomp1-dbg libquadmath0-dbg libmudflap0-dbg binutils-gold isoquery glibc-doc libgmp10-doc libmpfr-doc libstdc++6-4.6-doc lsb make-doc man-browser python-apt-dbg python-gtk2 python-vte python-apt-doc libcurl4-gnutls-dev python-pycurl-dbg bsd-mailx zip Recommended pa Ckages:libstdc++-dev the following NEW packages'll be installed:apt-utils binutils build-essential bzip2 Dpkg-dev Fakeroot g++ g++-4.6 gcc gcc-4.6 iso-codes libalgorithm-diff-perl libalgorithm-diff-xs-perl Libalgorithm-merge-perl li
  bapt-inst1.4 libc-dev-bin libc6-dev libdpkg-perl libgmp-dev libgmpxx4ldbl libgomp1 libmpc-dev libmpfr-dev libquadmath0 Libstdc++6-4.6-dev Libtimedate-perl Linux-libc-dev lsb-release M4 make manpages Manpages-dev python-apt Python-apt-comm On Python-gnupginterface python-pycurl python-software-properties unattended-upgrades unzip Xz-lzma Zlib1g-dev 0 Upgra
Ded, newly installed, 0 to-remove and 0 not upgraded.
Need to get 31.6 MB of archives. After this operation, 93.7 MB of additional disk spaces WIll be used. Do your want to continue [y/n]?
Y get:1 http://archive.ubuntu.com/ubuntu/precise-updates/main libapt-inst1.4 amd64 0.8.16~exp12ubuntu10.24 [99.8 KB] Get:2 http://archive.ubuntu.com/ubuntu/precise/main libgmpxx4ldbl amd64 2:5.0.2+dfsg-2ubuntu1 [8720 B] get:3 http:// Archive.ubuntu.com/ubuntu/precise/main libgomp1 AMD64 4.6.3-1ubuntu5 [25.5 KB] Get:4 Http://archive.ubuntu.com/ubuntu /Precise/main Libquadmath0 AMD64 4.6.3-1ubuntu5 [126 KB] Get:5 Http://archive.ubuntu.com/ubuntu/precise-updates/main Apt-utils AMD64 0.8.16~exp12ubuntu10.24 [190 KB] Get:6 http://archive.ubuntu.com/ubuntu/precise/main bzip2 AMD64
1.0.6-1 [37.8 KB] Get:7 http://archive.ubuntu.com/ubuntu/precise-updates/main lsb-release all 4.0-0ubuntu20.3 [11.0 KB] Get:8 http://archive.ubuntu.com/ubuntu/precise/main iso-codes All 3.31-1 [3547 KB] Get:9 http://archive.ubuntu.com/ Ubuntu/precise/main manpages all 3.35-0.1UBUNTU1 [584 KB] Get:10 http://archive.ubuntu.com/ubuntu/precise-updates/ Main PYTHON-APT-COmmon all 0.8.3ubuntu7.3 [21.4 KB] get:11 http://archive.ubuntu.com/ubuntu/precise-updates/main python-apt AMD64 0.8.3ubuntu7.3 [187 KB] Get:12 http://archive.ubuntu.com/ubuntu/precise/main python-gnupginterface All 0.3.2-9.1UBUNTU3 [19.2 KB] get:13 http://archive.ubuntu.com/ubuntu/precise/main Xz-lzma all 5.1.1alpha+20110809-3 [ 12.4 KB] get:14 http://archive.ubuntu.com/ubuntu/precise-updates/main binutils amd64 2.22-6ubuntu1.3 [2657 KB] get:15 HT Tp://archive.ubuntu.com/ubuntu/precise-updates/main libc-dev-bin amd64 2.15-0ubuntu10.12 [83.1 KB] Get:16 http:// Archive.ubuntu.com/ubuntu/precise-updates/main Linux-libc-dev AMD64 3.2.0-86.124 [856 KB] Get:17 http:// Archive.ubuntu.com/ubuntu/precise-updates/main libc6-dev amd64 2.15-0ubuntu10.12 [2942 KB] Get:18 http:// Archive.ubuntu.com/ubuntu/precise/main gcc-4.6 amd64 4.6.3-1ubuntu5 [7572 KB] get:19 Http://archive.ubuntu.com/ubuntu /precise/main gcc amd64 4:4.6.3-1ubuntu5 [5114 B] get:20 http://archive.ubuntu.com/ubuntu/precise/maIn Libstdc++6-4.6-dev amd64 4.6.3-1ubuntu5 [1660 KB] get:21 http://archive.ubuntu.com/ubuntu/precise/main g++-4.6  4.6.3-1ubuntu5 [6954 KB] get:22 http://archive.ubuntu.com/ubuntu/precise/main g++ amd64 4:4.6.3-1ubuntu5 [1442 B] Get:23 Http://archive.ubuntu.com/ubuntu/precise-updates/main make AMD64 3.81-8.1ubuntu1.1 [119 KB] get:24 http:// Archive.ubuntu.com/ubuntu/precise/main Libtimedate-perl All 1.2000-1 [41.6 KB] get:25 http://archive.ubuntu.com/ Ubuntu/precise-updates/main Libdpkg-perl all 1.16.1.2ubuntu7.6 [181 KB] get:26 http://archive.ubuntu.com/ubuntu/ Precise-updates/main Dpkg-dev All 1.16.1.2ubuntu7.6 [468 KB] get:27 http://archive.ubuntu.com/ubuntu/precise-updates/ Main build-essential amd64 11.5ubuntu2.1 [5816 B] get:28-Http://archive.ubuntu.com/ubuntu/precise/main fakeroot AMD64 1. 18.2-1 [87.2 kb] get:29 http://archive.ubuntu.com/ubuntu/precise/main libalgorithm-diff-perl all 1.19.02-2 [50.7 KB] Get : Http://archive.ubuntu.com/ubuntu/precise/main Libalgorithm-diff-xs-perl AMD64 0.04-2build2 [12.4 KB] get:31 Http://archive.ubuntu.com/ubuntu/precise/main Libalgorithm-merge-perl all 0.08-2 [12.7 KB] get:32 http://archive.ubuntu.com/ubuntu/precise/main libgmp-dev AMD64 2:5.0.2+DFSG-2UBUNTU1 [351 KB] get:33 http://archive.ubuntu.com/ubuntu/precise/main libmpfr-dev AMD64 3.1.0-3ubuntu2 [ 248 KB] get:34 http://archive.ubuntu.com/ubuntu/precise/main M4 AMD64 1.4.16-2ubuntu1 [MB] get:35 Http://archive.ubu Ntu.com/ubuntu/precise/main Manpages-dev All 3.35-0.1UBUNTU1 [1671 KB] get:36 http://archive.ubuntu.com/ubuntu/ Precise-updates/main unattended-upgrades All 0.76ubuntu1.1 [24.7 KB] get:37 http://archive.ubuntu.com/ubuntu/precise/ Main Python-pycurl amd64 7.19.0-4UBUNTU3 [49.2 KB] get:38 Http://archive.ubuntu.com/ubuntu/precise-updates/main Python-software-properties all 0.82.7.7 [23.5 KB] get:39 Http://archive.ubuntu.com/ubuntu/precise-updates/main Unzip AMD64 6.0-4ubuntu2.3 [194 kB] get:40 Http://archive.ubuntu.com/ubuntu/precise/main ZLib1g-dev AMD64 1:1.2.3.4.dfsg-3ubuntu4 [165 KB] get:41 http://archive.ubuntu.com/ubuntu/precise/main libmpc-dev AMD64 0.9-4 [52.1 KB] fetched 31.6 MB in 11min 1s (47.7 kb/s) debconf:delaying Package
Configuration, since apt-utils is not installed selecting previously-unselected package. (Reading database ...)
15984 files and directories currently installed.)
Unpacking libapt-inst1.4 (from .../libapt-inst1.4_0.8.16~exp12ubuntu10.24_amd64.deb) ...
Selecting previously unselected package Libgmpxx4ldbl.
Unpacking Libgmpxx4ldbl (from .../libgmpxx4ldbl_2%3a5.0.2+dfsg-2ubuntu1_amd64.deb) ...
Selecting previously unselected package libgomp1.
Unpacking Libgomp1 (from .../libgomp1_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package Libquadmath0.
Unpacking Libquadmath0 (from .../libquadmath0_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package apt-utils. Unpacking Apt-utils (from .../apt-utils_0.8.16~exp12)Ubuntu10.24_amd64.deb) ...
Selecting previously unselected package bzip2.
Unpacking bzip2 (from .../bzip2_1.0.6-1_amd64.deb) ...
Selecting previously unselected package lsb-release.
Unpacking Lsb-release (from .../lsb-release_4.0-0ubuntu20.3_all.deb) ...
Selecting previously unselected package iso-codes.
Unpacking Iso-codes (from .../iso-codes_3.31-1_all.deb) ...
Selecting previously unselected package manpages.
Unpacking Manpages (from .../manpages_3.35-0.1ubuntu1_all.deb) ...
Selecting previously unselected package Python-apt-common.
Unpacking Python-apt-common (from .../python-apt-common_0.8.3ubuntu7.3_all.deb) ... Selecting previously unselected package python-apt. Unpacking python-apt (from .../python-apt_0.8.3ubuntu7.3_amd64.deb
) ...
Selecting previously unselected package python-gnupginterface.
Unpacking Python-gnupginterface (from .../python-gnupginterface_0.3.2-9.1ubuntu3_all.deb) ...
Selecting previously unselected package Xz-lzma. Unpacking Xz-lzma (from .../xz-lzma_5.1.1alp)Ha+20110809-3_all.deb) ...
Selecting previously unselected package binutils.
Unpacking Binutils (from .../binutils_2.22-6ubuntu1.3_amd64.deb) ...
Selecting previously unselected package Libc-dev-bin.
Unpacking Libc-dev-bin (from .../libc-dev-bin_2.15-0ubuntu10.12_amd64.deb) ... Selecting previously unselected package Linux-libc-dev. Unpacking Linux-libc-dev (from .../linux-libc-dev_3.2.0-86.124
_amd64.deb) ... Selecting previously unselected package Libc6-dev. Unpacking Libc6-dev (from .../libc6-dev_2.15-0ubuntu10.12_amd64.deb
) ...
Selecting previously unselected package gcc-4.6.
Unpacking gcc-4.6 (from .../gcc-4.6_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.6.3-1ubuntu5_amd64.deb) ... Selecting previously unselected package Libstdc++6-4.6-dev. Unpacking Libstdc++6-4.6-dev (from .../libstdc++6-4.6-dev_
4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package g++-4.6. Unpacking g++-4.6 (from .../g++-4.6_4.6.3-1u)Buntu5_amd64.deb) ...
Selecting previously unselected package g++.
Unpacking g++ (from .../g++_4%3a4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package make.
Unpacking make (from .../make_3.81-8.1ubuntu1.1_amd64.deb) ...
Selecting previously unselected package Libtimedate-perl.
Unpacking Libtimedate-perl (from .../libtimedate-perl_1.2000-1_all.deb) ...
Selecting previously unselected package Libdpkg-perl.
Unpacking Libdpkg-perl (from .../libdpkg-perl_1.16.1.2ubuntu7.6_all.deb) ...
Selecting previously unselected package Dpkg-dev. Unpacking Dpkg-dev (from .../dpkg-dev_1.16.1.2ubuntu7.6_all.deb) ...
Selecting previously unselected package build-essential.
Unpacking build-essential (from .../build-essential_11.5ubuntu2.1_amd64.deb) ...
Selecting previously unselected package fakeroot.
Unpacking Fakeroot (from .../fakeroot_1.18.2-1_amd64.deb) ...
Selecting previously unselected package Libalgorithm-diff-perl. Unpacking Libalgorithm-diff-perl (from .../libalgorithm-diff-per)L_1.19.02-2_all.deb) ...
Selecting previously unselected package Libalgorithm-diff-xs-perl.
Unpacking Libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-2build2_amd64.deb) ...
Selecting previously unselected package Libalgorithm-merge-perl.
Unpacking Libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-2_all.deb) ... Selecting previously unselected package Libgmp-dev. Unpacking Libgmp-dev (from .../libgmp-dev_2%3a5.0.2+dfsg-2ubuntu1_
Amd64.deb) ... Selecting previously unselected package Libmpfr-dev. Unpacking Libmpfr-dev (from .../libmpfr-dev_3.1.0-3ubuntu2_
Amd64.deb) ...
Selecting previously unselected package M4.  Unpacking M4 (from

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.