Hadoop入门01--CentOS6.5环境配置

Hadoop入门01--CentOS6.5环境配置

所有软件下载http://yunpan.cn/cdIWiQrRL9w26  访问密码 ca41


1、准备linux环境

1.0配置好vmware和CentOS6.5的网络配置

详细网络配置请查看VMware网络配置,下面是地址
http://blog.csdn.net/jxpaiwp/article/details/47807309

1.1、修改主机名

vim /etc/sysconfig/network
[root@localhost ~]# vim /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=jxpaiwp01
~
~
~
~
:wq
保存退出

1.2修改主机名和IP的映射的关系

vim /etc/hosts
[root@localhost ~]# vim /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.8.90 jxpaiwp01
~
~
~
~
~
~
~

1.3关闭防火墙

#查看防火墙
service iptables status
#关闭防火墙
service ipitables stop 
#查看防火墙开机启动状态
chkconfig iptables --list
#关闭防火墙开机启动
chkconfig iptables off
[root@localhost ~]# service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
num  target     prot opt source               destination         
1    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED 
2    ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           
3    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           
4    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:22 
5    REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 

Chain FORWARD (policy ACCEPT)
num  target     prot opt source               destination         
1    REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 

Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination         

[root@localhost ~]# service iptables stop
iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Unloading modules:                               [  OK  ]
[root@localhost ~]# chkconfig iptables --list
iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@localhost ~]# chkconfig iptables off
[root@localhost ~]# chkconfig iptables --list
iptables        0:off   1:off   2:off   3:off   4:off   5:off   6:off
[root@localhost ~]# 


1.4重启CentOS6.5

reboot
[root@localhost ~]# reboot

Broadcast message from root@localhost.localdomain
        (/dev/pts/0) at 17:47 ...

The system is going down for reboot NOW!

2环境搭建

从网盘或者官网下载
然后通过ftp上传到CentOS6.5上
这里介绍一款好的软件,是SecureCRTSecureFX v7.2.2 在网盘分享里也有

2.1安装JDK软件

2.1.1创建/app目录

这个目录放所有的环境软件
[root@jxpaiwp01 ~]# mkdir /app
如果后期要别用的帐号,就先把这个目录设置权限给他
sudo chown -R 用户名:密码 /app
2.1.2创建/app/lib目录
[root@jxpaiwp01 app]# mkdir lib

2.1.3把下载的安装包解压并迁移到/app/lib目录下

[root@jxpaiwp01 lib]# cd /home/jxpaiwp/software/
[root@jxpaiwp01 software]# tar -zxf jdk-7u79-linux-x64.tar.gz 
[root@jxpaiwp01 software]# mv jdk1.7.0_79/ /app/lib
[root@jxpaiwp01 software]# ls /app/lib/jdk1.7.0_79/
bin        include  LICENSE      release                             THIRDPARTYLICENSEREADME.txt
COPYRIGHT  jre      man          src.zip
db         lib      README.html  THIRDPARTYLICENSEREADME-JAVAFX.txt
2.1.4使用vim /etc/profile 打开配置文件,配置java运行环境
[root@jxpaiwp01 ~]# vim /etc/profile

export JAVA_HOME=/app/lib/jdk1.7.0_79
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
2.1.5编译验证
刷新配置文件
[root@jxpaiwp01 ~]# source /etc/profile
[root@jxpaiwp01 ~]# java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)

2.2安装并设置maven

从网盘或者官网下载maven-3.3.3-bin.tar.gz
然后通过ftp上传到CentOS6.5上
2.2.1解压缩apache-maven-3.3.3-bin.tar.gz 包,并把apache-maven-3.3.3-bin.tar.gz 目录移到/app/lib目录下
[root@jxpaiwp01 software]# cd /home/jxpaiwp/software/
[root@jxpaiwp01 software]# tar -zxf apache-maven-3.3.3-bin.tar.gz 
[root@jxpaiwp01 software]# mv apache-maven-3.3.3 /app/lib/
[root@jxpaiwp01 software]# cd /app/lib/apache-maven-3.3.3/
[root@jxpaiwp01 apache-maven-3.3.3]# ls
bin  boot  conf  lib  LICENSE  NOTICE  README.txt
2.2.2使用vim /etc/profile 打开配置文件,并加入maven设置
export MAVEN_HOME=/app/lib/apache-maven-3.3.3/
export PATH=$JAVA_HOME/bin:$MAVEN_HOME/bin:$PATH
保存退出
2.2.3编译并验证是否成功
[root@jxpaiwp01 apache-maven-3.3.3]# source /etc/profile
[root@jxpaiwp01 apache-maven-3.3.3]# mvn -version
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T04:57:37-07:00)
Maven home: /app/lib/apache-maven-3.3.3
Java version: 1.7.0_79, vendor: Oracle Corporation
Java home: /app/lib/jdk1.7.0_79/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-431.el6.x86_64", arch: "amd64", family: "unix"

2.3使用yum安装SVN

sudo yum install svn

[root@jxpaiwp01 apache-maven-3.3.3]# sudo yum install svn
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: centos.ustc.edu.cn
 * updates: mirrors.aliyun.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package subversion.x86_64 0:1.6.11-15.el6_7 will be installed
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion-1.6.11-15.el6_7.x86_64
--> Running transaction check
---> Package perl-URI.noarch 0:1.40-2.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================
 Package                Arch               Version                     Repository           Size
=================================================================================================
Installing:
 subversion             x86_64             1.6.11-15.el6_7             updates             2.3 M
Installing for dependencies:
 perl-URI               noarch             1.40-2.el6                  base                117 k

Transaction Summary
=================================================================================================
Install       2 Package(s)

Total download size: 2.4 M
Installed size: 12 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): perl-URI-1.40-2.el6.noarch.rpm                                     | 117 kB     00:00     
(2/2): subversion-1.6.11-15.el6_7.x86_64.rpm                              | 2.3 MB     00:01     
-------------------------------------------------------------------------------------------------
Total                                                            1.3 MB/s | 2.4 MB     00:01     
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Importing GPG key 0xC105B9DE:
 Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org>
 Package: centos-release-6-5.el6.centos.11.1.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : perl-URI-1.40-2.el6.noarch                                                    1/2 
  Installing : subversion-1.6.11-15.el6_7.x86_64                                             2/2 
  Verifying  : perl-URI-1.40-2.el6.noarch                                                    1/2 
  Verifying  : subversion-1.6.11-15.el6_7.x86_64                                             2/2 

Installed:
  subversion.x86_64 0:1.6.11-15.el6_7                                                            

Dependency Installed:
  perl-URI.noarch 0:1.40-2.el6                                                                   

Complete!

2.4使用yum安装autoconf automake libtool cmake

sudo yum install autoconf automake libtool cmake
[root@jxpaiwp01 apache-maven-3.3.3]# sudo yum install autoconf automake libtool cmake
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: centos.ustc.edu.cn
 * updates: mirrors.aliyun.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-4.el6 will be installed
---> Package cmake.x86_64 0:2.8.12.2-4.el6 will be installed
---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================
 Package               Arch                Version                       Repository         Size
=================================================================================================
Installing:
 autoconf              noarch              2.63-5.1.el6                  base              781 k
 automake              noarch              1.11.1-4.el6                  base              550 k
 cmake                 x86_64              2.8.12.2-4.el6                base              8.0 M
 libtool               x86_64              2.2.6-15.5.el6                base              564 k

Transaction Summary
=================================================================================================
Install       4 Package(s)

Total download size: 9.8 M
Installed size: 34 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): autoconf-2.63-5.1.el6.noarch.rpm                                   | 781 kB     00:00     
(2/4): automake-1.11.1-4.el6.noarch.rpm                                   | 550 kB     00:00     
(3/4): cmake-2.8.12.2-4.el6.x86_64.rpm                                    | 8.0 MB     00:20     
(4/4): libtool-2.2.6-15.5.el6.x86_64.rpm                                  | 564 kB     00:01     
-------------------------------------------------------------------------------------------------
Total                                                            424 kB/s | 9.8 MB     00:23     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : autoconf-2.63-5.1.el6.noarch                                                  1/4 
  Installing : automake-1.11.1-4.el6.noarch                                                  2/4 
  Installing : libtool-2.2.6-15.5.el6.x86_64                                                 3/4 
  Installing : cmake-2.8.12.2-4.el6.x86_64                                                   4/4 
  Verifying  : libtool-2.2.6-15.5.el6.x86_64                                                 1/4 
  Verifying  : cmake-2.8.12.2-4.el6.x86_64                                                   2/4 
  Verifying  : autoconf-2.63-5.1.el6.noarch                                                  3/4 
  Verifying  : automake-1.11.1-4.el6.noarch                                                  4/4 

Installed:
  autoconf.noarch 0:2.63-5.1.el6   automake.noarch 0:1.11.1-4.el6  cmake.x86_64 0:2.8.12.2-4.el6 
  libtool.x86_64 0:2.2.6-15.5.el6 

Complete!

2.5使用yum安装ncurses-devel

sudo yum install ncurses-devel

[root@jxpaiwp01 apache-maven-3.3.3]# sudo yum install ncurses-devel
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: centos.ustc.edu.cn
 * updates: mirrors.aliyun.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ncurses-devel.x86_64 0:5.7-4.20090207.el6 will be installed
--> Processing Dependency: ncurses-libs = 5.7-4.20090207.el6 for package: ncurses-devel-5.7-4.20090207.el6.x86_64
--> Running transaction check
---> Package ncurses-libs.x86_64 0:5.7-3.20090208.el6 will be updated
---> Package ncurses-libs.x86_64 0:5.7-4.20090207.el6 will be an update
--> Processing Dependency: ncurses-base = 5.7-4.20090207.el6 for package: ncurses-libs-5.7-4.20090207.el6.x86_64
--> Running transaction check
---> Package ncurses-base.x86_64 0:5.7-3.20090208.el6 will be updated
---> Package ncurses-base.x86_64 0:5.7-4.20090207.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================
 Package                  Arch              Version                        Repository       Size
=================================================================================================
Installing:
 ncurses-devel            x86_64            5.7-4.20090207.el6             base            641 k
Updating for dependencies:
 ncurses-base             x86_64            5.7-4.20090207.el6             base             61 k
 ncurses-libs             x86_64            5.7-4.20090207.el6             base            245 k

Transaction Summary
=================================================================================================
Install       1 Package(s)
Upgrade       2 Package(s)

