Issue During Configure

From: Date: Fri, 29 Aug 2008 11:54:23 +0000
Subject: Issue During Configure
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5709@lists.php.net to get a copy of this message
Hi, I have installed openssl-0.9.8h and libssh2-0.18 on my Solaris X86 machine. Now I need to install PECL ssh2-0.10 on the top of it. I did phpize and got the following : ------------------------------------------------------------------------------------------------ bash-3.00# phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from... aclocal.m4:3526: AC_LIBTOOL_LINKER_OPTION is expanded from... aclocal.m4:5464: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:5463: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:2943: AC_LIBTOOL_SETUP is expanded from... aclocal.m4:2923: _AC_PROG_LIBTOOL is expanded from... aclocal.m4:2886: AC_PROG_LIBTOOL is expanded from... configure.in:77: the top level configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3481: AC_LIBTOOL_COMPILER_OPTION is expanded from... aclocal.m4:7591: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:5577: _LT_AC_LANG_CXX_CONFIG is expanded from... aclocal.m4:5576: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... aclocal.m4:4612: _LT_AC_TAGCONFIG is expanded from... configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from... aclocal.m4:3526: AC_LIBTOOL_LINKER_OPTION is expanded from... aclocal.m4:5464: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:5463: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:2943: AC_LIBTOOL_SETUP is expanded from... aclocal.m4:2923: _AC_PROG_LIBTOOL is expanded from... aclocal.m4:2886: AC_PROG_LIBTOOL is expanded from... configure.in:77: the top level configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3481: AC_LIBTOOL_COMPILER_OPTION is expanded from... aclocal.m4:7591: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:5577: _LT_AC_LANG_CXX_CONFIG is expanded from... aclocal.m4:5576: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... aclocal.m4:4612: _LT_AC_TAGCONFIG is expanded from... ------------------------------------------------------------------------------------------------ Then I did ./configure --with-ssh2 and got the following ERROR : ------------------------------------------------------------------------------------------------ bash-3.00# ./configure --with-ssh2 checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep checking for egrep... /usr/sfw/bin/ggrep -E checking for a sed that does not truncate output... /usr/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 whether gcc and cc understand -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... yes checking build system type... i386-pc-solaris2.10 checking host system type... i386-pc-solaris2.10 checking target system type... i386-pc-solaris2.10 checking for PHP prefix... /opt/coolstack/php5 checking for PHP includes... -I/opt/coolstack/php5/include/php -I/opt/coolstack/php5/include/php/main -I/opt/coolstack/php5/include/php/TSRM -I/opt/coolstack/php5/include/php/Zend -I/opt/coolstack/php5/include/php/ext -I/opt/coolstack/php5/include/php/ext/date/lib checking for PHP extension directory... /opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613 checking for PHP installed headers prefix... /opt/coolstack/php5/include/php checking for re2c... no configure: WARNING: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... nawk checking if nawk is broken... no checking for ssh2 support... yes, shared checking for ssh2 files in default path... found in /usr/local checking for libssh2_banner_set in -lssh2... no configure: error: libssh2 version >= 0.4 not found ------------------------------------------------------------------------------------------------ I don't understand the reason behind the error "configure: error: libssh2 version >= 0.4 not found" I tried some help from google (such as removing -ldl option from 39 of config.m4 etc.) but no luck :( Please help me resolving the issue. Thanks in advance. -Asmii

« previous php.pecl.dev (#5709) next »