Re: [PHP-DEV] 4.1.0RC2

2001-11-21 Thread Derick Rethans

On Thu, 22 Nov 2001, Balazs Nagy wrote:

> I found that these patches are for autoconf-2.52.  Sadly
> _AC_DECL_YYTEXT breaks the compatibility with autoconf-2.13.

Okay, the I can't apply it yet, as most people still use autoconf 2.13.

Derick

-
PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
 SRM: Site Resource Manager - www.vl-srm.net
-
JDI Media Solutions - www.jdimedia.nl - [EMAIL PROTECTED]
 Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands
-


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.1.0RC2

2001-11-21 Thread Balazs Nagy

On Sun, Nov 18 2001, Derick Rethans <[EMAIL PROTECTED]> wrote:

> can you clarify your patches? I've no idea why they are needed.

Hi,

I found that these patches are for autoconf-2.52.  Sadly
_AC_DECL_YYTEXT breaks the compatibility with autoconf-2.13.

BTW +2 successful RC3 tests (RH72), but autoconf-2.52 needs my patches.
-- 
jul

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.1.0RC2

2001-11-18 Thread Balazs Nagy

On Sun, Nov 18 2001, Derick Rethans <[EMAIL PROTECTED]> wrote:

> I merged those patches. Can you try the latest CVS version?

Works well. BTW is this a feature?

'A', 'b'=>'B');
$b = array('a' => 'newA');
$c = $a + $b;
$d = array_merge($a, $b);
var_dump($c);
var_dump($d);
?>

returns: 

X-Powered-By: PHP/4.1.0RC2
Content-type: text/html

array(2) {
  ["a"]=>
  string(1) "A"
  ["b"]=>
  string(1) "B"
}
array(2) {
  ["a"]=>
  string(4) "newA"
  ["b"]=>
  string(1) "B"
}
-- 
jul

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.1.0RC2

2001-11-18 Thread Derick Rethans

Hello,

can you clarify your patches? I've no idea why they are needed.

Derick


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.1.0RC2

2001-11-17 Thread Derick Rethans

Hello,

I merged those patches. Can you try the latest CVS version?

Derick

On Sat, 17 Nov 2001, Balazs Nagy wrote:

> On Tue, Nov 13 2001, Derick Rethans <[EMAIL PROTECTED]> wrote:
>
> > Forgot to attached it...
>
> I have downloaded the latest php4 from PHP_4_0_7 branch, and still I can't
> complile, but I found some patches against the HEAD branch which should
> applied to PHP_4_0_7 too:
>
> http://cvsweb.php.net/diff.php/php4/acinclude.m4?sbt=2&r1=1.139&r2=1.140&ty=u
> http://cvsweb.php.net/diff.php/php4/configure.in?sbt=2&r1=1.273&r2=1.274&ty=u
>
> (acinclude.m4 diff release 1.139 to 1.140 and
>  configure.in diff release 1.273 to 1.274)
> --
> jul
>
> --
> PHP Development Mailing List 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>

Derick Rethans

-
PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
 SRM: Site Resource Manager - www.vl-srm.net
-


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.1.0RC2 (fwd)

2001-11-17 Thread Sascha Schumann

On Sat, 17 Nov 2001, Derick Rethans wrote:

> Hello Sascha,
>
> this user has some troubles, and suggests that this action should be taken
> in the configure process. Can I safely merge this in without problems?

Looks fine to me.  IIRC, this was just some issue with the
auto-tools disliking the location of the macros.

- Sascha Experience IRCG
  http://schumann.cx/http://schumann.cx/ircg


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.1.0RC2 (fwd)

2001-11-17 Thread Derick Rethans

Hello Sascha,

this user has some troubles, and suggests that this action should be taken
in the configure process. Can I safely merge this in without problems?

regards,

Derick Rethans

-- Forwarded message --
Date: Sat, 17 Nov 2001 13:54:00 +0100
From: Balazs Nagy <[EMAIL PROTECTED]>
To: Derick Rethans <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] 4.1.0RC2

On Tue, Nov 13 2001, Derick Rethans <[EMAIL PROTECTED]> wrote:

> Forgot to attached it...

I have downloaded the latest php4 from PHP_4_0_7 branch, and still I can't
complile, but I found some patches against the HEAD branch which should
applied to PHP_4_0_7 too:

