Re: Issue During Configure
| From: | Asimananda Mohanty | Date: | Mon, 01 Sep 2008 05:02:24 +0000 |
| Subject: | Re: Issue During Configure | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-5714@lists.php.net to get a copy of this message | ||
Hi,
I am using following autoconf version :
autoconf (GNU Autoconf) 2.62
Should I change the same so as to overcome this issue? Is this creating some problem?
Here is the part from config.log where it shows the error :
------------------------------------------------------------------------------------
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:4162: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char libssh2_banner_set ();
| int
| main ()
| {
| return libssh2_banner_set ();
| ;
| return 0;
| }
configure:4185: result: no
configure:4303: error: libssh2 version >= 0.4 not found
------------------------------------------------------------------------------------
Thaks for the reply :)
Please suggest.
-Asmii
----- Original Message ----
From: Antony Dovgal <tony@daylessday.org>
To: Asimananda Mohanty <asimananda_mohanty@yahoo.com>
Cc: pecl-dev@lists.php.net
Sent: Friday, August 29, 2008 5:30:02 PM
Subject: Re: [PECL-DEV] Issue During Configure
On 29.08.2008 15:54, Asimananda Mohanty wrote:
> 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
<skip>
Your autoconf is broken quite badly.
<skip>
> 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
configure tries to compile a simple code using libssh2_banner_set() and fails.
You can find the error messages at the end of your config.log.
--
Wbr,
Antony Dovgal
--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php