Re: [PHP-DEV] PHP 5.4.12 and libcurl 7.29.0 configure problem

2013-02-25 Thread Pierre Joye
hi, On Mon, Feb 25, 2013 at 7:40 PM, Dennis Clarke wrote: >> However one should wait for the next release, there is 2 BC breaks in >> this version, if you rely on the multi interface and non default >> backed for DNS resolutions. > > * sigh * > > There always seems to be another release around th

Re: [PHP-DEV] PHP 5.4.12 and libcurl 7.29.0 configure problem

2013-02-25 Thread Dennis Clarke
> hi, > > On Mon, Feb 25, 2013 at 7:58 AM, Dennis Clarke > wrote: > > > > configure in php 5.4.12 seems to have some difficulty with libcurl > 7.29.0 : > > > > $ ./configure --with-apxs2=/usr/local/bin/apxs > --with-mysql=/opt/mysql/mysql \ > > Also we had no issue to build against 7.29.0 on

Re: [PHP-DEV] PHP 5.4.12 and libcurl 7.29.0 configure problem

2013-02-25 Thread Pierre Joye
hi, On Mon, Feb 25, 2013 at 7:58 AM, Dennis Clarke wrote: > > configure in php 5.4.12 seems to have some difficulty with libcurl 7.29.0 : > > $ ./configure --with-apxs2=/usr/local/bin/apxs --with-mysql=/opt/mysql/mysql \ Also we had no issue to build against 7.29.0 on windows and linux. However

Re: [PHP-DEV] PHP 5.4.12 and libcurl 7.29.0 configure problem

2013-02-25 Thread Dennis Clarke
> On Mon, 2013-02-25 at 10:49 -0500, Dennis Clarke wrote: > > > > /* The size of `long', as computed by sizeof. */ > > #define CURL_SIZEOF_LONG 8 > > > This is correct with -m64. Now in your config log there is this compiler > call (quoting your first mail from this thread) > > | configure:2867

Re: [PHP-DEV] PHP 5.4.12 and libcurl 7.29.0 configure problem

2013-02-25 Thread Dennis Clarke
> So the -m64 is lost. Looking at extg/curl/config.m4, again I see > > save_CFLAGS="$CFLAGS" > CFLAGS="`$CURL_CONFIG --cflags`" > > So running `curl-config --cflags` apparently doesn't contain the -m64 > flag on your setup. In my opinion curl-config should return this, so > there is a c

Re: [PHP-DEV] PHP 5.4.12 and libcurl 7.29.0 configure problem

2013-02-25 Thread Johannes Schlüter
On Mon, 2013-02-25 at 10:49 -0500, Dennis Clarke wrote: > > /* The size of `long', as computed by sizeof. */ > #define CURL_SIZEOF_LONG 8 > This is correct with -m64. Now in your config log there is this compiler call (quoting your first mail from this thread) | configure:28678: checking for ope

Re: [PHP-DEV] PHP 5.4.12 and libcurl 7.29.0 configure problem

2013-02-25 Thread Dennis Clarke
- Original Message - From: Johannes Schlüter Date: Monday, February 25, 2013 9:17 am Subject: Re: [PHP-DEV] PHP 5.4.12 and libcurl 7.29.0 configure problem To: Dennis Clarke Cc: internals@lists.php.net, christopher.jo...@oracle.com > On Mon, 2013-02-25 at 09:08 -0500, Dennis Cla

Re: [PHP-DEV] PHP 5.4.12 and libcurl 7.29.0 configure problem

2013-02-25 Thread Johannes Schlüter
On Mon, 2013-02-25 at 09:08 -0500, Dennis Clarke wrote: > > So my guess would be that there is some mix between 32 and 64 bit > mode, > > try compiling with setting CFLAGS="-m64" (or CFLAGS="-m32") for > > configure. > > Everything here is -m64 and -xtarget=ultraT2 so not sure where else to > look

Re: [PHP-DEV] PHP 5.4.12 and libcurl 7.29.0 configure problem

2013-02-25 Thread Dennis Clarke
> Hi, > > On Mon, 2013-02-25 at 01:58 -0500, Dennis Clarke wrote: > > > > "/usr/local/include/curl/curlrules.h", line 143: zero or negative > > subscript > > "/usr/local/include/curl/curlrules.h", line 153: zero or negative > > subscript > > "conftest.c", line 249: warning: implicit function dec

Re: [PHP-DEV] PHP 5.4.12 and libcurl 7.29.0 configure problem

2013-02-25 Thread Johannes Schlüter
Hi, On Mon, 2013-02-25 at 01:58 -0500, Dennis Clarke wrote: > > "/usr/local/include/curl/curlrules.h", line 143: zero or negative > subscript > "/usr/local/include/curl/curlrules.h", line 153: zero or negative > subscript > "conftest.c", line 249: warning: implicit function declaration: > strncas

[PHP-DEV] php 5.4.12 and libcurl 7.29.0 - configure problem

2013-02-24 Thread Dennis Clarke
configure in php 5.4.12 seems to have some difficulty with libcurl 7.29.0 : $ ./configure --with-apxs2=/usr/local/bin/apxs --with-mysql=/opt/mysql/mysql \ > --with-libxml-dir=/usr/local --sysconfdir=/usr/local/etc \ > --includedir=/usr/local/include --libdir=/usr/local/lib \ > --libexecdir=/usr/

[PHP-DEV] PHP 5.4.12 and libcurl 7.29.0 configure problem

2013-02-24 Thread Dennis Clarke
configure in php 5.4.12 seems to have some difficulty with libcurl 7.29.0 : $ ./configure --with-apxs2=/usr/local/bin/apxs --with-mysql=/opt/mysql/mysql \ > --with-libxml-dir=/usr/local --sysconfdir=/usr/local/etc \ > --includedir=/usr/local/include --libdir=/usr/local/lib \ > --libexecdir=/usr/