安装gcc过程
---恢复内容开始---
linux-1bh3:/usr # find / -name pcre
/usr/local/share/doc/pcre
/usr/share/doc/packages/pcre
linux-1bh3:/usr # rpm -q pcre
pcre-7.8-2.18
group:~ # find / -name zlib*
/lib/modules/3.0.76-0.11-default/kernel/lib/zlib_deflate
/lib/modules/3.0.76-0.11-default/kernel/lib/zlib_deflate/zlib_deflate.ko
/usr/lib64/ruby/1.8/x86_64-linux/zlib.so
/usr/lib64/ruby/vendor_ruby/1.8/puppet/feature/zlib.rb
/usr/lib64/python2.6/lib-dynload/zlib.so
/usr/lib64/python2.6/encodings/zlib_codec.pyc
/usr/lib64/python2.6/encodings/zlib_codec.pyo
/usr/lib64/python2.6/encodings/zlib_codec.py
linux-1bh3:/usr # find / -name zlib*
/lib/modules/3.0.76-0.11-default/kernel/lib/zlib_deflate
/lib/modules/3.0.76-0.11-default/kernel/lib/zlib_deflate/zlib_deflate.ko
/usr/nginxTest/zlib-1.2.10.tar.gz
/usr/lib64/ruby/1.8/x86_64-linux/zlib.so
/usr/lib64/ruby/vendor_ruby/1.8/puppet/feature/zlib.rb
/usr/lib64/python2.6/lib-dynload/zlib.so
/usr/lib64/python2.6/encodings/zlib_codec.pyc
/usr/lib64/python2.6/encodings/zlib_codec.pyo
/usr/lib64/python2.6/encodings/zlib_codec.py
/usr/local/lib/pkgconfig/zlib.pc
/usr/local/share/man/man3/zlib.3
/usr/local/include/zlib.h
/home/zlib-devel-1.2.7-2.1.2.x86_64.rpm
linux-1bh3:/usr/nginxTest # find / -name openssl
/etc/apparmor.d/abstractions/openssl
/usr/bin/openssl
/usr/lib64/ruby/1.8/openssl
/usr/share/doc/packages/openssl
mount -o loop -t iso9660 SLES-11-.iso /usr/nginxTest/suse_iso_mount/
mount: warning: /usr/nginxTest/suse_iso_mount/ seems to be mounted read-only.
linux-1bh3:/usr # zypper lr
# | 别名 | 名称 | 已启用 | 刷新
--+--------------------------------------------------+--------------------------------------------------+--------+-----
1 | SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138 | SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138 | 是 | 否
2 | google-chrome | google-chrome | 是 | 是
3 | suse11sp3iso | suse11sp3iso | 是 | 是
linux-1bh3:/usr # zypper install gcc
正在接受服务 'google-chrome' 的元数据 [\]
对于'http://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/repomd.xml'的下载(curl)错误:
错误代码:Connection failed
错误信息:Couldn't resolve host 'dl.google.com'
中止、重试、忽略? [a/r/i/?] (a): i
正在接受服务 'google-chrome' 的元数据 [错误]
安装源 'google-chrome' 无效。
[|] 在指定 URL 未找到有效元数据
请检查这个安装源定义的 URI 指向一个有效的软件源。
警告:由于如上错误禁用安装源 'google-chrome' 。
正在加载安装源数据...
正在读取已安装的软件包...
正在解析软件包依赖性...
以下新的软件包将被安装:
gcc
1 new package to install.
总下载大小:5.0 KiB 。 操作完成后,不会占用或释放额外的空间。
是否继续? [y/n/?] (y): y
正在接收 软件包 gcc-4.3-62.198.x86_64 (1/1), 5.0 KiB (解压后 0 B)
正在安装: gcc-4.3-62.198 [完毕]
linux-1bh3:/usr # zypper install gcc-c++
正在接受服务 'google-chrome' 的元数据 [\]
对于'http://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/repomd.xml'的下载(curl)错误:
错误代码:Connection failed
错误信息:Couldn't resolve host 'dl.google.com'
中止、重试、忽略? [a/r/i/?] (a): i
正在接受服务 'google-chrome' 的元数据 [错误]
安装源 'google-chrome' 无效。
[|] 在指定 URL 未找到有效元数据
请检查这个安装源定义的 URI 指向一个有效的软件源。
警告:由于如上错误禁用安装源 'google-chrome' 。
正在加载安装源数据...
正在读取已安装的软件包...
正在解析软件包依赖性...
以下新的软件包将被安装:
gcc-c++
1 new package to install.
总下载大小:5.0 KiB 。 操作完成后,不会占用或释放额外的空间。
是否继续? [y/n/?] (y): y
正在接收 软件包 gcc-c++-4.3-62.198.x86_64 (1/1), 5.0 KiB (解压后 0 B)
正在安装: gcc-c++-4.3-62.198 [完毕]
linux-1bh3:/usr # rpm -q gcc-c++
gcc-c++-4.3-62.198
linux-1bh3:/usr # rpm -q gcc
gcc-4.3-62.198
linux-1bh3:/usr/nginxTest # tar -xjvf pcre-8.31.tar.bz2
linux-1bh3:/usr/nginxTest/pcre-8.31 # ./configure
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... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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 for int64_t... yes
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... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/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... 1572864
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/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
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... mt
checking if mt 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... yes
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/x86_64-suse-linux/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/x86_64-suse-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-suse-linux/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... yes
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/x86_64-suse-linux/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 whether ln -s works... yes
checking for ANSI C header files... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for alias support in the linker... no
checking for alias support in the linker... no
checking string usability... yes
checking string presence... yes
checking for string... yes
checking bits/type_traits.h usability... no
checking bits/type_traits.h presence... no
checking for bits/type_traits.h... no
checking type_traits.h usability... no
checking type_traits.h presence... no
checking for type_traits.h... no
checking for strtoq... yes
checking for long long... yes
checking for unsigned long long... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for bcopy... yes
checking for memmove... yes
checking for strerror... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking bzlib.h usability... no
checking bzlib.h presence... no
checking for bzlib.h... no
checking for libbz2... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libpcre.pc
config.status: creating libpcre16.pc
config.status: creating libpcreposix.pc
config.status: creating libpcrecpp.pc
config.status: creating pcre-config
config.status: creating pcre.h
config.status: creating pcre_stringpiece.h
config.status: creating pcrecpparg.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing script-chmod commands
config.status: executing delete-old-chartables commands
pcre-8.31 configuration summary:
Install prefix .................. : /usr/local
C preprocessor .................. : gcc -E
C compiler ...................... : gcc
C++ preprocessor ................ : g++ -E
C++ compiler .................... : g++
Linker .......................... : /usr/x86_64-suse-linux/bin/ld -m elf_x86_64
C preprocessor flags ............ :
C compiler flags ................ : -O2
C++ compiler flags .............. : -O2
Linker flags .................... :
Extra libraries ................. :
Build 8 bit pcre library ........ : yes
Build 16 bit pcre library ....... : no
Build C++ library ............... : yes
Enable JIT compiling support .... : no
Enable UTF-8/16 support ......... : no
Unicode properties .............. : no
Newline char/sequence ........... : lf
\R matches only ANYCRLF ......... : no
EBCDIC coding ................... : no
Rebuild char tables ............. : no
Use stack recursion ............. : yes
POSIX mem threshold ............. : 10
Internal link size .............. : 2
Match limit ..................... : 10000000
Match limit recursion ........... : MATCH_LIMIT
Build shared libs ............... : yes
Build static libs ............... : yes
Use JIT in pcregrep ............. : no
Buffer size for pcregrep ........ : 20480
Link pcregrep with libz ......... : no
Link pcregrep with libbz2 ....... : no
Link pcretest with libedit ...... : no
Link pcretest with libreadline .. : no
linux-1bh3:/usr/nginxTest/pcre-8.31 # make
rm -f pcre_chartables.c
ln -s ./pcre_chartables.c.dist pcre_chartables.c
make all-am
make[1]: Entering directory `/usr/nginxTest/pcre-8.31'
CC pcre_byte_order.lo
CC pcre_compile.lo
CC pcre_config.lo
CC pcre_dfa_exec.lo
CC pcre_exec.lo
CC pcre_fullinfo.lo
CC pcre_get.lo
CC pcre_globals.lo
CC pcre_jit_compile.lo
CC pcre_maketables.lo
CC pcre_newline.lo
CC pcre_ord2utf8.lo
CC pcre_refcount.lo
CC pcre_string_utils.lo
CC pcre_study.lo
CC pcre_tables.lo
CC pcre_ucd.lo
CC pcre_valid_utf8.lo
CC pcre_version.lo
CC pcre_xclass.lo
CC pcre_chartables.lo
CCLD libpcre.la
CC pcreposix.lo
CCLD libpcreposix.la
CXX pcrecpp.lo
CXX pcre_scanner.lo
CXX pcre_stringpiece.lo
CXXLD libpcrecpp.la
CC pcretest.o
CC pcre_printint.o
CCLD pcretest
CC pcregrep.o
CCLD pcregrep
CXX pcrecpp_unittest.o
CXXLD pcrecpp_unittest
CXX pcre_scanner_unittest.o
CXXLD pcre_scanner_unittest
CXX pcre_stringpiece_unittest.o
CXXLD pcre_stringpiece_unittest
make[1]: Leaving directory `/usr/nginxTest/pcre-8.31'
linux-1bh3:/usr/nginxTest/pcre-8.31 # make install
make install-am
make[1]: Entering directory `/usr/nginxTest/pcre-8.31'
make[2]: Entering directory `/usr/nginxTest/pcre-8.31'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/sh ./libtool --mode=install /usr/bin/install -c libpcre.la libpcreposix.la libpcrecpp.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libpcre.so.1.0.1 /usr/local/lib/libpcre.so.1.0.1
libtool: install: (cd /usr/local/lib && { ln -s -f libpcre.so.1.0.1 libpcre.so.1 || { rm -f libpcre.so.1 && ln -s libpcre.so.1.0.1 libpcre.so.1; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libpcre.so.1.0.1 libpcre.so || { rm -f libpcre.so && ln -s libpcre.so.1.0.1 libpcre.so; }; })
libtool: install: /usr/bin/install -c .libs/libpcre.lai /usr/local/lib/libpcre.la
libtool: install: warning: relinking `libpcreposix.la'
libtool: install: (cd /usr/nginxTest/pcre-8.31; /bin/sh /usr/nginxTest/pcre-8.31/libtool --silent --tag CC --mode=relink gcc -O2 -version-info 0:1:0 -o libpcreposix.la -rpath /usr/local/li
b pcreposix.lo libpcre.la )libtool: install: /usr/bin/install -c .libs/libpcreposix.so.0.0.1T /usr/local/lib/libpcreposix.so.0.0.1
libtool: install: (cd /usr/local/lib && { ln -s -f libpcreposix.so.0.0.1 libpcreposix.so.0 || { rm -f libpcreposix.so.0 && ln -s libpcreposix.so.0.0.1 libpcreposix.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libpcreposix.so.0.0.1 libpcreposix.so || { rm -f libpcreposix.so && ln -s libpcreposix.so.0.0.1 libpcreposix.so; }; })
libtool: install: /usr/bin/install -c .libs/libpcreposix.lai /usr/local/lib/libpcreposix.la
libtool: install: warning: relinking `libpcrecpp.la'
libtool: install: (cd /usr/nginxTest/pcre-8.31; /bin/sh /usr/nginxTest/pcre-8.31/libtool --silent --tag CXX --mode=relink g++ -O2 -version-info 0:0:0 -o libpcrecpp.la -rpath /usr/local/lib
pcrecpp.lo pcre_scanner.lo pcre_stringpiece.lo libpcre.la )libtool: install: /usr/bin/install -c .libs/libpcrecpp.so.0.0.0T /usr/local/lib/libpcrecpp.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libpcrecpp.so.0.0.0 libpcrecpp.so.0 || { rm -f libpcrecpp.so.0 && ln -s libpcrecpp.so.0.0.0 libpcrecpp.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libpcrecpp.so.0.0.0 libpcrecpp.so || { rm -f libpcrecpp.so && ln -s libpcrecpp.so.0.0.0 libpcrecpp.so; }; })
libtool: install: /usr/bin/install -c .libs/libpcrecpp.lai /usr/local/lib/libpcrecpp.la
libtool: install: /usr/bin/install -c .libs/libpcre.a /usr/local/lib/libpcre.a
libtool: install: chmod 644 /usr/local/lib/libpcre.a
libtool: install: ranlib /usr/local/lib/libpcre.a
libtool: install: /usr/bin/install -c .libs/libpcreposix.a /usr/local/lib/libpcreposix.a
libtool: install: chmod 644 /usr/local/lib/libpcreposix.a
libtool: install: ranlib /usr/local/lib/libpcreposix.a
libtool: install: /usr/bin/install -c .libs/libpcrecpp.a /usr/local/lib/libpcrecpp.a
libtool: install: chmod 644 /usr/local/lib/libpcrecpp.a
libtool: install: ranlib /usr/local/lib/libpcrecpp.a
libtool: finish: PATH="/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/java/jdk1.6.0_29
/bin/bin:/usr/java/jre/bin:/sbin" ldconfig -n /usr/local/lib----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/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/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/sh ./libtool --mode=install /usr/bin/install -c pcretest pcregrep '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/pcretest /usr/local/bin/pcretest
libtool: install: /usr/bin/install -c .libs/pcregrep /usr/local/bin/pcregrep
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c pcre-config '/usr/local/bin'
test -z "/usr/local/share/doc/pcre" || /bin/mkdir -p "/usr/local/share/doc/pcre"
/usr/bin/install -c -m 644 doc/pcre.txt doc/pcre-config.txt doc/pcregrep.txt doc/pcretest.txt AUTHORS COPYING ChangeLog LICENCE NEWS README '/usr/local/share/doc/pcre'
test -z "/usr/local/share/doc/pcre/html" || /bin/mkdir -p "/usr/local/share/doc/pcre/html"
/usr/bin/install -c -m 644 doc/html/index.html doc/html/pcre.html doc/html/pcre16.html doc/html/pcre-config.html doc/html/pcre_assign_jit_stack.html doc/html/pcre_compile.html doc/html/pcr
e_compile2.html doc/html/pcre_config.html doc/html/pcre_copy_named_substring.html doc/html/pcre_copy_substring.html doc/html/pcre_dfa_exec.html doc/html/pcre_exec.html doc/html/pcre_free_study.html doc/html/pcre_free_substring.html doc/html/pcre_free_substring_list.html doc/html/pcre_fullinfo.html doc/html/pcre_get_named_substring.html doc/html/pcre_get_stringnumber.html doc/html/pcre_get_stringtable_entries.html doc/html/pcre_get_substring.html doc/html/pcre_get_substring_list.html doc/html/pcre_jit_stack_alloc.html doc/html/pcre_jit_stack_free.html doc/html/pcre_maketables.html doc/html/pcre_pattern_to_host_byte_order.html doc/html/pcre_refcount.html doc/html/pcre_study.html doc/html/pcre_utf16_to_host_byte_order.html doc/html/pcre_version.html doc/html/pcreapi.html doc/html/pcrebuild.html doc/html/pcrecallout.html doc/html/pcrecompat.html doc/html/pcredemo.html doc/html/pcregrep.html doc/html/pcrejit.html doc/html/pcrelimits.html doc/html/pcrematching.html doc/html/pcrepartial.html doc/html/pcrepattern.html '/usr/local/share/doc/pcre/html' /usr/bin/install -c -m 644 doc/html/pcreperform.html doc/html/pcreposix.html doc/html/pcreprecompile.html doc/html/pcresample.html doc/html/pcrestack.html doc/html/pcresyntax.html doc/html
/pcretest.html doc/html/pcreunicode.html '/usr/local/share/doc/pcre/html'test -z "/usr/local/share/doc/pcre/html" || /bin/mkdir -p "/usr/local/share/doc/pcre/html"
/usr/bin/install -c -m 644 doc/html/pcrecpp.html '/usr/local/share/doc/pcre/html'
test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
/usr/bin/install -c -m 644 pcreposix.h pcrecpp.h pcre_scanner.h '/usr/local/include'
test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1"
/usr/bin/install -c -m 644 doc/pcre-config.1 doc/pcregrep.1 doc/pcretest.1 '/usr/local/share/man/man1'
test -z "/usr/local/share/man/man3" || /bin/mkdir -p "/usr/local/share/man/man3"
/usr/bin/install -c -m 644 doc/pcre.3 doc/pcre16.3 doc/pcre_assign_jit_stack.3 doc/pcre_compile.3 doc/pcre_compile2.3 doc/pcre_config.3 doc/pcre_copy_named_substring.3 doc/pcre_copy_substr
ing.3 doc/pcre_dfa_exec.3 doc/pcre_exec.3 doc/pcre_free_study.3 doc/pcre_free_substring.3 doc/pcre_free_substring_list.3 doc/pcre_fullinfo.3 doc/pcre_get_named_substring.3 doc/pcre_get_stringnumber.3 doc/pcre_get_stringtable_entries.3 doc/pcre_get_substring.3 doc/pcre_get_substring_list.3 doc/pcre_jit_stack_alloc.3 doc/pcre_jit_stack_free.3 doc/pcre_maketables.3 doc/pcre_pattern_to_host_byte_order.3 doc/pcre_refcount.3 doc/pcre_study.3 doc/pcre_utf16_to_host_byte_order.3 doc/pcre_version.3 doc/pcreapi.3 doc/pcrebuild.3 doc/pcrecallout.3 doc/pcrecompat.3 doc/pcrejit.3 doc/pcrelimits.3 doc/pcrematching.3 doc/pcrepartial.3 doc/pcrepattern.3 doc/pcreperform.3 doc/pcreposix.3 doc/pcreprecompile.3 doc/pcresample.3 '/usr/local/share/man/man3' /usr/bin/install -c -m 644 doc/pcrestack.3 doc/pcresyntax.3 doc/pcreunicode.3 doc/pcrecpp.3 '/usr/local/share/man/man3'
test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
/usr/bin/install -c -m 644 pcre.h pcrecpparg.h pcre_stringpiece.h '/usr/local/include'
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 libpcre.pc libpcreposix.pc libpcrecpp.pc '/usr/local/lib/pkgconfig'
make install-data-hook
make[3]: Entering directory `/usr/nginxTest/pcre-8.31'
ln -sf pcre_assign_jit_stack.3 /usr/local/share/man/man3/pcre16_assign_jit_stack.3
ln -sf pcre_compile.3 /usr/local/share/man/man3/pcre16_compile.3
ln -sf pcre_compile2.3 /usr/local/share/man/man3/pcre16_compile2.3
ln -sf pcre_config.3 /usr/local/share/man/man3/pcre16_config.3
ln -sf pcre_copy_named_substring.3 /usr/local/share/man/man3/pcre16_copy_named_substring.3
ln -sf pcre_copy_substring.3 /usr/local/share/man/man3/pcre16_copy_substring.3
ln -sf pcre_dfa_exec.3 /usr/local/share/man/man3/pcre16_dfa_exec.3
ln -sf pcre_exec.3 /usr/local/share/man/man3/pcre16_exec.3
ln -sf pcre_free_study.3 /usr/local/share/man/man3/pcre16_free_study.3
ln -sf pcre_free_substring.3 /usr/local/share/man/man3/pcre16_free_substring.3
ln -sf pcre_free_substring_list.3 /usr/local/share/man/man3/pcre16_free_substring_list.3
ln -sf pcre_fullinfo.3 /usr/local/share/man/man3/pcre16_fullinfo.3
ln -sf pcre_get_named_substring.3 /usr/local/share/man/man3/pcre16_get_named_substring.3
ln -sf pcre_get_stringnumber.3 /usr/local/share/man/man3/pcre16_get_stringnumber.3
ln -sf pcre_get_stringtable_entries.3 /usr/local/share/man/man3/pcre16_get_stringtable_entries.3
ln -sf pcre_get_substring.3 /usr/local/share/man/man3/pcre16_get_substring.3
ln -sf pcre_get_substring_list.3 /usr/local/share/man/man3/pcre16_get_substring_list.3
ln -sf pcre_jit_stack_alloc.3 /usr/local/share/man/man3/pcre16_jit_stack_alloc.3
ln -sf pcre_jit_stack_free.3 /usr/local/share/man/man3/pcre16_jit_stack_free.3
ln -sf pcre_maketables.3 /usr/local/share/man/man3/pcre16_maketables.3
ln -sf pcre_pattern_to_host_byte_order.3 /usr/local/share/man/man3/pcre16_pattern_to_host_byte_order.3
ln -sf pcre_refcount.3 /usr/local/share/man/man3/pcre16_refcount.3
ln -sf pcre_study.3 /usr/local/share/man/man3/pcre16_study.3
ln -sf pcre_utf16_to_host_byte_order.3 /usr/local/share/man/man3/pcre16_utf16_to_host_byte_order.3
ln -sf pcre_version.3 /usr/local/share/man/man3/pcre16_version.3
make[3]: Leaving directory `/usr/nginxTest/pcre-8.31'
make[2]: Leaving directory `/usr/nginxTest/pcre-8.31'
make[1]: Leaving directory `/usr/nginxTest/pcre-8.31'
linux-1bh3:/usr/nginxTest # tar -zxvf zlib-1.2.10.tar.gz
linux-1bh3:/usr/nginxTest/zlib-1.2.10 # ./configure
Checking for gcc...
Checking for shared library support...
Building shared library libz.so.1.2.10 with gcc.
Checking for size_t... Yes.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
Checking for strerror... Yes.
Checking for unistd.h... Yes.
Checking for stdarg.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for attribute(visibility) support... Yes.
linux-1bh3:/usr/nginxTest/zlib-1.2.10 # make
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o example.o test/example.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o adler32.o adler32.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o crc32.o crc32.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o deflate.o deflate.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o infback.o infback.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inffast.o inffast.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inflate.o inflate.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inftrees.o inftrees.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o trees.o trees.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o zutil.o zutil.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o compress.o compress.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o uncompr.o uncompr.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzclose.o gzclose.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzlib.o gzlib.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzread.o gzread.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzwrite.o gzwrite.c
ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example example.o -L. libz.a
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o minigzip.o test/minigzip.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip minigzip.o -L. libz.a
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/adler32.o adler32.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/crc32.o crc32.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/deflate.o deflate.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/infback.o infback.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/inffast.o inffast.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/inflate.o inflate.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/inftrees.o inftrees.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/trees.o trees.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/zutil.o zutil.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/compress.o compress.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/uncompr.o uncompr.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/gzclose.o gzclose.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/gzlib.o gzlib.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/gzread.o gzread.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/gzwrite.o gzwrite.c
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o libz.so.1.2.10 adler32.lo crc32.lo deflate.lo infback.lo inffast.lo inflate.lo
inftrees.lo trees.lo zutil.lo compress.lo uncompr.lo gzclose.lo gzlib.lo gzread.lo gzwrite.lo -lc rm -f libz.so libz.so.1
ln -s libz.so.1.2.10 libz.so
ln -s libz.so.1.2.10 libz.so.1
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o examplesh example.o -L. libz.so.1.2.10
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzipsh minigzip.o -L. libz.so.1.2.10
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o example64.o test/example.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example64 example64.o -L. libz.a
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o minigzip64.o test/minigzip.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip64 minigzip64.o -L. libz.a
linux-1bh3:/usr/nginxTest/zlib-1.2.10 # make install
rm -f /usr/local/lib/libz.a
cp libz.a /usr/local/lib
chmod 644 /usr/local/lib/libz.a
cp libz.so.1.2.10 /usr/local/lib
chmod 755 /usr/local/lib/libz.so.1.2.10
rm -f /usr/local/share/man/man3/zlib.3
cp zlib.3 /usr/local/share/man/man3
chmod 644 /usr/local/share/man/man3/zlib.3
rm -f /usr/local/lib/pkgconfig/zlib.pc
cp zlib.pc /usr/local/lib/pkgconfig
chmod 644 /usr/local/lib/pkgconfig/zlib.pc
rm -f /usr/local/include/zlib.h /usr/local/include/zconf.h
cp zlib.h zconf.h /usr/local/include
chmod 644 /usr/local/include/zlib.h /usr/local/include/zconf.h
./configure\
--sbin-path=/usr/local/nginx/nginx\
--conf-path=/usr/local/nginx/nginx.conf\
--pid-path=/usr/local/nginx/nginx.pid\
--with-http_ssl_module\
--with-pcre=/usr/nginxTest/pcre-8.31\
--with-zlib=/usr/nginxTest/zlib-1.2.10\
--with-openssl=/usr/nginxTest/openssl-1.1.0c
rpm -qi zlib
/usr/local/lib64/libz.so.1.2.7
linux-1bh3:/usr/share/doc/packages # rpm -qi zlib
Name : zlib Relocations: (not relocatable)
Version : 1.2.7 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release : 0.10.128 Build Date: 2013年05月11日 星期六 22时11分54秒
Install Date: 2016年04月27日 星期三 23时36分00秒 Build Host: crick
Group : System/Libraries Source RPM: zlib-1.2.7-0.10.128.src.rpm
Size : 88752 License: zlib license. See http://zlib.net/zlib_license.html
Signature : RSA/8, 2013年05月11日 星期六 22时11分57秒, Key ID e3a5c360307e3d54
Packager : http://bugs.opensuse.org
URL : http://www.zlib.net/
Summary : Data Compression Library
Description :
ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt
(deflate format) and rfc1952.txt (gzip format). These documents are
also available in other formats from
ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html.
Authors:
--------
Rob Hooft <hooft@EMBL-Heidelberg.DE>
Michael Mauldin <mlm@cs.cmu.edu>
Distribution: SUSE Linux Enterprise 11
linux-1bh3:/usr/nginxTest/nginx-1.10.2 # ./configure
lchecking for OS
+ Linux 3.0.76-0.11-default x86_64
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)
checking for gcc -pipe switch ... found
checking for -Wl,-E switch ... found
checking for gcc builtin atomic operations ... found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for gcc builtin 64 bit byteswap ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... found
checking for Linux specific features
checking for epoll ... found
checking for EPOLLRDHUP ... found
checking for O_PATH ... not found
checking for sendfile() ... found
checking for sendfile64() ... found
checking for sys/prctl.h ... found
checking for prctl(PR_SET_DUMPABLE) ... found
checking for sched_setaffinity() ... found
checking for crypt_r() ... found
checking for sys/vfs.h ... found
checking for nobody group ... found
checking for poll() ... found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for F_READAHEAD ... not found
checking for posix_fadvise() ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... not found
checking for dlopen() in libdl ... found
checking for sched_yield() ... found
checking for SO_SETFIB ... not found
checking for SO_REUSEPORT ... not found
checking for SO_ACCEPTFILTER ... not found
checking for IP_RECVDSTADDR ... not found
checking for IP_PKTINFO ... found
checking for IPV6_RECVPKTINFO ... found
checking for TCP_DEFER_ACCEPT ... found
checking for TCP_KEEPIDLE ... found
checking for TCP_FASTOPEN ... not found
checking for TCP_INFO ... found
checking for accept4() ... found
checking for eventfd() ... found
checking for int size ... 4 bytes
checking for long size ... 8 bytes
checking for long long size ... 8 bytes
checking for void * size ... 8 bytes
checking for uint32_t ... found
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 4 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system byte ordering ... little endian
checking for size_t size ... 8 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 8 bytes
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for pwritev() ... found
checking for sys_nerr ... found
checking for localtime_r() ... found
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... not found
checking for POSIX semaphores in libpthread ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
checking for openat(), fstatat() ... found
checking for getaddrinfo() ... found
checking for PCRE library ... found
checking for PCRE JIT support ... found
checking for md5 in system md library ... not found
checking for md5 in system md5 library ... not found
checking for md5 in system OpenSSL crypto library ... not found
checking for sha1 in system md library ... not found
checking for sha1 in system OpenSSL crypto library ... not found
checking for zlib library ... found
creating objs/Makefile
Configuration summary
+ using system PCRE library
+ OpenSSL library is not used
+ using builtin md5 code
+ sha1 library is not found
+ using system zlib library
nginx path prefix: "/usr/local/nginx"
nginx binary file: "/usr/local/nginx/sbin/nginx"
nginx modules path: "/usr/local/nginx/modules"
nginx configuration prefix: "/usr/local/nginx/conf"
nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
nginx pid file: "/usr/local/nginx/logs/nginx.pid"
nginx error log file: "/usr/local/nginx/logs/error.log"
nginx http access log file: "/usr/local/nginx/logs/access.log"
nginx http client request body temporary files: "client_body_temp"
nginx http proxy temporary files: "proxy_temp"
nginx http fastcgi temporary files: "fastcgi_temp"
nginx http uwsgi temporary files: "uwsgi_temp"
nginx http scgi temporary files: "scgi_temp"
linux-1bh3:/usr/nginxTest/nginx-1.10.2 # make install
make -f objs/Makefile install
make[1]: Entering directory `/usr/nginxTest/nginx-1.10.2'
test -d '/usr/local/nginx' || mkdir -p '/usr/local/nginx'
test -d '/usr/local/nginx/sbin' \
|| mkdir -p '/usr/local/nginx/sbin'
test ! -f '/usr/local/nginx/sbin/nginx' \
|| mv '/usr/local/nginx/sbin/nginx' \
'/usr/local/nginx/sbin/nginx.old'
cp objs/nginx '/usr/local/nginx/sbin/nginx'
test -d '/usr/local/nginx/conf' \
|| mkdir -p '/usr/local/nginx/conf'
cp conf/koi-win '/usr/local/nginx/conf'
cp conf/koi-utf '/usr/local/nginx/conf'
cp conf/win-utf '/usr/local/nginx/conf'
test -f '/usr/local/nginx/conf/mime.types' \
|| cp conf/mime.types '/usr/local/nginx/conf'
cp conf/mime.types '/usr/local/nginx/conf/mime.types.default'
test -f '/usr/local/nginx/conf/fastcgi_params' \
|| cp conf/fastcgi_params '/usr/local/nginx/conf'
cp conf/fastcgi_params \
'/usr/local/nginx/conf/fastcgi_params.default'
test -f '/usr/local/nginx/conf/fastcgi.conf' \
|| cp conf/fastcgi.conf '/usr/local/nginx/conf'
cp conf/fastcgi.conf '/usr/local/nginx/conf/fastcgi.conf.default'
test -f '/usr/local/nginx/conf/uwsgi_params' \
|| cp conf/uwsgi_params '/usr/local/nginx/conf'
cp conf/uwsgi_params \
'/usr/local/nginx/conf/uwsgi_params.default'
test -f '/usr/local/nginx/conf/scgi_params' \
|| cp conf/scgi_params '/usr/local/nginx/conf'
cp conf/scgi_params \
'/usr/local/nginx/conf/scgi_params.default'
test -f '/usr/local/nginx/conf/nginx.conf' \
|| cp conf/nginx.conf '/usr/local/nginx/conf/nginx.conf'
cp conf/nginx.conf '/usr/local/nginx/conf/nginx.conf.default'
test -d '/usr/local/nginx/logs' \
|| mkdir -p '/usr/local/nginx/logs'
test -d '/usr/local/nginx/logs' \
|| mkdir -p '/usr/local/nginx/logs'
test -d '/usr/local/nginx/html' \
|| cp -R html '/usr/local/nginx'
test -d '/usr/local/nginx/logs' \
|| mkdir -p '/usr/local/nginx/logs'
make[1]: Leaving directory `/usr/nginxTest/nginx-1.10.2'
linux-1bh3:/etc/init.d # chkconfig nginx on
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: warning: script 'nginx' missing LSB tags
insserv: warning: script 'nginx' missing LSB tags
insserv: Default-Start undefined, assuming default start runlevel(s) for script `nginx'
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script keepalived is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: missing `Default-Start:' entry: please add even if empty.
insserv: Default-Start undefined, assuming default start runlevel(s) for script `keepalived'
insserv: Service network is missed in the runlevels 4 to use service mysql
linux-1bh3:/etc/init.d # service nginx start
Starting nginx daemon: nginx.
linux-1bh3:/etc/init.d # ps -ef | grep nginx
root 17484 1 0 15:57 ? 00:00:00 nginx: master process /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
nobody 17485 17484 0 15:57 ? 00:00:00 nginx: worker process
root 17487 20810 0 15:58 pts/1 00:00:00 grep nginx
linux-1bh3:/etc/init.d # service nginx stop
Stopping nginx daemon: nginx.
linux-1bh3:/etc/init.d # ps -ef | grep nginx
root 17493 20810 0 15:58 pts/1 00:00:00 grep nginx
linux-1bh3:/etc/init.d # service nginx stop
Stopping nginx daemon: nginxcat: /usr/local/nginx/logs/nginx.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
not running.
linux-1bh3:/etc/init.d # service nginx start
Starting nginx daemon: nginx.
linux-1bh3:/etc/init.d # ps -ef | grep nginx
root 17504 1 0 15:58 ? 00:00:00 nginx: master process /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
nobody 17505 17504 0 15:58 ? 00:00:00 nginx: worker process
root 17507 20810 0 15:58 pts/1 00:00:00 grep nginx
linux-1bh3:/etc/init.d # chkconfig --level 2345 nginx on
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: warning: script 'S01nginx' missing LSB tags
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: warning: script 'nginx' missing LSB tags
insserv: warning: script 'nginx' missing LSB tags
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script keepalived is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: missing `Default-Start:' entry: please add even if empty.
insserv: Default-Start undefined, assuming default start runlevel(s) for script `keepalived'
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: warning: script 'nginx' missing LSB tags
insserv: warning: script 'nginx' missing LSB tags
insserv: Default-Start undefined, assuming default start runlevel(s) for script `nginx'
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script keepalived is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: missing `Default-Start:' entry: please add even if empty.
insserv: Default-Start undefined, assuming default start runlevel(s) for script `keepalived'
insserv: Service network is missed in the runlevels 4 to use service mysql
linux-1bh3:/usr/nginxTest # clear
linux-1bh3:/usr/nginxTest # scp pcre-8.31.tar.bz2 root@10.10.12.100: /usr/suse/
/usr/suse/: No such file or directory
linux-1bh3:/usr/nginxTest # scp pcre-8.31.tar.bz2 root@10.10.12.100:/usr/suse/
The authenticity of host '10.10.12.100 (10.10.12.100)' can't be established.
ECDSA key fingerprint is 61:55:62:9f:80:b9:24:1b:d0:f4:43:fc:3f:51:db:a1 [MD5].
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.10.12.100' (ECDSA) to the list of known hosts.
Password:
pcre-8.31.tar.bz2 100% 1228KB 1.2MB/s 00:00
linux-1bh3:/usr/nginxTest #
group:/usr/suse # yast2
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Reading pinyin phrase lib failed
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.7
group:/usr/suse # ll
总用量 3286306
dr-xr-xr-x 7 root root 4096 6月 15 2013 mount_tmp
drwxr-xr-x 9 test 1001 376 1月 18 16:23 nginx-1.10.2
-rwxr-xr-x 1 root root 3361888256 1月 18 16:29 SLES-11-.iso
group:/usr/suse # zypper lr
# | 别名 | 名称 | 已启用 | 刷新
--+--------------------------------------------------+--------------------------------------------------+--------+-----
1 | SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138 | SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138 | 是 | 否
2 | ssssss | ssssss | 是 | 是
group:/usr/suse # zypper install gcc
正在接受服务 'ssssss' 的元数据 [完毕]
正在加载安装源数据...
正在读取已安装的软件包...
正在解析软件包依赖性...
以下新的软件包将被安装:
gcc gcc43 glibc-devel linux-kernel-headers
4 new packages to install.
总下载大小:7.6 MiB 。 操作完成后,额外的 40.8 MiB 空间将会被使用。
是否继续? [y/n/?] (y): y
正在接收 软件包 linux-kernel-headers-2.6.32-1.13.5.noarch (1/4), 721.0 KiB (解压后 2.6 MiB)
正在接收 软件包 glibc-devel-2.11.3-17.54.1.x86_64 (2/4), 4.8 MiB (解压后 31.0 MiB)
正在接收 软件包 gcc43-4.3.4_20091019-0.37.30.x86_64 (3/4), 2.1 MiB (解压后 7.2 MiB)
正在接收 软件包 gcc-4.3-62.198.x86_64 (4/4), 5.0 KiB (解压后 0 B)
正在安装: linux-kernel-headers-2.6.32-1.13.5 [完毕]
Additional rpm output:
post linux-kernel-headers-2.6.32-1.13.5 /var/tmp/rpm-tmp.38238 1
正在安装: glibc-devel-2.11.3-17.54.1 [完毕]
正在安装: gcc43-4.3.4_20091019-0.37.30 [完毕]
正在安装: gcc-4.3-62.198 [完毕]
group:/usr/suse # zypper install gcc-c++
正在加载安装源数据...
正在读取已安装的软件包...
正在解析软件包依赖性...
以下新的软件包将被安装:
gcc43-c++ gcc-c++ libstdc++43-devel
3 new packages to install.
总下载大小:5.5 MiB 。 操作完成后,额外的 26.7 MiB 空间将会被使用。
是否继续? [y/n/?] (y): y
正在接收 软件包 libstdc++43-devel-4.3.4_20091019-0.37.30.x86_64 (1/3), 2.2 MiB (解压后 18.1 MiB)
正在接收 软件包 gcc43-c++-4.3.4_20091019-0.37.30.x86_64 (2/3), 3.2 MiB (解压后 8.6 MiB)
正在接收 软件包 gcc-c++-4.3-62.198.x86_64 (3/3), 5.0 KiB (解压后 0 B)
正在安装: libstdc++43-devel-4.3.4_20091019-0.37.30 [完毕]
正在安装: gcc43-c++-4.3.4_20091019-0.37.30 [完毕]
正在安装: gcc-c++-4.3-62.198 [完毕]
./configure
--sbin-path=/usr/local/nginx/nginx\
--conf-path=/usr/local/nginx/nginx.conf \
--pid-path=/usr/local/nginx/nginx.pid \
--with-http_ssl_module \
--with-openssl=/usr/bin/openssl
group:/usr/suse # df -h
文件系统 容量 已用 可用 已用% 挂载点
/dev/xvda1 80G 11G 70G 14% /
udev 4.9G 136K 4.9G 1% /dev
tmpfs 4.9G 0 4.9G 0% /dev/shm
/dev/xvda5 525M 71M 455M 14% /boot
/dev/xvda7 110G 779M 110G 1% /opt
/dev/xvda8 110G 33M 110G 1% /srv/ftp/wit/ftpd
/dev/xvda9 68G 1.8G 66G 3% /srv/ftpd/log
group:/usr/suse # df -h
文件系统 容量 已用 可用 已用% 挂载点
/dev/xvda1 80G 7.6G 73G 10% /
udev 4.9G 136K 4.9G 1% /dev
tmpfs 4.9G 0 4.9G 0% /dev/shm
/dev/xvda5 525M 71M 455M 14% /boot
/dev/xvda7 110G 779M 110G 1% /opt
/dev/xvda8 110G 33M 110G 1% /srv/ftp/wit/ftpd
/dev/xvda9 68G 1.8G 66G 3% /srv/ftpd/log
group:/usr/suse/nginx-1.10.2 # ./configure
checking for OS
+ Linux 3.0.76-0.11-default x86_64
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)
checking for gcc -pipe switch ... found
checking for -Wl,-E switch ... found
checking for gcc builtin atomic operations ... found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for gcc builtin 64 bit byteswap ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... found
checking for Linux specific features
checking for epoll ... found
checking for EPOLLRDHUP ... found
checking for O_PATH ... not found
checking for sendfile() ... found
checking for sendfile64() ... found
checking for sys/prctl.h ... found
checking for prctl(PR_SET_DUMPABLE) ... found
checking for sched_setaffinity() ... found
checking for crypt_r() ... found
checking for sys/vfs.h ... found
checking for nobody group ... found
checking for poll() ... found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for F_READAHEAD ... not found
checking for posix_fadvise() ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... not found
checking for dlopen() in libdl ... found
checking for sched_yield() ... found
checking for SO_SETFIB ... not found
checking for SO_REUSEPORT ... not found
checking for SO_ACCEPTFILTER ... not found
checking for IP_RECVDSTADDR ... not found
checking for IP_PKTINFO ... found
checking for IPV6_RECVPKTINFO ... found
checking for TCP_DEFER_ACCEPT ... found
checking for TCP_KEEPIDLE ... found
checking for TCP_FASTOPEN ... not found
checking for TCP_INFO ... found
checking for accept4() ... found
checking for eventfd() ... found
checking for int size ... 4 bytes
checking for long size ... 8 bytes
checking for long long size ... 8 bytes
checking for void * size ... 8 bytes
checking for uint32_t ... found
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 4 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system byte ordering ... little endian
checking for size_t size ... 8 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 8 bytes
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for pwritev() ... found
checking for sys_nerr ... found
checking for localtime_r() ... found
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... not found
checking for POSIX semaphores in libpthread ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
checking for openat(), fstatat() ... found
checking for getaddrinfo() ... found
checking for PCRE library ... not found
checking for PCRE library in /usr/local/ ... not found
checking for PCRE library in /usr/include/pcre/ ... not found
checking for PCRE library in /usr/pkg/ ... not found
checking for PCRE library in /opt/local/ ... not found
./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.
group:/usr/suse/nginx-1.10.2 # ./configure
checking for OS
+ Linux 3.0.76-0.11-default x86_64
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)
checking for gcc -pipe switch ... found
checking for -Wl,-E switch ... found
checking for gcc builtin atomic operations ... found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for gcc builtin 64 bit byteswap ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... found
checking for Linux specific features
checking for epoll ... found
checking for EPOLLRDHUP ... found
checking for O_PATH ... not found
checking for sendfile() ... found
checking for sendfile64() ... found
checking for sys/prctl.h ... found
checking for prctl(PR_SET_DUMPABLE) ... found
checking for sched_setaffinity() ... found
checking for crypt_r() ... found
checking for sys/vfs.h ... found
checking for nobody group ... found
checking for poll() ... found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for F_READAHEAD ... not found
checking for posix_fadvise() ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... not found
checking for dlopen() in libdl ... found
checking for sched_yield() ... found
checking for SO_SETFIB ... not found
checking for SO_REUSEPORT ... not found
checking for SO_ACCEPTFILTER ... not found
checking for IP_RECVDSTADDR ... not found
checking for IP_PKTINFO ... found
checking for IPV6_RECVPKTINFO ... found
checking for TCP_DEFER_ACCEPT ... found
checking for TCP_KEEPIDLE ... found
checking for TCP_FASTOPEN ... not found
checking for TCP_INFO ... found
checking for accept4() ... found
checking for eventfd() ... found
checking for int size ... 4 bytes
checking for long size ... 8 bytes
checking for long long size ... 8 bytes
checking for void * size ... 8 bytes
checking for uint32_t ... found
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 4 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system byte ordering ... little endian
checking for size_t size ... 8 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 8 bytes
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for pwritev() ... found
checking for sys_nerr ... found
checking for localtime_r() ... found
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... not found
checking for POSIX semaphores in libpthread ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
checking for openat(), fstatat() ... found
checking for getaddrinfo() ... found
checking for PCRE library ... not found
checking for PCRE library in /usr/local/ ... not found
checking for PCRE library in /usr/include/pcre/ ... not found
checking for PCRE library in /usr/pkg/ ... not found
checking for PCRE library in /opt/local/ ... not found
./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.
linux-1bh3:/usr/nginxTest/suse_iso_mount # umount /usr/nginxTest/suse_iso_mount/
umount: /usr/nginxTest/suse_iso_mount: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
fuser -m -v /usr/nginxTest/suse_iso_mount/
---恢复内容结束---

浙公网安备 33010602011771号