Total download size: 947 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): ncurses-base-5.7-4.20090207.el6.x86_64.rpm                         |  61 kB     00:00     
(2/3): ncurses-devel-5.7-4.20090207.el6.x86_64.rpm                        | 641 kB     00:00     
(3/3): ncurses-libs-5.7-4.20090207.el6.x86_64.rpm                         | 245 kB     00:00     
-------------------------------------------------------------------------------------------------
Total                                                            1.2 MB/s | 947 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : ncurses-base-5.7-4.20090207.el6.x86_64                                        1/5 
  Updating   : ncurses-libs-5.7-4.20090207.el6.x86_64                                        2/5 
  Installing : ncurses-devel-5.7-4.20090207.el6.x86_64                                       3/5 
  Cleanup    : ncurses-libs-5.7-3.20090208.el6.x86_64                                        4/5 
  Cleanup    : ncurses-base-5.7-3.20090208.el6.x86_64                                        5/5 
  Verifying  : ncurses-libs-5.7-4.20090207.el6.x86_64                                        1/5 
  Verifying  : ncurses-devel-5.7-4.20090207.el6.x86_64                                       2/5 
  Verifying  : ncurses-base-5.7-4.20090207.el6.x86_64                                        3/5 
  Verifying  : ncurses-base-5.7-3.20090208.el6.x86_64                                        4/5 
  Verifying  : ncurses-libs-5.7-3.20090208.el6.x86_64                                        5/5 

Installed:
  ncurses-devel.x86_64 0:5.7-4.20090207.el6                                                      

Dependency Updated:
  ncurses-base.x86_64 0:5.7-4.20090207.el6        ncurses-libs.x86_64 0:5.7-4.20090207.el6       

Complete!

2.6使用yum安装openssl-devel

sudo yum install openssl-devel

[root@jxpaiwp01 apache-maven-3.3.3]# sudo yum install openssl-devel
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: centos.ustc.edu.cn
 * updates: mirrors.aliyun.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openssl-devel.x86_64 0:1.0.1e-42.el6 will be installed
--> Processing Dependency: openssl = 1.0.1e-42.el6 for package: openssl-devel-1.0.1e-42.el6.x86_64
--> Processing Dependency: zlib-devel for package: openssl-devel-1.0.1e-42.el6.x86_64
--> Processing Dependency: krb5-devel for package: openssl-devel-1.0.1e-42.el6.x86_64
--> Running transaction check
---> Package krb5-devel.x86_64 0:1.10.3-42.el6 will be installed
--> Processing Dependency: krb5-libs = 1.10.3-42.el6 for package: krb5-devel-1.10.3-42.el6.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.10.3-42.el6.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.10.3-42.el6.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.10.3-42.el6.x86_64
---> Package openssl.x86_64 0:1.0.1e-15.el6 will be updated
---> Package openssl.x86_64 0:1.0.1e-42.el6 will be an update
---> Package zlib-devel.x86_64 0:1.2.3-29.el6 will be installed
--> Running transaction check
---> Package keyutils-libs-devel.x86_64 0:1.4-5.el6 will be installed
--> Processing Dependency: keyutils-libs = 1.4-5.el6 for package: keyutils-libs-devel-1.4-5.el6.x86_64
---> Package krb5-libs.x86_64 0:1.10.3-10.el6_4.6 will be updated
---> Package krb5-libs.x86_64 0:1.10.3-42.el6 will be an update
---> Package libcom_err-devel.x86_64 0:1.41.12-22.el6 will be installed
--> Processing Dependency: libcom_err = 1.41.12-22.el6 for package: libcom_err-devel-1.41.12-22.el6.x86_64
---> Package libselinux-devel.x86_64 0:2.0.94-5.8.el6 will be installed
--> Processing Dependency: libselinux = 2.0.94-5.8.el6 for package: libselinux-devel-2.0.94-5.8.el6.x86_64
--> Processing Dependency: libsepol-devel >= 2.0.32-1 for package: libselinux-devel-2.0.94-5.8.el6.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.0.94-5.8.el6.x86_64
--> Running transaction check
---> Package keyutils-libs.x86_64 0:1.4-4.el6 will be updated
---> Package keyutils-libs.x86_64 0:1.4-5.el6 will be an update
---> Package libcom_err.x86_64 0:1.41.12-18.el6 will be updated
--> Processing Dependency: libcom_err = 1.41.12-18.el6 for package: e2fsprogs-libs-1.41.12-18.el6.x86_64
--> Processing Dependency: libcom_err = 1.41.12-18.el6 for package: libss-1.41.12-18.el6.x86_64
--> Processing Dependency: libcom_err = 1.41.12-18.el6 for package: e2fsprogs-1.41.12-18.el6.x86_64
---> Package libcom_err.x86_64 0:1.41.12-22.el6 will be an update
---> Package libselinux.x86_64 0:2.0.94-5.3.el6_4.1 will be updated
--> Processing Dependency: libselinux = 2.0.94-5.3.el6_4.1 for package: libselinux-python-2.0.94-5.3.el6_4.1.x86_64
--> Processing Dependency: libselinux = 2.0.94-5.3.el6_4.1 for package: libselinux-utils-2.0.94-5.3.el6_4.1.x86_64
---> Package libselinux.x86_64 0:2.0.94-5.8.el6 will be an update
---> Package libsepol-devel.x86_64 0:2.0.41-4.el6 will be installed
--> Running transaction check
---> Package e2fsprogs.x86_64 0:1.41.12-18.el6 will be updated
---> Package e2fsprogs.x86_64 0:1.41.12-22.el6 will be an update
---> Package e2fsprogs-libs.x86_64 0:1.41.12-18.el6 will be updated
---> Package e2fsprogs-libs.x86_64 0:1.41.12-22.el6 will be an update
---> Package libselinux-python.x86_64 0:2.0.94-5.3.el6_4.1 will be updated
---> Package libselinux-python.x86_64 0:2.0.94-5.8.el6 will be an update
---> Package libselinux-utils.x86_64 0:2.0.94-5.3.el6_4.1 will be updated
---> Package libselinux-utils.x86_64 0:2.0.94-5.8.el6 will be an update
---> Package libss.x86_64 0:1.41.12-18.el6 will be updated
---> Package libss.x86_64 0:1.41.12-22.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================
 Package                       Arch             Version                     Repository      Size
=================================================================================================
Installing:
 openssl-devel                 x86_64           1.0.1e-42.el6               base           1.2 M
Installing for dependencies:
 keyutils-libs-devel           x86_64           1.4-5.el6                   base            29 k
 krb5-devel                    x86_64           1.10.3-42.el6               base           502 k
 libcom_err-devel              x86_64           1.41.12-22.el6              base            33 k
 libselinux-devel              x86_64           2.0.94-5.8.el6              base           137 k
 libsepol-devel                x86_64           2.0.41-4.el6                base            64 k
 zlib-devel                    x86_64           1.2.3-29.el6                base            44 k
Updating for dependencies:
 e2fsprogs                     x86_64           1.41.12-22.el6              base           554 k
 e2fsprogs-libs                x86_64           1.41.12-22.el6              base           121 k
 keyutils-libs                 x86_64           1.4-5.el6                   base            20 k
 krb5-libs                     x86_64           1.10.3-42.el6               base           768 k
 libcom_err                    x86_64           1.41.12-22.el6              base            37 k
 libselinux                    x86_64           2.0.94-5.8.el6              base           108 k
 libselinux-python             x86_64           2.0.94-5.8.el6              base           203 k
 libselinux-utils              x86_64           2.0.94-5.8.el6              base            82 k
 libss                         x86_64           1.41.12-22.el6              base            42 k
 openssl                       x86_64           1.0.1e-42.el6               base           1.5 M

Transaction Summary
=================================================================================================
Install       7 Package(s)
Upgrade      10 Package(s)

