make install

[root@name01 protobuf-2.5.0]# make install
Making install in .
make[1]: Entering directory `/usr/local/protobuf/protobuf-2.5.0'
make[2]: Entering directory `/usr/local/protobuf/protobuf-2.5.0'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/protobuf/protobuf-2.5.0/output/lib/pkgconfig" || /bin/mkdir -p "/usr/local/protobuf/protobuf-2.5.0/output/lib/pkgconfig"
 /usr/bin/install -c -m 644 protobuf.pc protobuf-lite.pc '/usr/local/protobuf/protobuf-2.5.0/output/lib/pkgconfig'
make[2]: Leaving directory `/usr/local/protobuf/protobuf-2.5.0'
make[1]: Leaving directory `/usr/local/protobuf/protobuf-2.5.0'
Making install in src
make[1]: Entering directory `/usr/local/protobuf/protobuf-2.5.0/src'
make  install-am
make[2]: Entering directory `/usr/local/protobuf/protobuf-2.5.0/src'
make[3]: Entering directory `/usr/local/protobuf/protobuf-2.5.0/src'
test -z "/usr/local/protobuf/protobuf-2.5.0/output/lib" || /bin/mkdir -p "/usr/local/protobuf/protobuf-2.5.0/output/lib"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libprotobuf-lite.la libprotobuf.la libprotoc.la '/usr/local/protobuf/protobuf-2.5.0/output/lib'
libtool: install: /usr/bin/install -c .libs/libprotobuf-lite.so.8.0.0 /usr/local/protobuf/protobuf-2.5.0/output/lib/libprotobuf-lite.so.8.0.0
libtool: install: (cd /usr/local/protobuf/protobuf-2.5.0/output/lib && { ln -s -f libprotobuf-lite.so.8.0.0 libprotobuf-lite.so.8 || { rm -f libprotobuf-lite.so.8 && ln -s libprotobuf-lite.so.8.0.0 libprotobuf-lite.so.8; }; })
libtool: install: (cd /usr/local/protobuf/protobuf-2.5.0/output/lib && { ln -s -f libprotobuf-lite.so.8.0.0 libprotobuf-lite.so || { rm -f libprotobuf-lite.so && ln -s libprotobuf-lite.so.8.0.0 libprotobuf-lite.so; }; })
libtool: install: /usr/bin/install -c .libs/libprotobuf-lite.lai /usr/local/protobuf/protobuf-2.5.0/output/lib/libprotobuf-lite.la
libtool: install: /usr/bin/install -c .libs/libprotobuf.so.8.0.0 /usr/local/protobuf/protobuf-2.5.0/output/lib/libprotobuf.so.8.0.0
libtool: install: (cd /usr/local/protobuf/protobuf-2.5.0/output/lib && { ln -s -f libprotobuf.so.8.0.0 libprotobuf.so.8 || { rm -f libprotobuf.so.8 && ln -s libprotobuf.so.8.0.0 libprotobuf.so.8; }; })
libtool: install: (cd /usr/local/protobuf/protobuf-2.5.0/output/lib && { ln -s -f libprotobuf.so.8.0.0 libprotobuf.so || { rm -f libprotobuf.so && ln -s libprotobuf.so.8.0.0 libprotobuf.so; }; })
libtool: install: /usr/bin/install -c .libs/libprotobuf.lai /usr/local/protobuf/protobuf-2.5.0/output/lib/libprotobuf.la
libtool: install: warning: relinking `libprotoc.la'
libtool: install: (cd /usr/local/protobuf/protobuf-2.5.0/src; /bin/sh /usr/local/protobuf/protobuf-2.5.0/libtool  --tag CXX --mode=relink 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/protobuf/protobuf-2.5.0/output/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 )
libtool: relink: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i686-redhat-linux/4.4.7/../../../crti.o /usr/lib/gcc/i686-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,/usr/local/protobuf/protobuf-2.5.0/output/lib -lpthread -L/usr/local/protobuf/protobuf-2.5.0/output/lib -lprotobuf -L/usr/lib/gcc/i686-redhat-linux/4.4.7 -L/usr/lib/gcc/i686-redhat-linux/4.4.7/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-redhat-linux/4.4.7/crtendS.o /usr/lib/gcc/i686-redhat-linux/4.4.7/../../../crtn.o  -pthread -O2   -pthread -Wl,-soname -Wl,libprotoc.so.8 -o .libs/libprotoc.so.8.0.0
libtool: install: /usr/bin/install -c .libs/libprotoc.so.8.0.0T /usr/local/protobuf/protobuf-2.5.0/output/lib/libprotoc.so.8.0.0
libtool: install: (cd /usr/local/protobuf/protobuf-2.5.0/output/lib && { ln -s -f libprotoc.so.8.0.0 libprotoc.so.8 || { rm -f libprotoc.so.8 && ln -s libprotoc.so.8.0.0 libprotoc.so.8; }; })
libtool: install: (cd /usr/local/protobuf/protobuf-2.5.0/output/lib && { ln -s -f libprotoc.so.8.0.0 libprotoc.so || { rm -f libprotoc.so && ln -s libprotoc.so.8.0.0 libprotoc.so; }; })
libtool: install: /usr/bin/install -c .libs/libprotoc.lai /usr/local/protobuf/protobuf-2.5.0/output/lib/libprotoc.la
libtool: install: /usr/bin/install -c .libs/libprotobuf-lite.a /usr/local/protobuf/protobuf-2.5.0/output/lib/libprotobuf-lite.a
libtool: install: chmod 644 /usr/local/protobuf/protobuf-2.5.0/output/lib/libprotobuf-lite.a
libtool: install: ranlib /usr/local/protobuf/protobuf-2.5.0/output/lib/libprotobuf-lite.a
libtool: install: /usr/bin/install -c .libs/libprotobuf.a /usr/local/protobuf/protobuf-2.5.0/output/lib/libprotobuf.a
libtool: install: chmod 644 /usr/local/protobuf/protobuf-2.5.0/output/lib/libprotobuf.a
libtool: install: ranlib /usr/local/protobuf/protobuf-2.5.0/output/lib/libprotobuf.a
libtool: install: /usr/bin/install -c .libs/libprotoc.a /usr/local/protobuf/protobuf-2.5.0/output/lib/libprotoc.a
libtool: install: chmod 644 /usr/local/protobuf/protobuf-2.5.0/output/lib/libprotoc.a
libtool: install: ranlib /usr/local/protobuf/protobuf-2.5.0/output/lib/libprotoc.a
libtool: finish: PATH=".:/usr/local/spark/spark-1.4.0/bin:/usr/local/spark/spark-1.4.0/sbin:.:/usr/local/spark/scala-2.9.3/bin:/usr/local/jdk/bin:/usr/local/hadoop/bin:/usr/local/hadoop/sbin:/usr/local/hive/bin:.:/usr/local/spark/spark-1.4.0/bin:/usr/local/spark/spark-1.4.0/sbin:.:/usr/local/spark/scala-2.9.3/bin:/usr/local/jdk/bin:/usr/local/hadoop/bin:/usr/local/hadoop/sbin:/usr/local/hive/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sqoop/sqoop-1.99.6-bin-hadoop200/bin:/usr/local/zookeeper/zookeeper-3.4.6/bin:/root/bin:/usr/local/sqoop/sqoop-1.99.6-bin-hadoop200/bin:/usr/local/zookeeper/zookeeper-3.4.6/bin:/usr/local/maven/apache-maven-3.3.9/bin:/sbin" ldconfig -n /usr/local/protobuf/protobuf-2.5.0/output/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/protobuf/protobuf-2.5.0/output/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/protobuf/protobuf-2.5.0/output/bin" || /bin/mkdir -p "/usr/local/protobuf/protobuf-2.5.0/output/bin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c protoc '/usr/local/protobuf/protobuf-2.5.0/output/bin'
libtool: install: /usr/bin/install -c .libs/protoc /usr/local/protobuf/protobuf-2.5.0/output/bin/protoc
test -z "/usr/local/protobuf/protobuf-2.5.0/output/include" || /bin/mkdir -p "/usr/local/protobuf/protobuf-2.5.0/output/include"
/bin/mkdir -p '/usr/local/protobuf/protobuf-2.5.0/output/include/google/protobuf'
 /usr/bin/install -c -m 644  google/protobuf/descriptor.proto '/usr/local/protobuf/protobuf-2.5.0/output/include/google/protobuf'
