Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65155 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7662 invoked from network); 25 Jan 2013 05:01:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jan 2013 05:01:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=dclarke@blastwave.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=dclarke@blastwave.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain blastwave.org from 210.87.62.131 cause and error) X-PHP-List-Original-Sender: dclarke@blastwave.org X-Host-Fingerprint: 210.87.62.131 comm.purplecow.org Solaris 10 (beta) Received: from [210.87.62.131] ([210.87.62.131:39196] helo=comm.purplecow.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/10-03402-4B112015 for ; Fri, 25 Jan 2013 00:01:41 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; charset=us-ascii Received: from comm.purplecow.org ([127.0.0.1]) by comm.purplecow.org (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTP id <0MH600C0G0MPQB00@comm.purplecow.org> for internals@lists.php.net; Fri, 25 Jan 2013 16:01:37 +1100 (EST) Received: from comm.purplecow.org ([127.0.0.1] helo=comm.purplecow.org) with IPv4:25 by ASSP.nospam; Fri, 25 Jan 2013 16:01:37 +1100 Received: from [66.103.52.207] by comm.purplecow.org (mshttpd); Fri, 25 Jan 2013 00:01:37 -0500 To: Christopher Jones Cc: internals@lists.php.net Message-ID: Date: Fri, 25 Jan 2013 00:01:37 -0500 X-Mailer: Sun Java(tm) System Messenger Express 6.3-6.03 (built Mar 14 2008; 32bit) Content-language: en X-Accept-Language: en Priority: normal In-reply-to: <5101F1FE.5000702@oracle.com> References: <5101F1FE.5000702@oracle.com> Subject: Re: [PHP-DEV] cc: acomp failed for /usr/local/build/php-5.4.11_SunOS5.10_sparcv9.001/ext/curl/interface.c From: dclarke@blastwave.org (Dennis Clarke) > On 01/24/2013 10:47 AM, Dennis Clarke wrote: > > So here I am once again trying to build PHP 5.4.11 on a Solaris 10 server > > with the following configure options : > > > So I think that I should be okay. Do I need to upgrade to curl > > 7.28.2 and then try building PHP 5.4.11 or am I sort of stuck here > > at 5.4.9 ? > > The ext/curl/interface.c diffs between 5.4.9 and 5.4.11 don't seem > compiler or libcurl unfriendly. Since the compiler messages don't > give a clear compile failure, I can't guess what went wrong. > > I compiled 5.4.11 with gcc and libcurl 7.21.2 on Solaris 11.1 without > an issue. I was going to try to stick with the Oracle Studio compilers and that did bear fruit quite well, turns out it was a compiler switch throwing me off. I had -Xc in there as opposed to -Xa. If I was going to be strictly in my own codebase which is all POSIX strictly conformat and has "#define _XOPEN_SOURCE 600" as the first line .. then fine. That usually throws a fit when I wander into opensource land. So once I made the change to -Xa it compiled fine. Well, fine enough to work and link in with MySQL 5.5.28 and libcurl 7.28.1. I have it all up and running on Solaris 10 now and the cure phpinfo() page shows me that all it reasonably well. I even built the latest libidn and that was a no brainer. > > Maybe more regular Solaris users like Johannes or David (aka "dsp". Ex > Sun, and who wrote > http://blog.experimentalworks.net/2012/05/canonical-way-to-build-php-5-4-on-solaris-11/) > can guess at the issue.) > > If you drop the 5.4.9 ext/curl code into your 5.4.11 directory tree > what happens? Are you hitting something unrelated in the build > process? I was just about to do exactly that ( great minds thing alike ) however a little voicce in my head said "whoa there .. look for the obvious first". Worked out well. Thank you for getting back to me. Dennis