Total download size: 5.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/17): e2fsprogs-1.41.12-22.el6.x86_64.rpm                               | 554 kB     00:00     
(2/17): e2fsprogs-libs-1.41.12-22.el6.x86_64.rpm                          | 121 kB     00:00     
(3/17): keyutils-libs-1.4-5.el6.x86_64.rpm                                |  20 kB     00:00     
(4/17): keyutils-libs-devel-1.4-5.el6.x86_64.rpm                          |  29 kB     00:00     
(5/17): krb5-devel-1.10.3-42.el6.x86_64.rpm                               | 502 kB     00:00     
(6/17): krb5-libs-1.10.3-42.el6.x86_64.rpm                                | 768 kB     00:00     
(7/17): libcom_err-1.41.12-22.el6.x86_64.rpm                              |  37 kB     00:00     
(8/17): libcom_err-devel-1.41.12-22.el6.x86_64.rpm                        |  33 kB     00:00     
(9/17): libselinux-2.0.94-5.8.el6.x86_64.rpm                              | 108 kB     00:00     
(10/17): libselinux-devel-2.0.94-5.8.el6.x86_64.rpm                       | 137 kB     00:00     
(11/17): libselinux-python-2.0.94-5.8.el6.x86_64.rpm                      | 203 kB     00:00     
(12/17): libselinux-utils-2.0.94-5.8.el6.x86_64.rpm                       |  82 kB     00:00     
(13/17): libsepol-devel-2.0.41-4.el6.x86_64.rpm                           |  64 kB     00:00     
(14/17): libss-1.41.12-22.el6.x86_64.rpm                                  |  42 kB     00:00     
(15/17): openssl-1.0.1e-42.el6.x86_64.rpm                                 | 1.5 MB     00:04     
(16/17): openssl-devel-1.0.1e-42.el6.x86_64.rpm                           | 1.2 MB     00:02     
(17/17): zlib-devel-1.2.3-29.el6.x86_64.rpm                               |  44 kB     00:00     
-------------------------------------------------------------------------------------------------
Total                                                            447 kB/s | 5.4 MB     00:12     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : libcom_err-1.41.12-22.el6.x86_64                                             1/27 
  Updating   : libselinux-2.0.94-5.8.el6.x86_64                                             2/27 
  Updating   : keyutils-libs-1.4-5.el6.x86_64                                               3/27 
  Updating   : krb5-libs-1.10.3-42.el6.x86_64                                               4/27 
  Updating   : openssl-1.0.1e-42.el6.x86_64                                                 5/27 
  Installing : keyutils-libs-devel-1.4-5.el6.x86_64                                         6/27 
  Updating   : libss-1.41.12-22.el6.x86_64                                                  7/27 
  Installing : libcom_err-devel-1.41.12-22.el6.x86_64                                       8/27 
  Updating   : e2fsprogs-libs-1.41.12-22.el6.x86_64                                         9/27 
  Installing : libsepol-devel-2.0.41-4.el6.x86_64                                          10/27 
  Installing : libselinux-devel-2.0.94-5.8.el6.x86_64                                      11/27 
  Installing : krb5-devel-1.10.3-42.el6.x86_64                                             12/27 
  Installing : zlib-devel-1.2.3-29.el6.x86_64                                              13/27 
  Installing : openssl-devel-1.0.1e-42.el6.x86_64                                          14/27 
  Updating   : e2fsprogs-1.41.12-22.el6.x86_64                                             15/27 
  Updating   : libselinux-utils-2.0.94-5.8.el6.x86_64                                      16/27 
  Updating   : libselinux-python-2.0.94-5.8.el6.x86_64                                     17/27 
  Cleanup    : e2fsprogs-1.41.12-18.el6.x86_64                                             18/27 
  Cleanup    : openssl-1.0.1e-15.el6.x86_64                                                19/27 
  Cleanup    : krb5-libs-1.10.3-10.el6_4.6.x86_64                                          20/27 
  Cleanup    : e2fsprogs-libs-1.41.12-18.el6.x86_64                                        21/27 
  Cleanup    : libss-1.41.12-18.el6.x86_64                                                 22/27 
  Cleanup    : libselinux-python-2.0.94-5.3.el6_4.1.x86_64                                 23/27 
  Cleanup    : libselinux-utils-2.0.94-5.3.el6_4.1.x86_64                                  24/27 
  Cleanup    : libselinux-2.0.94-5.3.el6_4.1.x86_64                                        25/27 
  Cleanup    : libcom_err-1.41.12-18.el6.x86_64                                            26/27 
  Cleanup    : keyutils-libs-1.4-4.el6.x86_64                                              27/27 
  Verifying  : krb5-devel-1.10.3-42.el6.x86_64                                              1/27 
  Verifying  : keyutils-libs-devel-1.4-5.el6.x86_64                                         2/27 
  Verifying  : libss-1.41.12-22.el6.x86_64                                                  3/27 
  Verifying  : libselinux-utils-2.0.94-5.8.el6.x86_64                                       4/27 
  Verifying  : openssl-1.0.1e-42.el6.x86_64                                                 5/27 
  Verifying  : zlib-devel-1.2.3-29.el6.x86_64                                               6/27 
  Verifying  : keyutils-libs-1.4-5.el6.x86_64                                               7/27 
  Verifying  : libcom_err-devel-1.41.12-22.el6.x86_64                                       8/27 
  Verifying  : e2fsprogs-1.41.12-22.el6.x86_64                                              9/27 
  Verifying  : krb5-libs-1.10.3-42.el6.x86_64                                              10/27 
  Verifying  : libselinux-2.0.94-5.8.el6.x86_64                                            11/27 
  Verifying  : libsepol-devel-2.0.41-4.el6.x86_64                                          12/27 
  Verifying  : openssl-devel-1.0.1e-42.el6.x86_64                                          13/27 
  Verifying  : libselinux-devel-2.0.94-5.8.el6.x86_64                                      14/27 
  Verifying  : libcom_err-1.41.12-22.el6.x86_64                                            15/27 
  Verifying  : libselinux-python-2.0.94-5.8.el6.x86_64                                     16/27 
  Verifying  : e2fsprogs-libs-1.41.12-22.el6.x86_64                                        17/27 
  Verifying  : e2fsprogs-1.41.12-18.el6.x86_64                                             18/27 
  Verifying  : libselinux-2.0.94-5.3.el6_4.1.x86_64                                        19/27 
  Verifying  : openssl-1.0.1e-15.el6.x86_64                                                20/27 
  Verifying  : libselinux-utils-2.0.94-5.3.el6_4.1.x86_64                                  21/27 
  Verifying  : libcom_err-1.41.12-18.el6.x86_64                                            22/27 
  Verifying  : e2fsprogs-libs-1.41.12-18.el6.x86_64                                        23/27 
  Verifying  : libselinux-python-2.0.94-5.3.el6_4.1.x86_64                                 24/27 
  Verifying  : krb5-libs-1.10.3-10.el6_4.6.x86_64                                          25/27 
  Verifying  : libss-1.41.12-18.el6.x86_64                                                 26/27 
  Verifying  : keyutils-libs-1.4-4.el6.x86_64                                              27/27 

Installed:
  openssl-devel.x86_64 0:1.0.1e-42.el6                                                           

Dependency Installed:
  keyutils-libs-devel.x86_64 0:1.4-5.el6          krb5-devel.x86_64 0:1.10.3-42.el6              
  libcom_err-devel.x86_64 0:1.41.12-22.el6        libselinux-devel.x86_64 0:2.0.94-5.8.el6       
  libsepol-devel.x86_64 0:2.0.41-4.el6            zlib-devel.x86_64 0:1.2.3-29.el6               

Dependency Updated:
  e2fsprogs.x86_64 0:1.41.12-22.el6               e2fsprogs-libs.x86_64 0:1.41.12-22.el6        
  keyutils-libs.x86_64 0:1.4-5.el6                krb5-libs.x86_64 0:1.10.3-42.el6              
  libcom_err.x86_64 0:1.41.12-22.el6              libselinux.x86_64 0:2.0.94-5.8.el6            
  libselinux-python.x86_64 0:2.0.94-5.8.el6       libselinux-utils.x86_64 0:2.0.94-5.8.el6      
  libss.x86_64 0:1.41.12-22.el6                   openssl.x86_64 0:1.0.1e-42.el6                

Complete!

2.7使用yum安装gcc*

sudo yum install gcc*


[root@jxpaiwp01 apache-maven-3.3.3]# sudo yum install gcc*
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: centos.ustc.edu.cn
 * updates: mirrors.aliyun.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.4.7-4.el6 will be updated
---> Package gcc.x86_64 0:4.4.7-16.el6 will be an update
--> Processing Dependency: libgomp = 4.4.7-16.el6 for package: gcc-4.4.7-16.el6.x86_64
--> Processing Dependency: cpp = 4.4.7-16.el6 for package: gcc-4.4.7-16.el6.x86_64
--> Processing Dependency: libgcc >= 4.4.7-16.el6 for package: gcc-4.4.7-16.el6.x86_64
---> Package gcc-c++.x86_64 0:4.4.7-16.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.7-16.el6 for package: gcc-c++-4.4.7-16.el6.x86_64
--> Processing Dependency: libstdc++ = 4.4.7-16.el6 for package: gcc-c++-4.4.7-16.el6.x86_64
---> Package gcc-gfortran.x86_64 0:4.4.7-16.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.7-16.el6 for package: gcc-gfortran-4.4.7-16.el6.x86_64
--> Processing Dependency: libgfortran.so.3()(64bit) for package: gcc-gfortran-4.4.7-16.el6.x86_64
---> Package gcc-gnat.x86_64 0:4.4.7-16.el6 will be installed
--> Processing Dependency: libgnat-devel = 4.4.7-16.el6 for package: gcc-gnat-4.4.7-16.el6.x86_64
--> Processing Dependency: libgnat = 4.4.7-16.el6 for package: gcc-gnat-4.4.7-16.el6.x86_64
---> Package gcc-java.x86_64 0:4.4.7-16.el6 will be installed
--> Processing Dependency: libgcj-devel = 4.4.7-16.el6 for package: gcc-java-4.4.7-16.el6.x86_64
--> Processing Dependency: libgcj = 4.4.7-16.el6 for package: gcc-java-4.4.7-16.el6.x86_64
--> Processing Dependency: /usr/share/java/eclipse-ecj.jar for package: gcc-java-4.4.7-16.el6.x86_64
--> Processing Dependency: libgij.so.10()(64bit) for package: gcc-java-4.4.7-16.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gcc-java-4.4.7-16.el6.x86_64
--> Processing Dependency: libgcj.so.10()(64bit) for package: gcc-java-4.4.7-16.el6.x86_64
--> Processing Dependency: libgcj-tools.so.10()(64bit) for package: gcc-java-4.4.7-16.el6.x86_64
---> Package gcc-objc.x86_64 0:4.4.7-16.el6 will be installed
--> Processing Dependency: libobjc = 4.4.7-16.el6 for package: gcc-objc-4.4.7-16.el6.x86_64
--> Processing Dependency: libobjc.so.2()(64bit) for package: gcc-objc-4.4.7-16.el6.x86_64
---> Package gcc-objc++.x86_64 0:4.4.7-16.el6 will be installed
--> Running transaction check
---> Package cpp.x86_64 0:4.4.7-4.el6 will be updated
---> Package cpp.x86_64 0:4.4.7-16.el6 will be an update
---> Package ecj.x86_64 1:3.4.2-6.el6 will be installed
--> Processing Dependency: java-gcj-compat for package: 1:ecj-3.4.2-6.el6.x86_64
--> Processing Dependency: java-gcj-compat for package: 1:ecj-3.4.2-6.el6.x86_64
---> Package libgcc.x86_64 0:4.4.7-4.el6 will be updated
---> Package libgcc.x86_64 0:4.4.7-16.el6 will be an update
---> Package libgcj.x86_64 0:4.4.7-16.el6 will be installed
---> Package libgcj-devel.x86_64 0:4.4.7-16.el6 will be installed
---> Package libgfortran.x86_64 0:4.4.7-16.el6 will be installed
---> Package libgnat.x86_64 0:4.4.7-16.el6 will be installed
---> Package libgnat-devel.x86_64 0:4.4.7-16.el6 will be installed
---> Package libgomp.x86_64 0:4.4.7-4.el6 will be updated
---> Package libgomp.x86_64 0:4.4.7-16.el6 will be an update
---> Package libobjc.x86_64 0:4.4.7-16.el6 will be installed
---> Package libstdc++.x86_64 0:4.4.7-4.el6 will be updated
---> Package libstdc++.x86_64 0:4.4.7-16.el6 will be an update
---> Package libstdc++-devel.x86_64 0:4.4.7-16.el6 will be installed
--> Running transaction check
---> Package java-1.5.0-gcj.x86_64 0:1.5.0.0-29.1.el6 will be installed
--> Processing Dependency: jpackage-utils >= 1.7.3 for package: java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64
--> Processing Dependency: sinjdoc for package: java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64
--> Running transaction check
---> Package jpackage-utils.noarch 0:1.7.5-3.14.el6 will be installed
---> Package sinjdoc.x86_64 0:0.5-9.1.el6 will be installed
--> Processing Dependency: java_cup >= 0.10 for package: sinjdoc-0.5-9.1.el6.x86_64
--> Running transaction check
---> Package java_cup.x86_64 1:0.10k-5.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================
 Package                    Arch              Version                      Repository       Size