http://cvsweb.php.net/diff.php/php4/acinclude.m4?sbt=2&r1=1.139&r2=1.140&ty=u
http://cvsweb.php.net/diff.php/php4/configure.in?sbt=2&r1=1.273&r2=1.274&ty=u

(acinclude.m4 diff release 1.139 to 1.140 and
 configure.in diff release 1.273 to 1.274)
-- 
jul

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.1.0RC2

2001-11-17 Thread Balazs Nagy

On Tue, Nov 13 2001, Derick Rethans <[EMAIL PROTECTED]> wrote:

> Forgot to attached it...

I have downloaded the latest php4 from PHP_4_0_7 branch, and still I can't
complile, but I found some patches against the HEAD branch which should
applied to PHP_4_0_7 too:

http://cvsweb.php.net/diff.php/php4/acinclude.m4?sbt=2&r1=1.139&r2=1.140&ty=u
http://cvsweb.php.net/diff.php/php4/configure.in?sbt=2&r1=1.273&r2=1.274&ty=u

(acinclude.m4 diff release 1.139 to 1.140 and
 configure.in diff release 1.273 to 1.274)
-- 
jul

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.1.0RC2

2001-11-15 Thread Petr Cech

On Tue, Nov 13, 2001 at 04:10:01AM +0200 , Zeev Suraski wrote:
> http://www.php.net/~zeev/php-4.1.0RC2.tar.gz
> 
> Do your thang :)

There is some problem with php run from command line, when HTTP header
output is disabled - that's either -f or -q

test.php:


php -f test.php


Warning:  Cannot send session cookie - headers already sent in
/root/p/test.php on line 2

Warning:  Cannot send session cache limiter - headers already sent
(output started at /root/p/test.php:2) in /root/p/test.php on line
2

and again is setcookie() OK. I'm not really sure about this, but
setcookie("bla"); gives on earlier version this output:

Set-Cookie: bla=deleted; expires=Wed, 15-Nov-00 13:37:21 GMT

but on 4.1.0RC2

Set-Cookie: bla=

is that OK?

Petr Cech
-- 
Debian GNU/Linux maintainer - www.debian.{org,cz}
   [EMAIL PROTECTED]

 GNU\Linux on Win32 systems

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DEV] 4.1.0RC2

2001-11-13 Thread Marc Boeren


> http://www.php.net/~zeev/php-4.1.0RC2.tar.gz
> Do your thang :)

Compiles and runs the testsets fine (winnt, cgi, mysql + dbx + proprietary
extension)

Cheerio, Marc.

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.1.0RC2

2001-11-13 Thread Derick Rethans

On Tue, 13 Nov 2001, Balazs Nagy wrote:

> On Tue, Nov 13 2001, Derick Rethans <[EMAIL PROTECTED]> wrote:
>
> > Forgot to attached it...
>
> Thanks.

Did it work or not?

Derick

> I have another problem.  Red Hat includes old autoconf (2.13) and
> automake (1.4p5).  I have updated autoconf to 2.52 to compile PHP and it
> said:
>
> ./aclocal.m4:944: error: m4_defn: undefined macro: _m4_divert_diversion
> ./aclocal.m4:473: PHP_SUBST is expanded from...
> ./aclocal.m4:944: the top level
>
> In autoconf info file there's a method to solve this problem:
>   rm aclocal.m4
>   autoupdate
>   aclocal
>   autoconf
>
> but it does not work.
>
> I upgraded to automake-1.5 and I did the same, but does not work either.
> --
> jul
>


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.1.0RC2

2001-11-13 Thread Zeev Suraski

It's quite different actually - if we conduct a configure test, then 
presumably we'll refuse to compile under CURL below version 3.8.1 or 
whatever version it is.  If we do an #ifdef check, it'll work with older 
CURL's.

Zeev

At 11:56 13/11/2001, Balazs Nagy wrote:
>On Tue, Nov 13 2001, Zeev Suraski <[EMAIL PROTECTED]> wrote:
>
> > Either that or we can simply check if this #define exists...  What do you
> > think?
>
>Checking for a version and for a #define is the same, but version checking
>is more subtle and can be hidden than another check for the #define's
>existence.
>--
>jul


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.1.0RC2

