ID:               35341
 Updated by:       [EMAIL PROTECTED]
 Reported By:      selsky at columbia dot edu
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Solaris
 PHP Version:      4CVS-2005-11-22 (snap)
 New Comment:

Apparently your patch cannot fix the problem with "==".


Previous Comments:
------------------------------------------------------------------------

[2005-11-22 23:11:32] selsky at columbia dot edu

Here's a patch against the PHP_4_4 branch:

$ cvs -q diff -u ext/curl/config.m4
Index: ext/curl/config.m4
========================================================
===========
RCS file: /repository/php-src/ext/curl/config.m4,v
retrieving revision 1.20.2.2.2.1
diff -u -r1.20.2.2.2.1 config.m4
--- ext/curl/config.m4  2 Nov 2005 15:03:36 -0000       
1.20.2.2.2.1
+++ ext/curl/config.m4  22 Nov 2005 22:07:30 -0000
@@ -50,7 +50,7 @@
   fi
   
   AC_MSG_CHECKING([for SSL support in libcurl])
-  CURL_SSL=`$CURL_CONFIG --features | $EGREP SSL`
+  CURL_SSL=`$CURL_CONFIG --feature | $EGREP SSL`
   if test "$CURL_SSL" == "SSL"; then
     AC_MSG_RESULT([yes])
     AC_DEFINE([HAVE_CURL_SSL], [1], [Have cURL with  
SSL support])

------------------------------------------------------------------------

[2005-11-22 22:51:44] [EMAIL PROTECTED]

Please try this patch:
http://tony2001.phpclub.net/dev/tmp/bug35341.diff
Apply it with `patch -p0 < bug35341,diff` and don't forget to run
`./buildconf` after that.

------------------------------------------------------------------------

[2005-11-22 22:38:29] selsky at columbia dot edu

Description:
------------
I'm build php 4.4.2 snap with a date of 200511222004.  
My configure options are:

./configure \
  --prefix=/opt/php-4.4-dev \
  --sysconfdir=/etc/php \
  --with-config-file-path=/etc/php \
  --with-apxs2-filter \
  --with-openssl=/opt/openssl-0.9.7i \
  --with-curl=/opt/curl-7.11.1

The configure fails to complete.  The failure is in the 
patch added by bug 33760.

Expected result:
----------------
Successful configure run.

Actual result:
--------------
checking for CURL support... yes
checking for cURL 7.9.8 or greater... libcurl 7.11.1
checking for SSL support in libcurl... ./configure: SSL: 
not found
./configure: test: unknown operator ==

curl 7.11.1 supports "--feature" but not "--features".  
Newer versions (7.13.0+) of curl-config support both 
options.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35341&edit=1

Reply via email to