=================================================================================================
Installing:
 gcc-c++                    x86_64            4.4.7-16.el6                 base            4.7 M
 gcc-gfortran               x86_64            4.4.7-16.el6                 base            4.7 M
 gcc-gnat                   x86_64            4.4.7-16.el6                 base            8.7 M
 gcc-java                   x86_64            4.4.7-16.el6                 base            3.7 M
 gcc-objc                   x86_64            4.4.7-16.el6                 base            3.6 M
 gcc-objc++                 x86_64            4.4.7-16.el6                 base            4.0 M
Updating:
 gcc                        x86_64            4.4.7-16.el6                 base             10 M
Installing for dependencies:
 ecj                        x86_64            1:3.4.2-6.el6                base            2.8 M
 java-1.5.0-gcj             x86_64            1.5.0.0-29.1.el6             base            139 k
 java_cup                   x86_64            1:0.10k-5.el6                base            197 k
 jpackage-utils             noarch            1.7.5-3.14.el6               base             60 k
 libgcj                     x86_64            4.4.7-16.el6                 base             19 M
 libgcj-devel               x86_64            4.4.7-16.el6                 base            1.6 M
 libgfortran                x86_64            4.4.7-16.el6                 base            267 k
 libgnat                    x86_64            4.4.7-16.el6                 base            910 k
 libgnat-devel              x86_64            4.4.7-16.el6                 base            3.3 M
 libobjc                    x86_64            4.4.7-16.el6                 base             92 k
 libstdc++-devel            x86_64            4.4.7-16.el6                 base            1.6 M
 sinjdoc                    x86_64            0.5-9.1.el6                  base            705 k
Updating for dependencies:
 cpp                        x86_64            4.4.7-16.el6                 base            3.7 M
 libgcc                     x86_64            4.4.7-16.el6                 base            103 k
 libgomp                    x86_64            4.4.7-16.el6                 base            134 k
 libstdc++                  x86_64            4.4.7-16.el6                 base            295 k

Transaction Summary
=================================================================================================
Install      18 Package(s)
Upgrade       5 Package(s)

Total download size: 74 M
Is this ok [y/N]: y
Downloading Packages:
(1/23): cpp-4.4.7-16.el6.x86_64.rpm                                       | 3.7 MB     00:11     
(2/23): ecj-3.4.2-6.el6.x86_64.rpm                                        | 2.8 MB     00:05     
(3/23): gcc-4.4.7-16.el6.x86_64.rpm                                       |  10 MB     00:21     
(4/23): gcc-c++-4.4.7-16.el6.x86_64.rpm                                   | 4.7 MB     00:11     
(5/23): gcc-gfortran-4.4.7-16.el6.x86_64.rpm                              | 4.7 MB     00:09     
(6/23): gcc-gnat-4.4.7-16.el6.x86_64.rpm                                  | 8.7 MB     00:11     
(7/23): gcc-java-4.4.7-16.el6.x86_64.rpm                                  | 3.7 MB     00:07     
(8/23): gcc-objc-4.4.7-16.el6.x86_64.rpm                                  | 3.6 MB     00:01     
(9/23): gcc-objc++-4.4.7-16.el6.x86_64.rpm                                | 4.0 MB     00:02     
(10/23): java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64.rpm                       | 139 kB     00:00     
(11/23): java_cup-0.10k-5.el6.x86_64.rpm                                  | 197 kB     00:00     
(12/23): jpackage-utils-1.7.5-3.14.el6.noarch.rpm                         |  60 kB     00:00     
(13/23): libgcc-4.4.7-16.el6.x86_64.rpm                                   | 103 kB     00:00     
(14/23): libgcj-4.4.7-16.el6.x86_64.rpm                                   |  19 MB     00:11     
(15/23): libgcj-devel-4.4.7-16.el6.x86_64.rpm                             | 1.6 MB     00:00     
(16/23): libgfortran-4.4.7-16.el6.x86_64.rpm                              | 267 kB     00:00     
(17/23): libgnat-4.4.7-16.el6.x86_64.rpm                                  | 910 kB     00:00     
(18/23): libgnat-devel-4.4.7-16.el6.x86_64.rpm                            | 3.3 MB     00:01     
(19/23): libgomp-4.4.7-16.el6.x86_64.rpm                                  | 134 kB     00:00     
(20/23): libobjc-4.4.7-16.el6.x86_64.rpm                                  |  92 kB     00:00     
(21/23): libstdc++-4.4.7-16.el6.x86_64.rpm                                | 295 kB     00:00     
(22/23): libstdc++-devel-4.4.7-16.el6.x86_64.rpm                          | 1.6 MB     00:00     
(23/23): sinjdoc-0.5-9.1.el6.x86_64.rpm                                   | 705 kB     00:00     
-------------------------------------------------------------------------------------------------
Total                                                            761 kB/s |  74 MB     01:39     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : libgcc-4.4.7-16.el6.x86_64                                                   1/28 
  Installing : libgcj-4.4.7-16.el6.x86_64                                                   2/28 
  Updating   : libstdc++-4.4.7-16.el6.x86_64                                                3/28 
  Installing : libgnat-4.4.7-16.el6.x86_64                                                  4/28 
  Installing : libgnat-devel-4.4.7-16.el6.x86_64                                            5/28 
  Installing : libstdc++-devel-4.4.7-16.el6.x86_64                                          6/28 
  Installing : libgcj-devel-4.4.7-16.el6.x86_64                                             7/28 
  Installing : libobjc-4.4.7-16.el6.x86_64                                                  8/28 
  Installing : jpackage-utils-1.7.5-3.14.el6.noarch                                         9/28 
  Installing : java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64                                      10/28 
  Installing : 1:java_cup-0.10k-5.el6.x86_64                                               11/28 
  Installing : sinjdoc-0.5-9.1.el6.x86_64                                                  12/28 
  Installing : 1:ecj-3.4.2-6.el6.x86_64                                                    13/28 
  Updating   : cpp-4.4.7-16.el6.x86_64                                                     14/28 
  Installing : libgfortran-4.4.7-16.el6.x86_64                                             15/28 
  Updating   : libgomp-4.4.7-16.el6.x86_64                                                 16/28 
  Updating   : gcc-4.4.7-16.el6.x86_64                                                     17/28 
  Installing : gcc-c++-4.4.7-16.el6.x86_64                                                 18/28 
  Installing : gcc-objc-4.4.7-16.el6.x86_64                                                19/28 
  Installing : gcc-objc++-4.4.7-16.el6.x86_64                                              20/28 
  Installing : gcc-gnat-4.4.7-16.el6.x86_64                                                21/28 
  Installing : gcc-gfortran-4.4.7-16.el6.x86_64                                            22/28 
  Installing : gcc-java-4.4.7-16.el6.x86_64                                                23/28 
  Cleanup    : gcc-4.4.7-4.el6.x86_64                                                      24/28 
  Cleanup    : libstdc++-4.4.7-4.el6.x86_64                                                25/28 
  Cleanup    : libgcc-4.4.7-4.el6.x86_64                                                   26/28 
  Cleanup    : cpp-4.4.7-4.el6.x86_64                                                      27/28 
  Cleanup    : libgomp-4.4.7-4.el6.x86_64                                                  28/28 
  Verifying  : libgomp-4.4.7-16.el6.x86_64                                                  1/28 
  Verifying  : libgfortran-4.4.7-16.el6.x86_64                                              2/28 
  Verifying  : gcc-c++-4.4.7-16.el6.x86_64                                                  3/28 
  Verifying  : 1:java_cup-0.10k-5.el6.x86_64                                                4/28 
  Verifying  : gcc-gnat-4.4.7-16.el6.x86_64                                                 5/28 
  Verifying  : gcc-gfortran-4.4.7-16.el6.x86_64                                             6/28 
  Verifying  : sinjdoc-0.5-9.1.el6.x86_64                                                   7/28 
  Verifying  : libgcj-devel-4.4.7-16.el6.x86_64                                             8/28 
  Verifying  : gcc-java-4.4.7-16.el6.x86_64                                                 9/28 
  Verifying  : libstdc++-4.4.7-16.el6.x86_64                                               10/28 
  Verifying  : cpp-4.4.7-16.el6.x86_64                                                     11/28 
  Verifying  : libgcj-4.4.7-16.el6.x86_64                                                  12/28 
  Verifying  : libgcc-4.4.7-16.el6.x86_64                                                  13/28 
  Verifying  : java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64                                      14/28 
  Verifying  : libobjc-4.4.7-16.el6.x86_64                                                 15/28 
  Verifying  : gcc-4.4.7-16.el6.x86_64                                                     16/28 
  Verifying  : gcc-objc-4.4.7-16.el6.x86_64                                                17/28 
  Verifying  : libstdc++-devel-4.4.7-16.el6.x86_64                                         18/28 
  Verifying  : gcc-objc++-4.4.7-16.el6.x86_64                                              19/28 
  Verifying  : jpackage-utils-1.7.5-3.14.el6.noarch                                        20/28 
  Verifying  : libgnat-devel-4.4.7-16.el6.x86_64                                           21/28 
  Verifying  : 1:ecj-3.4.2-6.el6.x86_64                                                    22/28 
  Verifying  : libgnat-4.4.7-16.el6.x86_64                                                 23/28 
  Verifying  : cpp-4.4.7-4.el6.x86_64                                                      24/28 
  Verifying  : libstdc++-4.4.7-4.el6.x86_64                                                25/28 
  Verifying  : libgomp-4.4.7-4.el6.x86_64                                                  26/28 
  Verifying  : gcc-4.4.7-4.el6.x86_64                                                      27/28 
  Verifying  : libgcc-4.4.7-4.el6.x86_64                                                   28/28 

Installed:
  gcc-c++.x86_64 0:4.4.7-16.el6                 gcc-gfortran.x86_64 0:4.4.7-16.el6               
  gcc-gnat.x86_64 0:4.4.7-16.el6                gcc-java.x86_64 0:4.4.7-16.el6                   
  gcc-objc.x86_64 0:4.4.7-16.el6                gcc-objc++.x86_64 0:4.4.7-16.el6                 

