Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66196 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48580 invoked from network); 25 Feb 2013 16:12:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Feb 2013 16:12:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:53966] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E6/BB-10787-C6D8B215 for ; Mon, 25 Feb 2013 11:12:29 -0500 Received: from [192.168.2.20] (ppp-88-217-65-93.dynamic.mnet-online.de [88.217.65.93]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id D921065DCA; Mon, 25 Feb 2013 17:12:25 +0100 (CET) To: Dennis Clarke Cc: internals@lists.php.net, christopher.jones@oracle.com In-Reply-To: References: <1361797414.2376.42.camel@guybrush> <1361801879.2376.47.camel@guybrush> Content-Type: text/plain; charset="UTF-8" Date: Mon, 25 Feb 2013 17:13:14 +0100 Message-ID: <1361808794.2376.61.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 5.4.12 and libcurl 7.29.0 configure problem From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) 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 openssl support in libcurl | configure:28705: /opt/solarisstudio12.3/bin/cc -o conftest -I/usr/local/include | -I/usr/local/include -I/usr/local/ssl/include -I/opt/mysql/mysql/include -D_TS_E | RRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS | -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -R/usr/ucblib -L/usr/ucblib -R/usr/loc | al/lib -L/usr/local/lib -R/usr/local/ssl/lib -L/usr/local/ssl/lib conftest.c -lc | url -lbz2 -lz -lrt -lm -lnsl -lsocket -lxml2 -lz -liconv -lm -lsocket -lnsl -ls | sl -lcrypto -lcurl -lidn -lssl -lcrypto -lssl -lcrypto -lldap -lz -lrt -lsocket | -lnsl >&5 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 curl issue. I don't know whether there is a good work-around from PHP-side. johannes