- 论坛徽章:
- 0
|
我在centos6.5上安装php扩展openssl总是make不过去,请大家帮忙看看。
[root@test1 openssl]# /usr/local/php-5.2.8/bin/phpize- Configuring for:
- PHP Api Version: 20041225
- Zend Module Api No: 20060613
- Zend Extension Api No: 220060519
- configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
- ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
- ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
- aclocal.m4:3535: AC_LIBTOOL_LINKER_OPTION is expanded from...
- aclocal.m4:5473: _LT_AC_LANG_C_CONFIG is expanded from...
- aclocal.m4:5472: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
- aclocal.m4:2952: AC_LIBTOOL_SETUP is expanded from...
- aclocal.m4:2932: _AC_PROG_LIBTOOL is expanded from...
- aclocal.m4:2895: AC_PROG_LIBTOOL is expanded from...
- configure.in:144: the top level
- configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
- aclocal.m4:3490: AC_LIBTOOL_COMPILER_OPTION is expanded from...
- aclocal.m4:7600: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
- configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
- aclocal.m4:5586: _LT_AC_LANG_CXX_CONFIG is expanded from...
- aclocal.m4:5585: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
- aclocal.m4:4621: _LT_AC_TAGCONFIG is expanded from...
- configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
- ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
- ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
- aclocal.m4:3535: AC_LIBTOOL_LINKER_OPTION is expanded from...
- aclocal.m4:5473: _LT_AC_LANG_C_CONFIG is expanded from...
- aclocal.m4:5472: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
- aclocal.m4:2952: AC_LIBTOOL_SETUP is expanded from...
- aclocal.m4:2932: _AC_PROG_LIBTOOL is expanded from...
- aclocal.m4:2895: AC_PROG_LIBTOOL is expanded from...
- configure.in:144: the top level
- configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
- aclocal.m4:3490: AC_LIBTOOL_COMPILER_OPTION is expanded from...
- aclocal.m4:7600: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
- configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
- aclocal.m4:5586: _LT_AC_LANG_CXX_CONFIG is expanded from...
- aclocal.m4:5585: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
- aclocal.m4:4621: _LT_AC_TAGCONFIG is expanded from...
复制代码 [root@test1 openssl]# ./configure --with-php-config=/usr/local/php-5.2.8/bin/php-config- checking for grep that handles long lines and -e... /bin/grep
- checking for egrep... /bin/grep -E
- checking for a sed that does not truncate output... /bin/sed
- checking for gcc... gcc
- checking for C compiler default output file name... a.out
- checking whether the C compiler works... yes
- checking whether we are cross compiling... no
- checking for suffix of executables...
- 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 how to run the C preprocessor... gcc -E
- checking for icc... no
- checking whether gcc and cc understand -c and -o together... yes
- checking for system library directory... lib
- checking if compiler supports -R... no
- checking if compiler supports -Wl,-rpath,... 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 PHP prefix... /usr/local/php-5.2.8
- checking for PHP includes... -I/usr/local/php-5.2.8/include/php -I/usr/local/php-5.2.8/include/php/main -I/usr/local/php-5.2.8/include/php/TSRM -I/usr/local/php-5.2.8/include/php/Zend -I/usr/local/php-5.2.8/include/php/ext -I/usr/local/php-5.2.8/include/php/ext/date/lib
- checking for PHP extension directory... /usr/local/php-5.2.8/lib/php/extensions/no-debug-non-zts-20060613
- checking for PHP installed headers prefix... /usr/local/php-5.2.8/include/php
- checking if debug is enabled... no
- checking if zts is enabled... no
- checking for re2c... no
- configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
- checking for gawk... gawk
- checking for OpenSSL support... yes, shared
- checking for Kerberos support... no
- checking for DSA_get_default_method in -lssl... yes
- checking for pkg-config... /usr/bin/pkg-config
- checking for ld used by gcc... /usr/bin/ld
- checking if the linker (/usr/bin/ld) is GNU ld... yes
- checking for /usr/bin/ld option to reload object files... -r
- checking for BSD-compatible nm... /usr/bin/nm -B
- checking whether ln -s works... yes
- checking how to recognise dependent libraries... pass_all
- 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 dlfcn.h usability... yes
- checking dlfcn.h presence... yes
- checking for dlfcn.h... yes
- checking the maximum length of command line arguments... 32768
- checking command to parse /usr/bin/nm -B output from gcc object... ok
- checking for objdir... .libs
- checking for ar... ar
- checking for ranlib... ranlib
- checking for strip... strip
- checking if gcc static flag works... yes
- checking if gcc supports -fno-rtti -fno-exceptions... no
- checking for gcc option to produce PIC... -fPIC
- checking if gcc PIC flag -fPIC works... yes
- checking if gcc supports -c -o file.o... 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... no
- creating libtool
- appending configuration tag "CXX" to libtool
- configure: creating ./config.status
- config.status: creating config.h
- config.status: config.h is unchanged
复制代码 [root@test1 openssl]# make[root@test1 openssl]# make install[root@test1 openssl]#
[root@test1 etc]# yum install openssl openssl-devel- Loaded plugins: fastestmirror, refresh-packagekit, security
- Loading mirror speeds from cached hostfile
- * base: mirror.bit.edu.cn
- * extras: mirror.bit.edu.cn
- * updates: mirror.bit.edu.cn
- Setting up Install Process
- Package openssl-1.0.1e-16.el6_5.4.x86_64 already installed and latest version
- Package openssl-devel-1.0.1e-16.el6_5.4.x86_64 already installed and latest version
- Nothing to do
复制代码 |
|