From:             [EMAIL PROTECTED]
Operating system: CYGWIN_NT-5.1
PHP version:      5.1.0b2
PHP Bug Type:     Compile Failure
Bug description:  Configure fails with curl

Description:
------------
Configuring PHP with curl does not work

Reproduce code:
---------------
$ ./configure --prefix=/opt/php --sysconfdir=/etc/opt/php
--localstatedir=/var/opt/php --enable-cli --enable-fastcgi
--enable-discard-path --enable-force-cgi-redirect --enable-mbstring
--with-gd --with-zlib --with-curl --with-iconv --disable-ipv


Expected result:
----------------
Configure finishes successfully.

Actual result:
--------------
[...]

checking for CURL support... yes
checking if we should use CURL for url streams... no
checking for CURL in default path... found in /usr
checking for cURL 7.10.5 or greater... libcurl 7.11.1
checking for curl_easy_perform in -lcurl... no
configure: error: There is something wrong. Please check config.log for
more inf
ormation.

config.log says:
---------------------------------------------------------
configure:24281: checking for CURL support
configure:24327: checking if we should use CURL for url streams
configure:24354: checking for CURL in default path
configure:24372: checking for cURL 7.10.5 or greater
configure:24704: checking for curl_easy_perform in -lcurl
configure:24723: gcc -o conftest -g -O2   -lcurl -lssl -lcrypto -lgdi32
-lwinmm 
-lz conftest.c -lcurl  -lcurl -lz -lm  -lxml2 -lz -liconv -lm -lcurl -lssl
-lcry
pto -lgdi32 -lwinmm -lz 1>&5
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
cannot find
 -lssl
collect2: ld returned 1 exit status
configure: failed program was:
#line 24712 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char curl_easy_perform();

int main() {
curl_easy_perform()
; return 0; }
---------------------------------------------------------

-- 
Edit bug report at http://bugs.php.net/?id=33448&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33448&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33448&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33448&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33448&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33448&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33448&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33448&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33448&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33448&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33448&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33448&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33448&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33448&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33448&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33448&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33448&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33448&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33448&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33448&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33448&r=mysqlcfg

Reply via email to