/bin/mkdir -p '/usr/local/protobuf/protobuf-2.5.0/output/include/google/protobuf/compiler'
 /usr/bin/install -c -m 644  google/protobuf/compiler/plugin.proto '/usr/local/protobuf/protobuf-2.5.0/output/include/google/protobuf/compiler'
test -z "/usr/local/protobuf/protobuf-2.5.0/output/include" || /bin/mkdir -p "/usr/local/protobuf/protobuf-2.5.0/output/include"
/bin/mkdir -p '/usr/local/protobuf/protobuf-2.5.0/output/include/google/protobuf/compiler/java'
 /usr/bin/install -c -m 644  google/protobuf/compiler/java/java_generator.h '/usr/local/protobuf/protobuf-2.5.0/output/include/google/protobuf/compiler/java'
/bin/mkdir -p '/usr/local/protobuf/protobuf-2.5.0/output/include/google/protobuf/compiler/cpp'
 /usr/bin/install -c -m 644  google/protobuf/compiler/cpp/cpp_generator.h '/usr/local/protobuf/protobuf-2.5.0/output/include/google/protobuf/compiler/cpp'
/bin/mkdir -p '/usr/local/protobuf/protobuf-2.5.0/output/include/google/protobuf/compiler/python'
 /usr/bin/install -c -m 644  google/protobuf/compiler/python/python_generator.h '/usr/local/protobuf/protobuf-2.5.0/output/include/google/protobuf/compiler/python'
