Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:90925 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71021 invoked from network); 25 Jan 2016 23:53:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jan 2016 23:53:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain oracle.com designates 156.151.31.81 as permitted sender) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 156.151.31.81 userp1040.oracle.com Received: from [156.151.31.81] ([156.151.31.81:17470] helo=userp1040.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1F/54-29383-885B6A65 for ; Mon, 25 Jan 2016 18:53:44 -0500 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u0PNrbGt008942 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 25 Jan 2016 23:53:38 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u0PNravd031663 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 25 Jan 2016 23:53:37 GMT Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by userv0122.oracle.com (8.14.4/8.13.8) with ESMTP id u0PNraIo017840; Mon, 25 Jan 2016 23:53:36 GMT Received: from [10.191.132.153] (/10.191.132.153) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 25 Jan 2016 15:53:36 -0800 To: "Ross, Christine" , "internals@lists.php.net" , Craig Mohrman , Michael Nestler References: Message-ID: <56A6B57D.3000104@oracle.com> Date: Tue, 26 Jan 2016 10:53:33 +1100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: aserv0022.oracle.com [141.146.126.234] Subject: Re: [PHP-DEV] RE: compiling php 5.6.# fails with sun CC 12.3 sparc sol 10, no problem 5.5 or 5.3 From: christopher.jones@oracle.com (Christopher Jones) Not sure if this helps, but perhaps something like this: # gmake Makefile fragment to clean a file of its carriage returns. # Carriage returns drive the Studio compiler crazy. cleancr = $(GSED) -i -e 's/\r//g' $(1) ; Chris On 26/01/2016 3:05 AM, Ross, Christine wrote: > Hi > > Thank you for getting back to me. I installed 5.6.17 that I downloaded from php.net. I had previously tried 5.6.10 with the same results. I'm running v2.5 of bison and v0.13.5 of re2c. When I was trying to debug this I installed re2c but it didn't help. I could install a later version of bison but PHP compiled with GCC4 without issue and I think it checks for bison on that compile. Everything in this web application and the database is using Sun CC 12.3 so I hate to change it. > > I realized I didn't reply to the list so I am sending this again and adding the email address for the list. > > Thanks for your suggestions. > > > -----Original Message----- > From: Lior Kaplan [mailto:lior.k@zend.com] > Sent: Monday, January 25, 2016 5:26 AM > To: Ross, Christine; internals@lists.php.net > Cc: christine.s.ross@gmail.com > Subject: Re: compiling php 5.6.# fails with sun CC 12.3 sparc sol 10, no problem 5.5 or 5.3 > > Please try the sources available from the website (e.g. 5.6.17), these are already have some files pre-generated. > > Regradless, which versions of re2c/bison do you have on that system? > > Kaplan > > ________________________________________ > From: Ross, Christine > Sent: Saturday, January 23, 2016 11:29 PM > To: internals@lists.php.net > Cc: christine.s.ross@gmail.com > Subject: [PHP-DEV] compiling php 5.6.# fails with sun CC 12.3 sparc sol 10, no problem 5.5 or 5.3 > > Hello. > > It was suggested I email this to this address. I hope someone can help. I had no problems compiling php 5.3.# and 5.5.# on Sparc solaris 10 with Sun CC 12.3, but 5.6.# fails with the error below. GCC works but my whole application and environment is built with Sun CC. This is where it fails. I even tried adding /usr/sfw to the paths but no change. I have received responses from others with the same issue. > Any help would be appreciated. > > > > Lots of white space character errors before it fails on line 70. I saw something about flex and re2c so I installed re2c, and it didn't help. I tried without opcache, no help. > > "Zend/zend_language_scanner.l", line 66: warning: invalid white space character in directive "Zend/zend_language_scanner.l", line 67: warning: invalid white space character in directive "Zend/zend_language_scanner.l", line 68: warning: invalid white space character in directive "Zend/zend_language_scanner.l", line 69: warning: invalid white space character in directive "Zend/zend_language_scanner.l", line 70: warning: function prototype parameters must have types "Zend/zend_language_scanner.l", line 70: warning: old-style declaration or incorrect type for: SCNG "Zend/zend_language_scanner.l", line 70: cannot initialize function: SCNG "Zend/zend_language_scanner.l", line 70: undefined symbol: x > > #!/bin/sh > # > # Configure PHP > # > PATH=/usr/bin:/usr/local/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/usr/sbin:/usr/dt/bin; export PATH LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/local/ssl/lib; export LD_LIBRARY_PATH LD_RUN_PATH=/usr/local/ssl/lib:/usr/local/lib; export LD_RUN_PATH # env CC=cc CXX=CC \ ../configure \ --with-apxs2=/usr/local/apache2/bin/apxs \ --with-mysql=mysqlnd \ --with-pear \ --with-libxml-dir=/usr \ --with-mysqli=mysqlnd \ --with-pdo-mysql=mysqlnd \ --enable-mbstring \ --with-curl \ --with-gd \ --with-jpeg-dir=/usr/lib \ --enable-soap \ --with-openssl=/usr/local/ssl \ --enable-zip \ --with-iconv=/opt/local \ --enable-opcache > > #!/end > # > -- http://twitter.com/ghrd