Dependency Installed:
  ecj.x86_64 1:3.4.2-6.el6                      java-1.5.0-gcj.x86_64 0:1.5.0.0-29.1.el6        
  java_cup.x86_64 1:0.10k-5.el6                 jpackage-utils.noarch 0:1.7.5-3.14.el6          
  libgcj.x86_64 0:4.4.7-16.el6                  libgcj-devel.x86_64 0:4.4.7-16.el6              
  libgfortran.x86_64 0:4.4.7-16.el6             libgnat.x86_64 0:4.4.7-16.el6                   
  libgnat-devel.x86_64 0:4.4.7-16.el6           libobjc.x86_64 0:4.4.7-16.el6                   
  libstdc++-devel.x86_64 0:4.4.7-16.el6         sinjdoc.x86_64 0:0.5-9.1.el6                    

Updated:
  gcc.x86_64 0:4.4.7-16.el6                                                                      

Dependency Updated:
  cpp.x86_64 0:4.4.7-16.el6        libgcc.x86_64 0:4.4.7-16.el6  libgomp.x86_64 0:4.4.7-16.el6 
  libstdc++.x86_64 0:4.4.7-16.el6 

Complete!

2.8安装并设置protobuf

2.8.1下载protobuf-2.5.0.tar.gz
2.8.2解压安装包并把protobuf-2.5.0目录转移到/app/lib目录下
[root@jxpaiwp01 apache-maven-3.3.3]# cd /home/jxpaiwp/software/
[root@jxpaiwp01 software]# tar -zxf protobuf-2.5.0.tar.gz 
[root@jxpaiwp01 software]# mv protobuf-2.5.0 /app/lib/
2.8.3进入目录运行命令

进入目录运行命令

cd /app/lib/protobuf-2.5.0/
sudo ./configure
 
sudo make
sudo make check
sudo make install

[root@jxpaiwp01 software]# cd /app/lib/protobuf-2.5.0/
[root@jxpaiwp01 protobuf-2.5.0]# sudo make
[root@jxpaiwp01 protobuf-2.5.0]# sudo make check
[root@jxpaiwp01 protobuf-2.5.0]# sudo make install

sudo ./configure运行结果

[root@jxpaiwp01 protobuf-2.5.0]# sudo ./configure
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking C++ compiler flags...... use default: -O2  -g -DNDEBUG
checking whether __SUNPRO_CC is declared... no
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working memcmp... yes
checking for working strtod... yes
checking for ftruncate... yes
checking for memset... yes
checking for mkdir... yes
checking for strchr... yes
checking for strerror... yes
checking for strtol... yes
checking zlib version... ok (1.2.0.4 or later)
checking for library containing zlibVersion... -lz
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether to check for GCC pthread/shared inconsistencies... yes
checking whether -pthread is sufficient with -shared... yes
checking whether what we have so far is sufficient with -nostdlib... no
checking whether -lpthread saves the day... yes
checking the location of hash_map... <tr1/unordered_map>
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating protobuf.pc
config.status: creating protobuf-lite.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in gtest (/app/lib/protobuf-2.5.0/gtest)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for python... /usr/bin/python
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether to check for GCC pthread/shared inconsistencies... yes
checking whether -pthread is sufficient with -shared... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/gtest-config
config.status: creating build-aux/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
sudo make运行结果

运行结果有点久,需要等待下,下面最后的信息