/bin/mkdir -p '/usr/local/protobuf/protobuf-2.5.0/output/include/google/protobuf'
 /usr/bin/install -c -m 644  google/protobuf/descriptor.h google/protobuf/descriptor.pb.h google/protobuf/descriptor_database.h google/protobuf/dynamic_message.h google/protobuf/extension_set.h google/protobuf/generated_enum_reflection.h google/protobuf/generated_message_util.h google/protobuf/generated_message_reflection.h google/protobuf/message.h google/protobuf/message_lite.h google/protobuf/reflection_ops.h google/protobuf/repeated_field.h google/protobuf/service.h google/protobuf/text_format.h google/protobuf/unknown_field_set.h google/protobuf/wire_format.h google/protobuf/wire_format_lite.h google/protobuf/wire_format_lite_inl.h '/usr/local/protobuf/protobuf-2.5.0/output/include/google/protobuf'
/bin/mkdir -p '/usr/local/protobuf/protobuf-2.5.0/output/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/protobuf/protobuf-2.5.0/output/include/google/protobuf/stubs'
/bin/mkdir -p '/usr/local/protobuf/protobuf-2.5.0/output/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/protobuf/protobuf-2.5.0/output/include/google/protobuf/compiler'
/bin/mkdir -p '/usr/local/protobuf/protobuf-2.5.0/output/include/google/protobuf/io'
 /usr/bin/install -c -m 644  google/protobuf/io/coded_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/protobuf/protobuf-2.5.0/output/include/google/protobuf/io'