2001-11-13 Thread Derick Rethans

Forgot to attached it...

On Tue, 13 Nov 2001, Derick Rethans wrote:

> Hello,
>
> can you replace the file ext/curl/config.m4 with the one attached and see
> if it works then? (dont forgot to (re)run ./buildconf).
>
> regards,
> Derick
>
> On Tue, 13 Nov 2001, Balazs Nagy wrote:
>
> > On Tue, Nov 13 2001, Zeev Suraski <[EMAIL PROTECTED]> wrote:
> >
> > > http://www.php.net/~zeev/php-4.1.0RC2.tar.gz
> > >
> > > Do your thang :)
> >
> > make[1]: Entering directory /home/js/dl/linux/web/php-4.1.0RC2/ext/curl'
> > gcc -I. -I/home/js/dl/linux/web/php-4.1.0RC2/ext/curl
> > -I/home/js/dl/linux/web/php-4.1.0RC2/main
> > -I/home/js/dl/linux/web/php-4.1.0RC2
> > -I/home/js/dl/linux/web/php-4.1.0RC2/Zend -I/usr/include/freetype2/freetype
> > -I/home/js/dl/linux/web/php-4.1.0RC2/ext/xml/expat
> > -I/home/js/dl/linux/web/php-4.1.0RC2/TSRM -g -Wall  -c curl.c && touch
> > curl.lo
> > curl.c: In function `zm_startup_curl':
> > curl.c:145: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function)
> > curl.c:145: (Each undeclared identifier is reported only once
> > curl.c:145: for each function it appears in.)
> > curl.c: In function `zif_curl_setopt':
> > curl.c:640: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function)
> > make[1]: *** [curl.lo] Error 1
> > make[1]: Leaving directory /home/js/dl/linux/web/php-4.1.0RC2/ext/curl'
> > make: *** [all-recursive] Error 1
> >
> > It doesn't work with curl-7.8.  It's old enough but this version is included
> > into Red Hat Linux 7.2.  In the 7.9.1 CHANGES file:
> >
> > Version 7.8.1-pre4
> >
> > [...]
> >
> > - Patrick Bihan-Faou introduced CURLOPT_SSL_VERIFYHOST, which makes curl
> >   verify the server's CN field when talking https://. If --cacert is not used,
> >   any failures in matching is only displayed as information (-v).
> >
> > Thus configure's curl check should contain a version check for 7.8.1 or
> > higher.
> > --
> > jul
> >
> >
> >
> > --
> > PHP Development Mailing List 
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
> Derick Rethans
>
> -
> PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
>  SRM: Site Resource Manager - www.vl-srm.net
> -
>
>
> --
> PHP Development Mailing List 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>

Derick Rethans

-
PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
 SRM: Site Resource Manager - www.vl-srm.net
-


dnl $Id: config.m4,v 1.8 2001/08/06 15:40:47 sniper Exp $
dnl config.m4 for extension CURL

PHP_ARG_WITH(curl, for CURL support,
[  --with-curl[=DIR]   Include CURL support])

if test "$PHP_CURL" != "no"; then
  if test -r $PHP_CURL/include/curl/easy.h; then
CURL_DIR=$PHP_CURL
  else
AC_MSG_CHECKING(for CURL in default path)
for i in /usr/local /usr; do
  if test -r $i/include/curl/easy.h; then
CURL_DIR=$i
AC_MSG_RESULT(found in $i)
  fi
done
  fi

  if test -z "$CURL_DIR"; then
AC_MSG_RESULT(not found)
AC_MSG_ERROR(Please reinstall the libcurl distribution -
easy.h should be in /include/curl/)
  fi

  CURL_CONFIG="curl-config"
  AC_MSG_CHECKING(for cURL greater than 7.8.1)

  if ${CURL_DIR}/bin/curl-config --libs print > /dev/null 2>&1; then
