[root@name01 protobuf-2.5.0]# pwd
/usr/local/protobuf/protobuf-2.5.0
[root@name01 protobuf-2.5.0]# ls -l
total 1232
-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 109965 5000 3709 Feb 26 2013 config.h.in
-rw-r--r-- 1 root root 17433 Jun 12 19:44 config.log
-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 15 109965 5000 4096 Feb 26 2013 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
-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 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
-rw-r--r-- 1 109965 5000 408 Feb 26 2013 protobuf-lite.pc.in
-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 4 109965 5000 4096 Feb 26 2013 src
drwxr-xr-x 2 109965 5000 4096 Feb 26 2013 vsprojects
[root@name01 protobuf-2.5.0]# mkdir output
[root@name01 protobuf-2.5.0]# ls -l
total 1236
-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 109965 5000 3709 Feb 26 2013 config.h.in
-rw-r--r-- 1 root root 17433 Jun 12 19:44 config.log
-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 15 109965 5000 4096 Feb 26 2013 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
-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 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 2 root root 4096 Jun 12 19:59 output
-rw-r--r-- 1 109965 5000 408 Feb 26 2013 protobuf-lite.pc.in
-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 4 109965 5000 4096 Feb 26 2013 src
drwxr-xr-x 2 109965 5000 4096 Feb 26 2013 vsprojects
[root@name01 protobuf-2.5.0]# cd output/
[root@name01 output]# pwd
/usr/local/protobuf/protobuf-2.5.0/output
[root@name01 output]# ./configure --prefix=/usr/local/protobuf/protobuf-2.5.0/output
-bash: ./configure: No such file or directory
[root@name01 output]# cd ..
[root@name01 protobuf-2.5.0]# ./configure --prefix=/usr/local/protobuf/protobuf-2.5.0/output
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-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 i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-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) 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
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) 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) 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... headers missing or too old (requires 1.2.0.4)
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 (/usr/local/protobuf/protobuf-2.5.0/gtest)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local/protobuf/protobuf-2.5.0/output' --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... i686-pc-linux-gnu
checking host system type... i686-pc-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 i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-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) 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
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) 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) 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
[root@name01 protobuf-2.5.0]#
protobuf-2
最新推荐文章于 2021-10-24 13:53:06 发布