make[3]: Leaving directory `/usr/local/protobuf/protobuf-2.5.0/src'
make[2]: Leaving directory `/usr/local/protobuf/protobuf-2.5.0/src'
make[1]: Leaving directory `/usr/local/protobuf/protobuf-2.5.0/src'
[root@name01 protobuf-2.5.0]# 



[root@name01 protobuf-2.5.0]# protoc --version
-bash: protoc: command not found
[root@name01 protobuf-2.5.0]# mvn --version

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)
Maven home: /usr/local/maven/apache-maven-3.3.9
Java version: 1.8.0_20, vendor: Oracle Corporation
Java home: /usr/local/jdk/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-358.el6.i686", arch: "i386", family: "unix"
[root@name01 protobuf-2.5.0]# 
[root@name01 protobuf-2.5.0]# vi /etc/profile
[root@name01 protobuf-2.5.0]# pwd
/usr/local/protobuf/protobuf-2.5.0
[root@name01 protobuf-2.5.0]# ls -l
total 1704
-rw-r--r--  1 109965 5000  36976 Feb 26  2013 aclocal.m4
-rwxr-xr--  1 109965 5000   1519 Feb 26  2013 autogen.sh
-rw-r--r--  1 109965 5000  25312 Feb 26  2013 CHANGES.txt
-rwxr-xr--  1 109965 5000  44826 Feb 26  2013 config.guess
-rw-r--r--  1 root   root   4092 Jun 12 20:01 config.h
-rw-r--r--  1 109965 5000   3709 Feb 26  2013 config.h.in
-rw-r--r--  1 root   root  54419 Jun 12 20:01 config.log
-rwxr-xr-x  1 root   root  72441 Jun 12 20:01 config.status
-rwxr-xr--  1 109965 5000  35454 Feb 26  2013 config.sub
-rwxr-xr--  1 109965 5000 599150 Feb 26  2013 configure
-rw-r--r--  1 109965 5000   4829 Feb 26  2013 configure.ac
-rw-r--r--  1 109965 5000   3527 Feb 26  2013 CONTRIBUTORS.txt
-rw-r--r--  1 109965 5000   1732 Feb 26  2013 COPYING.txt
-rwxr-xr--  1 109965 5000  20334 Feb 26  2013 depcomp
drwxr-xr-x  2 109965 5000   4096 Feb 26  2013 editors
drwxr-xr-x  2 109965 5000   4096 Feb 26  2013 examples
-rwxr-xr--  1 109965 5000   1105 Feb 26  2013 generate_descriptor_proto.sh
drwxr-xr-x 16 109965 5000   4096 Jun 12 20:10 gtest
-rwxr-xr--  1 109965 5000  13998 Feb 26  2013 install-sh
-rw-r--r--  1 109965 5000   9537 Feb 26  2013 INSTALL.txt
drwxr-xr-x  3 109965 5000   4096 Feb 26  2013 java
-rwxr-xr-x  1 root   root 299003 Jun 12 20:01 libtool
-rw-r--r--  1 109965 5000 283680 Feb 26  2013 ltmain.sh
drwxr-xr-x  2 109965 5000   4096 Feb 26  2013 m4
-rw-r--r--  1 root   root  41793 Jun 12 20:01 Makefile
-rw-r--r--  1 109965 5000  15189 Feb 26  2013 Makefile.am
-rw-r--r--  1 109965 5000  41742 Feb 26  2013 Makefile.in
-rwxr-xr--  1 109965 5000  10346 Feb 26  2013 missing
drwxr-xr-x  5 root   root   4096 Jun 12 20:17 output
-rw-r--r--  1 root   root    428 Jun 12 20:01 protobuf-lite.pc
-rw-r--r--  1 109965 5000    408 Feb 26  2013 protobuf-lite.pc.in
-rw-r--r--  1 root   root    443 Jun 12 20:01 protobuf.pc
-rw-r--r--  1 109965 5000    429 Feb 26  2013 protobuf.pc.in
drwxr-xr-x  3 109965 5000   4096 Feb 26  2013 python
-rw-r--r--  1 109965 5000   5312 Feb 26  2013 README.txt
drwxr-xr-x  6 109965 5000  12288 Jun 12 20:13 src
-rw-r--r--  1 root   root     23 Jun 12 20:01 stamp-h1
drwxr-xr-x  2 109965 5000   4096 Feb 26  2013 vsprojects
[root@name01 protobuf-2.5.0]# vi /etc/profile
[root@name01 protobuf-2.5.0]# vi  /etc/profile
[root@name01 protobuf-2.5.0]# source /etc/profile
[root@name01 protobuf-2.5.0]# protoc --version
-bash: protoc: command not found
[root@name01 protobuf-2.5.0]# protoc --version
-bash: protoc: command not found
[root@name01 protobuf-2.5.0]# ls
aclocal.m4    config.h.in    configure.ac      examples                      java       Makefile.am       protobuf-lite.pc.in  src
autogen.sh    config.log     CONTRIBUTORS.txt  generate_descriptor_proto.sh  libtool    Makefile.in       protobuf.pc          stamp-h1
CHANGES.txt   config.status  COPYING.txt       gtest                         ltmain.sh  missing           protobuf.pc.in       vsprojects
config.guess  config.sub     depcomp           install-sh                    m4         output            python
config.h      configure      editors           INSTALL.txt                   Makefile   protobuf-lite.pc  README.txt
[root@name01 protobuf-2.5.0]# cd output/
[root@name01 output]# pwd
/usr/local/protobuf/protobuf-2.5.0/output
[root@name01 output]# vi  /etc/profile
[root@name01 output]# source /etc/profile
[root@name01 output]# protoc --version
libprotoc 2.5.0
[root@name01 output]# 



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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

5icode.top

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值