CURL_CONFIG=${CURL_DIR}/bin/curl-config
  fi

  curl_version_full=`$CURL_CONFIG --version`
  curl_version=`echo ${curl_version_full} | sed -e 's/libcurl //' | awk 'BEGIN { FS = 
"."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
  if test "$curl_version" -ge 7008001; then
AC_MSG_RESULT($curl_version_full)
CURL_LIBS=`$CURL_CONFIG --libs`
  else
AC_MSG_ERROR(cURL version 7.8.1 or later is required to compile php with cURL 
support)
  fi

  PHP_ADD_INCLUDE($CURL_DIR/include)
  PHP_EVAL_LIBLINE($CURL_LIBS, CURL_SHARED_LIBADD)
  PHP_ADD_LIBRARY_WITH_PATH(curl, $CURL_DIR/lib, CURL_SHARED_LIBADD)

  AC_CHECK_LIB(curl,curl_easy_perform, 
  [ 
AC_DEFINE(HAVE_CURL,1,[ ])
  ],[
AC_MSG_ERROR(There is something wrong. Please check config.log for more 
information.)
  ],[
$CURL_LIBS -L$CURL_DIR/lib
  ])

  PHP_EXTENSION(curl, $ext_shared)
  PHP_SUBST(CURL_SHARED_LIBADD)
fi


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


Re: [PHP-DEV] 4.1.0RC2

2001-11-13 Thread Derick Rethans

On Tue, 13 Nov 2001, Zeev Suraski wrote:

> Either that or we can simply check if this #define exists...  What do you
> think?

I think we should just change the check. Users need to upgrade it anyways,
if they're still using the version required by 4.0.6 (and this is what
sterling always does).

Derick

>
> Zeev
>
> At 11:37 13/11/2001, Balazs Nagy wrote:
> >On Tue, Nov 13 2001, Zeev Suraski <[EMAIL PROTECTED]> wrote:
> >
> > > http://www.php.net/~zeev/php-4.1.0RC2.tar.gz
> > >
> > > Do your thang :)
> >
> >make[1]: Entering directory /home/js/dl/linux/web/php-4.1.0RC2/ext/curl'
> >gcc -I. -I/home/js/dl/linux/web/php-4.1.0RC2/ext/curl
> >-I/home/js/dl/linux/web/php-4.1.0RC2/main
> >-I/home/js/dl/linux/web/php-4.1.0RC2
> >-I/home/js/dl/linux/web/php-4.1.0RC2/Zend -I/usr/include/freetype2/freetype
> >-I/home/js/dl/linux/web/php-4.1.0RC2/ext/xml/expat
> >-I/home/js/dl/linux/web/php-4.1.0RC2/TSRM -g -Wall  -c curl.c && touch
> >curl.lo
> >curl.c: In function `zm_startup_curl':
> >curl.c:145: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function)
> >curl.c:145: (Each undeclared identifier is reported only once
> >curl.c:145: for each function it appears in.)
> >curl.c: In function `zif_curl_setopt':
> >curl.c:640: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function)
> >make[1]: *** [curl.lo] Error 1
> >make[1]: Leaving directory /home/js/dl/linux/web/php-4.1.0RC2/ext/curl'
> >make: *** [all-recursive] Error 1
> >
> >It doesn't work with curl-7.8.  It's old enough but this version is included
> >into Red Hat Linux 7.2.  In the 7.9.1 CHANGES file:
> >
> >Version 7.8.1-pre4
> >
> >[...]
> >
> >- Patrick Bihan-Faou introduced CURLOPT_SSL_VERIFYHOST, which makes curl
> >   verify the server's CN field when talking https://. If --cacert is not
> > used,
> >   any failures in matching is only displayed as information (-v).
> >
> >Thus configure's curl check should contain a version check for 7.8.1 or
> >higher.
> >--
> >jul
>
>
> --
> PHP Development Mailing List 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>

Derick Rethans

-
PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
 SRM: Site Resource Manager - www.vl-srm.net
-


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.1.0RC2

2001-11-13 Thread Derick Rethans

Hello,

can you replace the file ext/curl/config.m4 with the one attached and see
if it works then? (dont forgot to (re)run ./buildconf).

regards,
Derick

On Tue, 13 Nov 2001, Balazs Nagy wrote:

> On Tue, Nov 13 2001, Zeev Suraski <[EMAIL PROTECTED]> wrote:
>
> > http://www.php.net/~zeev/php-4.1.0RC2.tar.gz
> >
> > Do your thang :)
>
> make[1]: Entering directory /home/js/dl/linux/web/php-4.1.0RC2/ext/curl'
> gcc -I. -I/home/js/dl/linux/web/php-4.1.0RC2/ext/curl
> -I/home/js/dl/linux/web/php-4.1.0RC2/main
> -I/home/js/dl/linux/web/php-4.1.0RC2
> -I/home/js/dl/linux/web/php-4.1.0RC2/Zend -I/usr/include/freetype2/freetype
> -I/home/js/dl/linux/web/php-4.1.0RC2/ext/xml/expat
> -I/home/js/dl/linux/web/php-4.1.0RC2/TSRM -g -Wall  -c curl.c && touch
> curl.lo
> curl.c: In function `zm_startup_curl':
> curl.c:145: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function)
> curl.c:145: (Each undeclared identifier is reported only once
> curl.c:145: for each function it appears in.)
> curl.c: In function `zif_curl_setopt':
> curl.c:640: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function)
> make[1]: *** [curl.lo] Error 1
> make[1]: Leaving directory /home/js/dl/linux/web/php-4.1.0RC2/ext/curl'
> make: *** [all-recursive] Error 1
>
> It doesn't work with curl-7.8.  It's old enough but this version is included
> into Red Hat Linux 7.2.  In the 7.9.1 CHANGES file:
>
> Version 7.8.1-pre4
>
> [...]
>
> - Patrick Bihan-Faou introduced CURLOPT_SSL_VERIFYHOST, which makes curl
>   verify the server's CN field when talking https://. If --cacert is not used,
>   any failures in matching is only displayed as information (-v).
>
> Thus configure's curl check should contain a version check for 7.8.1 or
> higher.
> --
> jul
>
>
>
> --
> PHP Development Mailing List 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>

Derick Rethans

-
PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
 SRM: Site Resource Manager - www.vl-srm.net
-


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.1.0RC2

2001-11-13 Thread Balazs Nagy

On Tue, Nov 13 2001, Zeev Suraski <[EMAIL PROTECTED]> wrote:

> Either that or we can simply check if this #define exists...  What do you 
> think?

Checking for a version and for a #define is the same, but version checking
is more subtle and can be hidden than another check for the #define's
existence.
-- 
jul

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.1.0RC2

2001-11-13 Thread Derick Rethans

Hello,

fixing this...

Derick

On Tue, 13 Nov 2001, Balazs Nagy wrote:

> On Tue, Nov 13 2001, Zeev Suraski <[EMAIL PROTECTED]> wrote:
>
> > http://www.php.net/~zeev/php-4.1.0RC2.tar.gz
> >
> > Do your thang :)
>
> make[1]: Entering directory /home/js/dl/linux/web/php-4.1.0RC2/ext/curl'
> gcc -I. -I/home/js/dl/linux/web/php-4.1.0RC2/ext/curl
> -I/home/js/dl/linux/web/php-4.1.0RC2/main
> -I/home/js/dl/linux/web/php-4.1.0RC2
> -I/home/js/dl/linux/web/php-4.1.0RC2/Zend -I/usr/include/freetype2/freetype
> -I/home/js/dl/linux/web/php-4.1.0RC2/ext/xml/expat
> -I/home/js/dl/linux/web/php-4.1.0RC2/TSRM -g -Wall  -c curl.c && touch
> curl.lo
> curl.c: In function `zm_startup_curl':
> curl.c:145: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function)
> curl.c:145: (Each undeclared identifier is reported only once
> curl.c:145: for each function it appears in.)
> curl.c: In function `zif_curl_setopt':
> curl.c:640: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function)
> make[1]: *** [curl.lo] Error 1
> make[1]: Leaving directory /home/js/dl/linux/web/php-4.1.0RC2/ext/curl'
> make: *** [all-recursive] Error 1
>
> It doesn't work with curl-7.8.  It's old enough but this version is included
> into Red Hat Linux 7.2.  In the 7.9.1 CHANGES file:
>
> Version 7.8.1-pre4
>
> [...]
>
> - Patrick Bihan-Faou introduced CURLOPT_SSL_VERIFYHOST, which makes curl
>   verify the server's CN field when talking https://. If --cacert is not used,
>   any failures in matching is only displayed as information (-v).
>
> Thus configure's curl check should contain a version check for 7.8.1 or
> higher.
> --
> jul
>
>
>
> --
> PHP Development Mailing List 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>

Derick Rethans

-
PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
 SRM: Site Resource Manager - www.vl-srm.net
-


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.1.0RC2

2001-11-13 Thread Zeev Suraski

Either that or we can simply check if this #define exists...  What do you 
think?

Zeev

At 11:37 13/11/2001, Balazs Nagy wrote:
>On Tue, Nov 13 2001, Zeev Suraski <[EMAIL PROTECTED]> wrote:
>
> > http://www.php.net/~zeev/php-4.1.0RC2.tar.gz
> >
> > Do your thang :)
>
>make[1]: Entering directory /home/js/dl/linux/web/php-4.1.0RC2/ext/curl'
>gcc -I. -I/home/js/dl/linux/web/php-4.1.0RC2/ext/curl
>-I/home/js/dl/linux/web/php-4.1.0RC2/main
>-I/home/js/dl/linux/web/php-4.1.0RC2
>-I/home/js/dl/linux/web/php-4.1.0RC2/Zend -I/usr/include/freetype2/freetype
>-I/home/js/dl/linux/web/php-4.1.0RC2/ext/xml/expat
>-I/home/js/dl/linux/web/php-4.1.0RC2/TSRM -g -Wall  -c curl.c && touch
>curl.lo
>curl.c: In function `zm_startup_curl':
>curl.c:145: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function)
>curl.c:145: (Each undeclared identifier is reported only once
>curl.c:145: for each function it appears in.)
>curl.c: In function `zif_curl_setopt':
>curl.c:640: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function)
>make[1]: *** [curl.lo] Error 1
>make[1]: Leaving directory /home/js/dl/linux/web/php-4.1.0RC2/ext/curl'
>make: *** [all-recursive] Error 1
>
>It doesn't work with curl-7.8.  It's old enough but this version is included
>into Red Hat Linux 7.2.  In the 7.9.1 CHANGES file:
>
>Version 7.8.1-pre4
>
>[...]
>
>- Patrick Bihan-Faou introduced CURLOPT_SSL_VERIFYHOST, which makes curl
>   verify the server's CN field when talking https://. If --cacert is not 
> used,
>   any failures in matching is only displayed as information (-v).
>
>Thus configure's curl check should contain a version check for 7.8.1 or
>higher.
>--
>jul


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.1.0RC2

2001-11-13 Thread Balazs Nagy

On Tue, Nov 13 2001, Zeev Suraski <[EMAIL PROTECTED]> wrote:

> http://www.php.net/~zeev/php-4.1.0RC2.tar.gz
> 
> Do your thang :)

make[1]: Entering directory /home/js/dl/linux/web/php-4.1.0RC2/ext/curl'
gcc -I. -I/home/js/dl/linux/web/php-4.1.0RC2/ext/curl
-I/home/js/dl/linux/web/php-4.1.0RC2/main
-I/home/js/dl/linux/web/php-4.1.0RC2
-I/home/js/dl/linux/web/php-4.1.0RC2/Zend -I/usr/include/freetype2/freetype
-I/home/js/dl/linux/web/php-4.1.0RC2/ext/xml/expat
-I/home/js/dl/linux/web/php-4.1.0RC2/TSRM -g -Wall  -c curl.c && touch
curl.lo
curl.c: In function `zm_startup_curl':
curl.c:145: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function)
curl.c:145: (Each undeclared identifier is reported only once
curl.c:145: for each function it appears in.)
curl.c: In function `zif_curl_setopt':
curl.c:640: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function)
make[1]: *** [curl.lo] Error 1
make[1]: Leaving directory /home/js/dl/linux/web/php-4.1.0RC2/ext/curl'
make: *** [all-recursive] Error 1

It doesn't work with curl-7.8.  It's old enough but this version is included
into Red Hat Linux 7.2.  In the 7.9.1 CHANGES file:

Version 7.8.1-pre4

[...]

- Patrick Bihan-Faou introduced CURLOPT_SSL_VERIFYHOST, which makes curl
  verify the server's CN field when talking https://. If --cacert is not used,
  any failures in matching is only displayed as information (-v).

Thus configure's curl check should contain a version check for 7.8.1 or
higher.
-- 
jul



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] 4.1.0RC2

2001-11-12 Thread Zeev Suraski

http://www.php.net/~zeev/php-4.1.0RC2.tar.gz

Do your thang :)

Zeev


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]