rite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT printer.lo -MD -MP -MF .deps/printer.Tpo -c -o printer.lo `test -f 'google/protobuf/io/printer.cc' || echo './'`google/protobuf/io/printer.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT printer.lo -MD -MP -MF .deps/printer.Tpo -c google/protobuf/io/printer.cc  -fPIC -DPIC -o .libs/printer.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT printer.lo -MD -MP -MF .deps/printer.Tpo -c google/protobuf/io/printer.cc -o printer.o >/dev/null 2>&1
mv -f .deps/printer.Tpo .deps/printer.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT tokenizer.lo -MD -MP -MF .deps/tokenizer.Tpo -c -o tokenizer.lo `test -f 'google/protobuf/io/tokenizer.cc' || echo './'`google/protobuf/io/tokenizer.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT tokenizer.lo -MD -MP -MF .deps/tokenizer.Tpo -c google/protobuf/io/tokenizer.cc  -fPIC -DPIC -o .libs/tokenizer.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT tokenizer.lo -MD -MP -MF .deps/tokenizer.Tpo -c google/protobuf/io/tokenizer.cc -o tokenizer.o >/dev/null 2>&1
mv -f .deps/tokenizer.Tpo .deps/tokenizer.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT zero_copy_stream_impl.lo -MD -MP -MF .deps/zero_copy_stream_impl.Tpo -c -o zero_copy_stream_impl.lo `test -f 'google/protobuf/io/zero_copy_stream_impl.cc' || echo './'`google/protobuf/io/zero_copy_stream_impl.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT zero_copy_stream_impl.lo -MD -MP -MF .deps/zero_copy_stream_impl.Tpo -c google/protobuf/io/zero_copy_stream_impl.cc  -fPIC -DPIC -o .libs/zero_copy_stream_impl.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT zero_copy_stream_impl.lo -MD -MP -MF .deps/zero_copy_stream_impl.Tpo -c google/protobuf/io/zero_copy_stream_impl.cc -o zero_copy_stream_impl.o >/dev/null 2>&1
mv -f .deps/zero_copy_stream_impl.Tpo .deps/zero_copy_stream_impl.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT importer.lo -MD -MP -MF .deps/importer.Tpo -c -o importer.lo `test -f 'google/protobuf/compiler/importer.cc' || echo './'`google/protobuf/compiler/importer.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT importer.lo -MD -MP -MF .deps/importer.Tpo -c google/protobuf/compiler/importer.cc  -fPIC -DPIC -o .libs/importer.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT importer.lo -MD -MP -MF .deps/importer.Tpo -c google/protobuf/compiler/importer.cc -o importer.o >/dev/null 2>&1
mv -f .deps/importer.Tpo .deps/importer.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c -o parser.lo `test -f 'google/protobuf/compiler/parser.cc' || echo './'`google/protobuf/compiler/parser.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c google/protobuf/compiler/parser.cc  -fPIC -DPIC -o .libs/parser.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c google/protobuf/compiler/parser.cc -o parser.o >/dev/null 2>&1
mv -f .deps/parser.Tpo .deps/parser.Plo
/bin/sh ../libtool --tag=CXX   --mode=link g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -version-info 8:0:0 -export-dynamic -no-undefined  -o libprotobuf.la -rpath /usr/local/lib atomicops_internals_x86_gcc.lo atomicops_internals_x86_msvc.lo common.lo once.lo stringprintf.lo extension_set.lo generated_message_util.lo message_lite.lo repeated_field.lo wire_format_lite.lo coded_stream.lo zero_copy_stream.lo zero_copy_stream_impl_lite.lo strutil.lo substitute.lo structurally_valid.lo descriptor.lo descriptor.pb.lo descriptor_database.lo dynamic_message.lo extension_set_heavy.lo generated_message_reflection.lo message.lo reflection_ops.lo service.lo text_format.lo unknown_field_set.lo wire_format.lo gzip_stream.lo printer.lo tokenizer.lo zero_copy_stream_impl.lo importer.lo parser.lo -lpthread -lz 
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtbeginS.o  .libs/atomicops_internals_x86_gcc.o .libs/atomicops_internals_x86_msvc.o .libs/common.o .libs/once.o .libs/stringprintf.o .libs/extension_set.o .libs/generated_message_util.o .libs/message_lite.o .libs/repeated_field.o .libs/wire_format_lite.o .libs/coded_stream.o .libs/zero_copy_stream.o .libs/zero_copy_stream_impl_lite.o .libs/strutil.o .libs/substitute.o .libs/structurally_valid.o .libs/descriptor.o .libs/descriptor.pb.o .libs/descriptor_database.o .libs/dynamic_message.o .libs/extension_set_heavy.o .libs/generated_message_reflection.o .libs/message.o .libs/reflection_ops.o .libs/service.o .libs/text_format.o .libs/unknown_field_set.o .libs/wire_format.o .libs/gzip_stream.o .libs/printer.o .libs/tokenizer.o .libs/zero_copy_stream_impl.o .libs/importer.o .libs/parser.o   -lpthread -lz -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crtn.o  -pthread -O2   -pthread -Wl,-soname -Wl,libprotobuf.so.8 -o .libs/libprotobuf.so.8.0.0
libtool: link: (cd ".libs" && rm -f "libprotobuf.so.8" && ln -s "libprotobuf.so.8.0.0" "libprotobuf.so.8")
libtool: link: (cd ".libs" && rm -f "libprotobuf.so" && ln -s "libprotobuf.so.8.0.0" "libprotobuf.so")
libtool: link: ar cru .libs/libprotobuf.a  atomicops_internals_x86_gcc.o atomicops_internals_x86_msvc.o common.o once.o stringprintf.o extension_set.o generated_message_util.o message_lite.o repeated_field.o wire_format_lite.o coded_stream.o zero_copy_stream.o zero_copy_stream_impl_lite.o strutil.o substitute.o structurally_valid.o descriptor.o descriptor.pb.o descriptor_database.o dynamic_message.o extension_set_heavy.o generated_message_reflection.o message.o reflection_ops.o service.o text_format.o unknown_field_set.o wire_format.o gzip_stream.o printer.o tokenizer.o zero_copy_stream_impl.o importer.o parser.o
libtool: link: ranlib .libs/libprotobuf.a
libtool: link: ( cd ".libs" && rm -f "libprotobuf.la" && ln -s "../libprotobuf.la" "libprotobuf.la" )
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT code_generator.lo -MD -MP -MF .deps/code_generator.Tpo -c -o code_generator.lo `test -f 'google/protobuf/compiler/code_generator.cc' || echo './'`google/protobuf/compiler/code_generator.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT code_generator.lo -MD -MP -MF .deps/code_generator.Tpo -c google/protobuf/compiler/code_generator.cc  -fPIC -DPIC -o .libs/code_generator.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT code_generator.lo -MD -MP -MF .deps/code_generator.Tpo -c google/protobuf/compiler/code_generator.cc -o code_generator.o >/dev/null 2>&1
mv -f .deps/code_generator.Tpo .deps/code_generator.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT command_line_interface.lo -MD -MP -MF .deps/command_line_interface.Tpo -c -o command_line_interface.lo `test -f 'google/protobuf/compiler/command_line_interface.cc' || echo './'`google/protobuf/compiler/command_line_interface.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT command_line_interface.lo -MD -MP -MF .deps/command_line_interface.Tpo -c google/protobuf/compiler/command_line_interface.cc  -fPIC -DPIC -o .libs/command_line_interface.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT command_line_interface.lo -MD -MP -MF .deps/command_line_interface.Tpo -c google/protobuf/compiler/command_line_interface.cc -o command_line_interface.o >/dev/null 2>&1
mv -f .deps/command_line_interface.Tpo .deps/command_line_interface.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT plugin.lo -MD -MP -MF .deps/plugin.Tpo -c -o plugin.lo `test -f 'google/protobuf/compiler/plugin.cc' || echo './'`google/protobuf/compiler/plugin.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT plugin.lo -MD -MP -MF .deps/plugin.Tpo -c google/protobuf/compiler/plugin.cc  -fPIC -DPIC -o .libs/plugin.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT plugin.lo -MD -MP -MF .deps/plugin.Tpo -c google/protobuf/compiler/plugin.cc -o plugin.o >/dev/null 2>&1
mv -f .deps/plugin.Tpo .deps/plugin.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT plugin.pb.lo -MD -MP -MF .deps/plugin.pb.Tpo -c -o plugin.pb.lo `test -f 'google/protobuf/compiler/plugin.pb.cc' || echo './'`google/protobuf/compiler/plugin.pb.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT plugin.pb.lo -MD -MP -MF .deps/plugin.pb.Tpo -c google/protobuf/compiler/plugin.pb.cc  -fPIC -DPIC -o .libs/plugin.pb.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT plugin.pb.lo -MD -MP -MF .deps/plugin.pb.Tpo -c google/protobuf/compiler/plugin.pb.cc -o plugin.pb.o >/dev/null 2>&1
mv -f .deps/plugin.pb.Tpo .deps/plugin.pb.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT subprocess.lo -MD -MP -MF .deps/subprocess.Tpo -c -o subprocess.lo `test -f 'google/protobuf/compiler/subprocess.cc' || echo './'`google/protobuf/compiler/subprocess.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT subprocess.lo -MD -MP -MF .deps/subprocess.Tpo -c google/protobuf/compiler/subprocess.cc  -fPIC -DPIC -o .libs/subprocess.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT subprocess.lo -MD -MP -MF .deps/subprocess.Tpo -c google/protobuf/compiler/subprocess.cc -o subprocess.o >/dev/null 2>&1
mv -f .deps/subprocess.Tpo .deps/subprocess.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT zip_writer.lo -MD -MP -MF .deps/zip_writer.Tpo -c -o zip_writer.lo `test -f 'google/protobuf/compiler/zip_writer.cc' || echo './'`google/protobuf/compiler/zip_writer.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT zip_writer.lo -MD -MP -MF .deps/zip_writer.Tpo -c google/protobuf/compiler/zip_writer.cc  -fPIC -DPIC -o .libs/zip_writer.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT zip_writer.lo -MD -MP -MF .deps/zip_writer.Tpo -c google/protobuf/compiler/zip_writer.cc -o zip_writer.o >/dev/null 2>&1
mv -f .deps/zip_writer.Tpo .deps/zip_writer.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_enum.lo -MD -MP -MF .deps/cpp_enum.Tpo -c -o cpp_enum.lo `test -f 'google/protobuf/compiler/cpp/cpp_enum.cc' || echo './'`google/protobuf/compiler/cpp/cpp_enum.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_enum.lo -MD -MP -MF .deps/cpp_enum.Tpo -c google/protobuf/compiler/cpp/cpp_enum.cc  -fPIC -DPIC -o .libs/cpp_enum.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_enum.lo -MD -MP -MF .deps/cpp_enum.Tpo -c google/protobuf/compiler/cpp/cpp_enum.cc -o cpp_enum.o >/dev/null 2>&1
mv -f .deps/cpp_enum.Tpo .deps/cpp_enum.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_enum_field.lo -MD -MP -MF .deps/cpp_enum_field.Tpo -c -o cpp_enum_field.lo `test -f 'google/protobuf/compiler/cpp/cpp_enum_field.cc' || echo './'`google/protobuf/compiler/cpp/cpp_enum_field.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_enum_field.lo -MD -MP -MF .deps/cpp_enum_field.Tpo -c google/protobuf/compiler/cpp/cpp_enum_field.cc  -fPIC -DPIC -o .libs/cpp_enum_field.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_enum_field.lo -MD -MP -MF .deps/cpp_enum_field.Tpo -c google/protobuf/compiler/cpp/cpp_enum_field.cc -o cpp_enum_field.o >/dev/null 2>&1
mv -f .deps/cpp_enum_field.Tpo .deps/cpp_enum_field.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_extension.lo -MD -MP -MF .deps/cpp_extension.Tpo -c -o cpp_extension.lo `test -f 'google/protobuf/compiler/cpp/cpp_extension.cc' || echo './'`google/protobuf/compiler/cpp/cpp_extension.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_extension.lo -MD -MP -MF .deps/cpp_extension.Tpo -c google/protobuf/compiler/cpp/cpp_extension.cc  -fPIC -DPIC -o .libs/cpp_extension.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_extension.lo -MD -MP -MF .deps/cpp_extension.Tpo -c google/protobuf/compiler/cpp/cpp_extension.cc -o cpp_extension.o >/dev/null 2>&1
mv -f .deps/cpp_extension.Tpo .deps/cpp_extension.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_field.lo -MD -MP -MF .deps/cpp_field.Tpo -c -o cpp_field.lo `test -f 'google/protobuf/compiler/cpp/cpp_field.cc' || echo './'`google/protobuf/compiler/cpp/cpp_field.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_field.lo -MD -MP -MF .deps/cpp_field.Tpo -c google/protobuf/compiler/cpp/cpp_field.cc  -fPIC -DPIC -o .libs/cpp_field.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_field.lo -MD -MP -MF .deps/cpp_field.Tpo -c google/protobuf/compiler/cpp/cpp_field.cc -o cpp_field.o >/dev/null 2>&1
mv -f .deps/cpp_field.Tpo .deps/cpp_field.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_file.lo -MD -MP -MF .deps/cpp_file.Tpo -c -o cpp_file.lo `test -f 'google/protobuf/compiler/cpp/cpp_file.cc' || echo './'`google/protobuf/compiler/cpp/cpp_file.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_file.lo -MD -MP -MF .deps/cpp_file.Tpo -c google/protobuf/compiler/cpp/cpp_file.cc  -fPIC -DPIC -o .libs/cpp_file.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_file.lo -MD -MP -MF .deps/cpp_file.Tpo -c google/protobuf/compiler/cpp/cpp_file.cc -o cpp_file.o >/dev/null 2>&1
mv -f .deps/cpp_file.Tpo .deps/cpp_file.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_generator.lo -MD -MP -MF .deps/cpp_generator.Tpo -c -o cpp_generator.lo `test -f 'google/protobuf/compiler/cpp/cpp_generator.cc' || echo './'`google/protobuf/compiler/cpp/cpp_generator.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_generator.lo -MD -MP -MF .deps/cpp_generator.Tpo -c google/protobuf/compiler/cpp/cpp_generator.cc  -fPIC -DPIC -o .libs/cpp_generator.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_generator.lo -MD -MP -MF .deps/cpp_generator.Tpo -c google/protobuf/compiler/cpp/cpp_generator.cc -o cpp_generator.o >/dev/null 2>&1
mv -f .deps/cpp_generator.Tpo .deps/cpp_generator.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_helpers.lo -MD -MP -MF .deps/cpp_helpers.Tpo -c -o cpp_helpers.lo `test -f 'google/protobuf/compiler/cpp/cpp_helpers.cc' || echo './'`google/protobuf/compiler/cpp/cpp_helpers.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_helpers.lo -MD -MP -MF .deps/cpp_helpers.Tpo -c google/protobuf/compiler/cpp/cpp_helpers.cc  -fPIC -DPIC -o .libs/cpp_helpers.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_helpers.lo -MD -MP -MF .deps/cpp_helpers.Tpo -c google/protobuf/compiler/cpp/cpp_helpers.cc -o cpp_helpers.o >/dev/null 2>&1
mv -f .deps/cpp_helpers.Tpo .deps/cpp_helpers.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_message.lo -MD -MP -MF .deps/cpp_message.Tpo -c -o cpp_message.lo `test -f 'google/protobuf/compiler/cpp/cpp_message.cc' || echo './'`google/protobuf/compiler/cpp/cpp_message.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_message.lo -MD -MP -MF .deps/cpp_message.Tpo -c google/protobuf/compiler/cpp/cpp_message.cc  -fPIC -DPIC -o .libs/cpp_message.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_message.lo -MD -MP -MF .deps/cpp_message.Tpo -c google/protobuf/compiler/cpp/cpp_message.cc -o cpp_message.o >/dev/null 2>&1
mv -f .deps/cpp_message.Tpo .deps/cpp_message.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_message_field.lo -MD -MP -MF .deps/cpp_message_field.Tpo -c -o cpp_message_field.lo `test -f 'google/protobuf/compiler/cpp/cpp_message_field.cc' || echo './'`google/protobuf/compiler/cpp/cpp_message_field.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_message_field.lo -MD -MP -MF .deps/cpp_message_field.Tpo -c google/protobuf/compiler/cpp/cpp_message_field.cc  -fPIC -DPIC -o .libs/cpp_message_field.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_message_field.lo -MD -MP -MF .deps/cpp_message_field.Tpo -c google/protobuf/compiler/cpp/cpp_message_field.cc -o cpp_message_field.o >/dev/null 2>&1
mv -f .deps/cpp_message_field.Tpo .deps/cpp_message_field.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_primitive_field.lo -MD -MP -MF .deps/cpp_primitive_field.Tpo -c -o cpp_primitive_field.lo `test -f 'google/protobuf/compiler/cpp/cpp_primitive_field.cc' || echo './'`google/protobuf/compiler/cpp/cpp_primitive_field.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_primitive_field.lo -MD -MP -MF .deps/cpp_primitive_field.Tpo -c google/protobuf/compiler/cpp/cpp_primitive_field.cc  -fPIC -DPIC -o .libs/cpp_primitive_field.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_primitive_field.lo -MD -MP -MF .deps/cpp_primitive_field.Tpo -c google/protobuf/compiler/cpp/cpp_primitive_field.cc -o cpp_primitive_field.o >/dev/null 2>&1
mv -f .deps/cpp_primitive_field.Tpo .deps/cpp_primitive_field.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_service.lo -MD -MP -MF .deps/cpp_service.Tpo -c -o cpp_service.lo `test -f 'google/protobuf/compiler/cpp/cpp_service.cc' || echo './'`google/protobuf/compiler/cpp/cpp_service.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_service.lo -MD -MP -MF .deps/cpp_service.Tpo -c google/protobuf/compiler/cpp/cpp_service.cc  -fPIC -DPIC -o .libs/cpp_service.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_service.lo -MD -MP -MF .deps/cpp_service.Tpo -c google/protobuf/compiler/cpp/cpp_service.cc -o cpp_service.o >/dev/null 2>&1
mv -f .deps/cpp_service.Tpo .deps/cpp_service.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_string_field.lo -MD -MP -MF .deps/cpp_string_field.Tpo -c -o cpp_string_field.lo `test -f 'google/protobuf/compiler/cpp/cpp_string_field.cc' || echo './'`google/protobuf/compiler/cpp/cpp_string_field.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_string_field.lo -MD -MP -MF .deps/cpp_string_field.Tpo -c google/protobuf/compiler/cpp/cpp_string_field.cc  -fPIC -DPIC -o .libs/cpp_string_field.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT cpp_string_field.lo -MD -MP -MF .deps/cpp_string_field.Tpo -c google/protobuf/compiler/cpp/cpp_string_field.cc -o cpp_string_field.o >/dev/null 2>&1
mv -f .deps/cpp_string_field.Tpo .deps/cpp_string_field.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_enum.lo -MD -MP -MF .deps/java_enum.Tpo -c -o java_enum.lo `test -f 'google/protobuf/compiler/java/java_enum.cc' || echo './'`google/protobuf/compiler/java/java_enum.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_enum.lo -MD -MP -MF .deps/java_enum.Tpo -c google/protobuf/compiler/java/java_enum.cc  -fPIC -DPIC -o .libs/java_enum.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_enum.lo -MD -MP -MF .deps/java_enum.Tpo -c google/protobuf/compiler/java/java_enum.cc -o java_enum.o >/dev/null 2>&1
mv -f .deps/java_enum.Tpo .deps/java_enum.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_enum_field.lo -MD -MP -MF .deps/java_enum_field.Tpo -c -o java_enum_field.lo `test -f 'google/protobuf/compiler/java/java_enum_field.cc' || echo './'`google/protobuf/compiler/java/java_enum_field.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_enum_field.lo -MD -MP -MF .deps/java_enum_field.Tpo -c google/protobuf/compiler/java/java_enum_field.cc  -fPIC -DPIC -o .libs/java_enum_field.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_enum_field.lo -MD -MP -MF .deps/java_enum_field.Tpo -c google/protobuf/compiler/java/java_enum_field.cc -o java_enum_field.o >/dev/null 2>&1
mv -f .deps/java_enum_field.Tpo .deps/java_enum_field.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_extension.lo -MD -MP -MF .deps/java_extension.Tpo -c -o java_extension.lo `test -f 'google/protobuf/compiler/java/java_extension.cc' || echo './'`google/protobuf/compiler/java/java_extension.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_extension.lo -MD -MP -MF .deps/java_extension.Tpo -c google/protobuf/compiler/java/java_extension.cc  -fPIC -DPIC -o .libs/java_extension.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_extension.lo -MD -MP -MF .deps/java_extension.Tpo -c google/protobuf/compiler/java/java_extension.cc -o java_extension.o >/dev/null 2>&1
mv -f .deps/java_extension.Tpo .deps/java_extension.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_field.lo -MD -MP -MF .deps/java_field.Tpo -c -o java_field.lo `test -f 'google/protobuf/compiler/java/java_field.cc' || echo './'`google/protobuf/compiler/java/java_field.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_field.lo -MD -MP -MF .deps/java_field.Tpo -c google/protobuf/compiler/java/java_field.cc  -fPIC -DPIC -o .libs/java_field.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_field.lo -MD -MP -MF .deps/java_field.Tpo -c google/protobuf/compiler/java/java_field.cc -o java_field.o >/dev/null 2>&1
mv -f .deps/java_field.Tpo .deps/java_field.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_file.lo -MD -MP -MF .deps/java_file.Tpo -c -o java_file.lo `test -f 'google/protobuf/compiler/java/java_file.cc' || echo './'`google/protobuf/compiler/java/java_file.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_file.lo -MD -MP -MF .deps/java_file.Tpo -c google/protobuf/compiler/java/java_file.cc  -fPIC -DPIC -o .libs/java_file.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_file.lo -MD -MP -MF .deps/java_file.Tpo -c google/protobuf/compiler/java/java_file.cc -o java_file.o >/dev/null 2>&1
mv -f .deps/java_file.Tpo .deps/java_file.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_generator.lo -MD -MP -MF .deps/java_generator.Tpo -c -o java_generator.lo `test -f 'google/protobuf/compiler/java/java_generator.cc' || echo './'`google/protobuf/compiler/java/java_generator.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_generator.lo -MD -MP -MF .deps/java_generator.Tpo -c google/protobuf/compiler/java/java_generator.cc  -fPIC -DPIC -o .libs/java_generator.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_generator.lo -MD -MP -MF .deps/java_generator.Tpo -c google/protobuf/compiler/java/java_generator.cc -o java_generator.o >/dev/null 2>&1
mv -f .deps/java_generator.Tpo .deps/java_generator.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_helpers.lo -MD -MP -MF .deps/java_helpers.Tpo -c -o java_helpers.lo `test -f 'google/protobuf/compiler/java/java_helpers.cc' || echo './'`google/protobuf/compiler/java/java_helpers.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_helpers.lo -MD -MP -MF .deps/java_helpers.Tpo -c google/protobuf/compiler/java/java_helpers.cc  -fPIC -DPIC -o .libs/java_helpers.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_helpers.lo -MD -MP -MF .deps/java_helpers.Tpo -c google/protobuf/compiler/java/java_helpers.cc -o java_helpers.o >/dev/null 2>&1
mv -f .deps/java_helpers.Tpo .deps/java_helpers.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_message.lo -MD -MP -MF .deps/java_message.Tpo -c -o java_message.lo `test -f 'google/protobuf/compiler/java/java_message.cc' || echo './'`google/protobuf/compiler/java/java_message.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_message.lo -MD -MP -MF .deps/java_message.Tpo -c google/protobuf/compiler/java/java_message.cc  -fPIC -DPIC -o .libs/java_message.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_message.lo -MD -MP -MF .deps/java_message.Tpo -c google/protobuf/compiler/java/java_message.cc -o java_message.o >/dev/null 2>&1
mv -f .deps/java_message.Tpo .deps/java_message.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_message_field.lo -MD -MP -MF .deps/java_message_field.Tpo -c -o java_message_field.lo `test -f 'google/protobuf/compiler/java/java_message_field.cc' || echo './'`google/protobuf/compiler/java/java_message_field.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_message_field.lo -MD -MP -MF .deps/java_message_field.Tpo -c google/protobuf/compiler/java/java_message_field.cc  -fPIC -DPIC -o .libs/java_message_field.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_message_field.lo -MD -MP -MF .deps/java_message_field.Tpo -c google/protobuf/compiler/java/java_message_field.cc -o java_message_field.o >/dev/null 2>&1
mv -f .deps/java_message_field.Tpo .deps/java_message_field.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_primitive_field.lo -MD -MP -MF .deps/java_primitive_field.Tpo -c -o java_primitive_field.lo `test -f 'google/protobuf/compiler/java/java_primitive_field.cc' || echo './'`google/protobuf/compiler/java/java_primitive_field.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_primitive_field.lo -MD -MP -MF .deps/java_primitive_field.Tpo -c google/protobuf/compiler/java/java_primitive_field.cc  -fPIC -DPIC -o .libs/java_primitive_field.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_primitive_field.lo -MD -MP -MF .deps/java_primitive_field.Tpo -c google/protobuf/compiler/java/java_primitive_field.cc -o java_primitive_field.o >/dev/null 2>&1
mv -f .deps/java_primitive_field.Tpo .deps/java_primitive_field.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_service.lo -MD -MP -MF .deps/java_service.Tpo -c -o java_service.lo `test -f 'google/protobuf/compiler/java/java_service.cc' || echo './'`google/protobuf/compiler/java/java_service.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_service.lo -MD -MP -MF .deps/java_service.Tpo -c google/protobuf/compiler/java/java_service.cc  -fPIC -DPIC -o .libs/java_service.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_service.lo -MD -MP -MF .deps/java_service.Tpo -c google/protobuf/compiler/java/java_service.cc -o java_service.o >/dev/null 2>&1
mv -f .deps/java_service.Tpo .deps/java_service.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_string_field.lo -MD -MP -MF .deps/java_string_field.Tpo -c -o java_string_field.lo `test -f 'google/protobuf/compiler/java/java_string_field.cc' || echo './'`google/protobuf/compiler/java/java_string_field.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_string_field.lo -MD -MP -MF .deps/java_string_field.Tpo -c google/protobuf/compiler/java/java_string_field.cc  -fPIC -DPIC -o .libs/java_string_field.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_string_field.lo -MD -MP -MF .deps/java_string_field.Tpo -c google/protobuf/compiler/java/java_string_field.cc -o java_string_field.o >/dev/null 2>&1
mv -f .deps/java_string_field.Tpo .deps/java_string_field.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_doc_comment.lo -MD -MP -MF .deps/java_doc_comment.Tpo -c -o java_doc_comment.lo `test -f 'google/protobuf/compiler/java/java_doc_comment.cc' || echo './'`google/protobuf/compiler/java/java_doc_comment.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_doc_comment.lo -MD -MP -MF .deps/java_doc_comment.Tpo -c google/protobuf/compiler/java/java_doc_comment.cc  -fPIC -DPIC -o .libs/java_doc_comment.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT java_doc_comment.lo -MD -MP -MF .deps/java_doc_comment.Tpo -c google/protobuf/compiler/java/java_doc_comment.cc -o java_doc_comment.o >/dev/null 2>&1
mv -f .deps/java_doc_comment.Tpo .deps/java_doc_comment.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT python_generator.lo -MD -MP -MF .deps/python_generator.Tpo -c -o python_generator.lo `test -f 'google/protobuf/compiler/python/python_generator.cc' || echo './'`google/protobuf/compiler/python/python_generator.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT python_generator.lo -MD -MP -MF .deps/python_generator.Tpo -c google/protobuf/compiler/python/python_generator.cc  -fPIC -DPIC -o .libs/python_generator.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT python_generator.lo -MD -MP -MF .deps/python_generator.Tpo -c google/protobuf/compiler/python/python_generator.cc -o python_generator.o >/dev/null 2>&1
mv -f .deps/python_generator.Tpo .deps/python_generator.Plo
/bin/sh ../libtool --tag=CXX   --mode=link g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -version-info 8:0:0 -export-dynamic -no-undefined  -o libprotoc.la -rpath /usr/local/lib code_generator.lo command_line_interface.lo plugin.lo plugin.pb.lo subprocess.lo zip_writer.lo cpp_enum.lo cpp_enum_field.lo cpp_extension.lo cpp_field.lo cpp_file.lo cpp_generator.lo cpp_helpers.lo cpp_message.lo cpp_message_field.lo cpp_primitive_field.lo cpp_service.lo cpp_string_field.lo java_enum.lo java_enum_field.lo java_extension.lo java_field.lo java_file.lo java_generator.lo java_helpers.lo java_message.lo java_message_field.lo java_primitive_field.lo java_service.lo java_string_field.lo java_doc_comment.lo python_generator.lo -lpthread libprotobuf.la -lz 
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtbeginS.o  .libs/code_generator.o .libs/command_line_interface.o .libs/plugin.o .libs/plugin.pb.o .libs/subprocess.o .libs/zip_writer.o .libs/cpp_enum.o .libs/cpp_enum_field.o .libs/cpp_extension.o .libs/cpp_field.o .libs/cpp_file.o .libs/cpp_generator.o .libs/cpp_helpers.o .libs/cpp_message.o .libs/cpp_message_field.o .libs/cpp_primitive_field.o .libs/cpp_service.o .libs/cpp_string_field.o .libs/java_enum.o .libs/java_enum_field.o .libs/java_extension.o .libs/java_field.o .libs/java_file.o .libs/java_generator.o .libs/java_helpers.o .libs/java_message.o .libs/java_message_field.o .libs/java_primitive_field.o .libs/java_service.o .libs/java_string_field.o .libs/java_doc_comment.o .libs/python_generator.o   -Wl,-rpath -Wl,/app/lib/protobuf-2.5.0/src/.libs -Wl,-rpath -Wl,/usr/local/lib -lpthread ./.libs/libprotobuf.so -lz -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crtn.o  -pthread -O2   -pthread -Wl,-soname -Wl,libprotoc.so.8 -o .libs/libprotoc.so.8.0.0
libtool: link: (cd ".libs" && rm -f "libprotoc.so.8" && ln -s "libprotoc.so.8.0.0" "libprotoc.so.8")
libtool: link: (cd ".libs" && rm -f "libprotoc.so" && ln -s "libprotoc.so.8.0.0" "libprotoc.so")
libtool: link: ar cru .libs/libprotoc.a  code_generator.o command_line_interface.o plugin.o plugin.pb.o subprocess.o zip_writer.o cpp_enum.o cpp_enum_field.o cpp_extension.o cpp_field.o cpp_file.o cpp_generator.o cpp_helpers.o cpp_message.o cpp_message_field.o cpp_primitive_field.o cpp_service.o cpp_string_field.o java_enum.o java_enum_field.o java_extension.o java_field.o java_file.o java_generator.o java_helpers.o java_message.o java_message_field.o java_primitive_field.o java_service.o java_string_field.o java_doc_comment.o python_generator.o
libtool: link: ranlib .libs/libprotoc.a
libtool: link: ( cd ".libs" && rm -f "libprotoc.la" && ln -s "../libprotoc.la" "libprotoc.la" )
/bin/sh ../libtool --tag=CXX   --mode=link g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -pthread  -o protoc main.o -lpthread libprotobuf.la libprotoc.la -lz 
libtool: link: g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -pthread -o .libs/protoc main.o  -lpthread ./.libs/libprotobuf.so ./.libs/libprotoc.so -lz -pthread -Wl,-rpath -Wl,/usr/local/lib
oldpwd=`pwd` && ( cd . && $oldpwd/protoc -I. --cpp_out=$oldpwd google/protobuf/unittest.proto google/protobuf/unittest_empty.proto google/protobuf/unittest_import.proto google/protobuf/unittest_import_public.proto google/protobuf/unittest_mset.proto google/protobuf/unittest_optimize_for.proto google/protobuf/unittest_embed_optimize_for.proto google/protobuf/unittest_custom_options.proto google/protobuf/unittest_lite.proto google/protobuf/unittest_import_lite.proto google/protobuf/unittest_import_public_lite.proto google/protobuf/unittest_lite_imports_nonlite.proto google/protobuf/unittest_no_generic_services.proto google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto )
touch unittest_proto_middleman
make  all-am
make[3]: Entering directory `/app/lib/protobuf-2.5.0/src'
/bin/sh ../libtool --tag=CXX   --mode=link g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -version-info 8:0:0 -export-dynamic -no-undefined  -o libprotobuf-lite.la -rpath /usr/local/lib atomicops_internals_x86_gcc.lo atomicops_internals_x86_msvc.lo common.lo once.lo stringprintf.lo extension_set.lo generated_message_util.lo message_lite.lo repeated_field.lo wire_format_lite.lo coded_stream.lo zero_copy_stream.lo zero_copy_stream_impl_lite.lo -lpthread -lz 
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtbeginS.o  .libs/atomicops_internals_x86_gcc.o .libs/atomicops_internals_x86_msvc.o .libs/common.o .libs/once.o .libs/stringprintf.o .libs/extension_set.o .libs/generated_message_util.o .libs/message_lite.o .libs/repeated_field.o .libs/wire_format_lite.o .libs/coded_stream.o .libs/zero_copy_stream.o .libs/zero_copy_stream_impl_lite.o   -lpthread -lz -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crtn.o  -pthread -O2   -pthread -Wl,-soname -Wl,libprotobuf-lite.so.8 -o .libs/libprotobuf-lite.so.8.0.0
libtool: link: (cd ".libs" && rm -f "libprotobuf-lite.so.8" && ln -s "libprotobuf-lite.so.8.0.0" "libprotobuf-lite.so.8")
libtool: link: (cd ".libs" && rm -f "libprotobuf-lite.so" && ln -s "libprotobuf-lite.so.8.0.0" "libprotobuf-lite.so")
libtool: link: ar cru .libs/libprotobuf-lite.a  atomicops_internals_x86_gcc.o atomicops_internals_x86_msvc.o common.o once.o stringprintf.o extension_set.o generated_message_util.o message_lite.o repeated_field.o wire_format_lite.o coded_stream.o zero_copy_stream.o zero_copy_stream_impl_lite.o
libtool: link: ranlib .libs/libprotobuf-lite.a
libtool: link: ( cd ".libs" && rm -f "libprotobuf-lite.la" && ln -s "../libprotobuf-lite.la" "libprotobuf-lite.la" )
make[3]: Leaving directory `/app/lib/protobuf-2.5.0/src'
make[2]: Leaving directory `/app/lib/protobuf-2.5.0/src'
make[1]: Leaving directory `/app/lib/protobuf-2.5.0'

