Re: Issue During Configure
| From: | Asimananda Mohanty | Date: | Thu, 04 Sep 2008 11:51:19 +0000 |
| Subject: | Re: Issue During Configure | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-5724@lists.php.net to get a copy of this message | ||
Hi All,
I have reached till make and then I got another error.
Here is the output.
------------------------------------------------------------------------------------------------------------------------------
root@NGNIX8622 /export/asmii_2/ASMII/softwares/ssh2-0.10 $ 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...
root@NGNIX8622 /export/asmii_2/ASMII/softwares/ssh2-0.10 $ ./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/xpg4/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... yes
checking for libssh2_channel_forward_listen_ex in -lssh2... yes
checking for libssh2_userauth_hostbased_fromfile_ex in -lssh2... yes
checking for libssh2_poll in -lssh2... yes
checking for libssh2_publickey_init in -lssh2... yes
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/xpg4/bin//nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 262144
checking command to parse /usr/xpg4/bin//nm -p 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/ccs/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
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
root@NGNIX8622 /export/asmii_2/ASMII/softwares/ssh2-0.10 $ make
/bin/bash /export/asmii_2/ASMII/softwares/ssh2-0.10/libtool --mode=compile gcc -I.
-I/export/asmii_2/ASMII/softwares/ssh2-0.10 -DPHP_ATOM_INC
-I/export/asmii_2/ASMII/softwares/ssh2-0.10/include -I/export/asmii_2/ASMII/softwares/ssh2-0.10/main
-I/export/asmii_2/ASMII/softwares/ssh2-0.10 -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 -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c
/export/asmii_2/ASMII/softwares/ssh2-0.10/ssh2.c -o ssh2.lo
mkdir .libs
gcc -I. -I/export/asmii_2/ASMII/softwares/ssh2-0.10 -DPHP_ATOM_INC
-I/export/asmii_2/ASMII/softwares/ssh2-0.10/include -I/export/asmii_2/ASMII/softwares/ssh2-0.10/main
-I/export/asmii_2/ASMII/softwares/ssh2-0.10 -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 -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c
/export/asmii_2/ASMII/softwares/ssh2-0.10/ssh2.c -fPIC -DPIC -o .libs/ssh2.o
/export/asmii_2/ASMII/softwares/ssh2-0.10/ssh2.c: In function `zif_ssh2_methods_negotiated':
/export/asmii_2/ASMII/softwares/ssh2-0.10/ssh2.c:481: warning: passing arg 2 of
`libssh2_session_methods' makes integer from pointer without a cast
/export/asmii_2/ASMII/softwares/ssh2-0.10/ssh2.c:481: error: too many arguments to function
`libssh2_session_methods'
/export/asmii_2/ASMII/softwares/ssh2-0.10/ssh2.c: In function `zif_ssh2_fingerprint':
/export/asmii_2/ASMII/softwares/ssh2-0.10/ssh2.c:536: warning: assignment discards qualifiers from
pointer target type
/export/asmii_2/ASMII/softwares/ssh2-0.10/ssh2.c: In function `zif_ssh2_publickey_add':
/export/asmii_2/ASMII/softwares/ssh2-0.10/ssh2.c:1038: warning: passing arg 1 of `_efree'
discards qualifiers from pointer target type
/export/asmii_2/ASMII/softwares/ssh2-0.10/ssh2.c: In function `zif_ssh2_publickey_list':
/export/asmii_2/ASMII/softwares/ssh2-0.10/ssh2.c:1097: warning: passing arg 4 of
`add_assoc_stringl_ex' discards qualifiers from pointer target type
/export/asmii_2/ASMII/softwares/ssh2-0.10/ssh2.c:1098: warning: passing arg 4 of
`add_assoc_stringl_ex' discards qualifiers from pointer target type
/export/asmii_2/ASMII/softwares/ssh2-0.10/ssh2.c:1106: warning: initialization discards qualifiers
from pointer target type
/export/asmii_2/ASMII/softwares/ssh2-0.10/ssh2.c:1107: warning: passing arg 2 of
`_zend_hash_add_or_update' discards qualifiers from pointer target type
*** Error code 1
make: Fatal error: Command failed for target `ssh2.lo'
------------------------------------------------------------------------------------------------------------------------------
Please suggest me something so as to overcome this issue.
Thanks.
--Asmii
----- Original Message ----
From: Asimananda Mohanty <asimananda_mohanty@yahoo.com>
To: Antony Dovgal <tony@daylessday.org>; pecl-dev@lists.php.net
Sent: Monday, September 1, 2008 2:11:47 PM
Subject: Re: [PECL-DEV] Issue During Configure
Hi,
Actually I was facing some issue with openSSl during
installation of libssh2 and here is what I did in order to overcome the
issue.
I removed the default openssl that comes with solaris 10
by default. Then I put openssl 0.9.8h on the system and in order to
overcome the error thrown by apps like pkginfo (not able to find libssh2.so.0.9.7 and
libcrypto.so.0.9.7),
I created softlinks in /usr/sfw/lib which pointed to the newer .so
files. By doing this, I was able to install libssh2 too (as previously
it was getting hooked between old and new openSSL).
Did I do something wrong for which ssh2 is throwing error?
Please let me know.
Thanks for the support.
-Asmii
----- Original Message ----
From: Asimananda Mohanty <asimananda_mohanty@yahoo.com>
To: Antony Dovgal <tony@daylessday.org>; pecl-dev@lists.php.net
Sent: Monday, September 1, 2008 1:12:34 PM
Subject: Re: [PECL-DEV] Issue During Configure
Hi,
Actually I was facing some issue with openSSl during installation of libssh2 and here is what I did
in order to overcome the issue.
I removed the default openssl that comes with solaris 10 by default. Then I put openssl 0.9.8h on
the system and in order to overcome the error thrown by apps like pkgconf (not able to find
libssh2.so.0.9.7 and libcrypto.so.0.9.7), I created softlinks in /usr/sfw/lib which pointed to the
newer .so files. By doing this, I was able to install libssh2 too (as previously it was getting
hooked between old and new openSSL).
Did I do something wrong for which ssh2 is throwing error?
Please let me know.
Thanks for the support.
-Asmii
----- Original Message ----
From: Antony Dovgal <tony@daylessday.org>
To: Asimananda Mohanty <asimananda_mohanty@yahoo.com>
Cc: pecl-dev@lists.php.net
Sent: Monday, September 1, 2008 12:51:30 PM
Subject: Re: [PECL-DEV] Issue During Configure
On 01.09.2008 09:02, Asimananda Mohanty wrote:
----------
configure:4155: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib -lm -ldl conftest.c
-lssh2 >&5
ld: warning: file libcrypto.so.0.9.8: required by /usr/local/lib/libssh2.so, not found
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
----------
Something's apparently wrong with OpenSSL.
--
Wbr,
Antony Dovgal