sudo make check运行结果

PASS: protobuf-lazy-descriptor-test
PASS
PASS: protobuf-lite-test
Testing output to zip...
Testing output to jar...
./google/protobuf/compiler/zip_output_unittest.sh: line 76: jar: command not found
Warning:  'jar' command not available.  Skipping test.
PASS
PASS: google/protobuf/compiler/zip_output_unittest.sh
+ TESTFILE=Makefile
+ cmp - Makefile
+ gunzip
+ ./zcgzip
+ cmp - Makefile
+ ./zcgunzip
+ gzip
PASS: google/protobuf/io/gzip_stream_unittest.sh
==================
All 5 tests passed
==================
make[3]: Leaving directory `/app/lib/protobuf-2.5.0/src'
make[2]: Leaving directory `/app/lib/protobuf-2.5.0/src'
make[1]: Leaving directory `/app/lib/protobuf-2.5.0/src'

sudo make install运行结果

/bin/mkdir -p '/usr/local/include/google/protobuf/compiler/python'
 /usr/bin/install -c -m 644  google/protobuf/compiler/python/python_generator.h '/usr/local/include/google/protobuf/compiler/python'
/bin/mkdir -p '/usr/local/include/google/protobuf/compiler'
 /usr/bin/install -c -m 644  google/protobuf/compiler/code_generator.h google/protobuf/compiler/command_line_interface.h google/protobuf/compiler/importer.h google/protobuf/compiler/parser.h google/protobuf/compiler/plugin.h google/protobuf/compiler/plugin.pb.h '/usr/local/include/google/protobuf/compiler'
/bin/mkdir -p '/usr/local/include/google/protobuf/io'
 /usr/bin/install -c -m 644  google/protobuf/io/coded_stream.h google/protobuf/io/gzip_stream.h google/protobuf/io/printer.h google/protobuf/io/tokenizer.h google/protobuf/io/zero_copy_stream.h google/protobuf/io/zero_copy_stream_impl.h google/protobuf/io/zero_copy_stream_impl_lite.h '/usr/local/include/google/protobuf/io'
/bin/mkdir -p '/usr/local/include/google/protobuf/stubs'
 /usr/bin/install -c -m 644  google/protobuf/stubs/atomicops.h google/protobuf/stubs/atomicops_internals_arm_gcc.h google/protobuf/stubs/atomicops_internals_arm_qnx.h google/protobuf/stubs/atomicops_internals_atomicword_compat.h google/protobuf/stubs/atomicops_internals_macosx.h google/protobuf/stubs/atomicops_internals_mips_gcc.h google/protobuf/stubs/atomicops_internals_pnacl.h google/protobuf/stubs/atomicops_internals_x86_gcc.h google/protobuf/stubs/atomicops_internals_x86_msvc.h google/protobuf/stubs/common.h google/protobuf/stubs/platform_macros.h google/protobuf/stubs/once.h google/protobuf/stubs/template_util.h google/protobuf/stubs/type_traits.h '/usr/local/include/google/protobuf/stubs'
make[3]: Leaving directory `/app/lib/protobuf-2.5.0/src'
make[2]: Leaving directory `/app/lib/protobuf-2.5.0/src'
make[1]: Leaving directory `/app/lib/protobuf-2.5.0/src'



2.8.4验证是否安装成功
protoc

[root@jxpaiwp01 protobuf-2.5.0]# protoc
Missing input file.
























  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值