ID: 38452 Comment by: php-bug-38452 at ryandesign dot com Reported By: openmacnews at gmail dot com Status: Assigned Bug Type: Compile Failure Operating System: OSX 10.4.7 PHP Version: 5CVS-2006-08-14 (CVS) Assigned To: hirokawa New Comment:
I successfully compiled PHP 5.1.4 on Mac OS X 10.4.6 PPC G4 with a certain set of configure options on June 21, 2006, and today I wanted to upgrade to 5.1.5 but got the aforementioned error. Went back and tried to compile the exact same 5.1.4 that worked before, and got same error. So nothing changed in PHP code, but something that changed in the system. According to my installer receipts, since June 21, I have installed Mac OS X 10.4.7, QuickTime 7.1.2, iTunes 6.0.5, Security Update 2006-004 and Xcode 2.4. Interestingly before all this trouble I was able to install PHP 5.1.5 through MacPorts with no errors, and it also enables mbstring. I don't know why it works there and not when I compile manually (even using their exact same configure options). Previous Comments: ------------------------------------------------------------------------ [2006-08-16 15:34:13] openmacnews at gmail dot com >I bet openmacnews upgraded XCode between Aug 4th and 14th... yup. > I have however discovered something else: it works fine on Intel OS X with XCode 2.4 (MacBook). I'm seeing this problem on a Dual G4, also with XCode 2.4. Looking more like a gcc PPC issue to me. hmm ... all my tests ARE on PPC -- no MacIntels. ------------------------------------------------------------------------ [2006-08-16 15:22:50] marcus at synchromedia dot co dot uk Well, given that I'm seeing this in 5.1.4, I doubt earlier versions of 5.2 will be any different, and I bet openmacnews upgraded XCode between Aug 4th and 14th... I have however discovered something else: it works fine on Intel OS X with XCode 2.4 (MacBook). I'm seeing this problem on a Dual G4, also with XCode 2.4. Looking more like a gcc PPC issue to me. ------------------------------------------------------------------------ [2006-08-16 14:25:00] [EMAIL PROTECTED] And if the old code doesn't work for you too, it's likely to be Xcode issue, not PHP. ------------------------------------------------------------------------ [2006-08-16 14:24:08] [EMAIL PROTECTED] You can try to grab some old CVS code and see if it builds for you. This command would do that for you: cvs -d :pserver:[EMAIL PROTECTED]/repository co -D "2006-<month>-<day> 00:00:00" -r PHP_5_2 php-src ------------------------------------------------------------------------ [2006-08-16 13:15:40] openmacnews at gmail dot com i've xcode 2.4 gcc version 4.0.1 (Apple Computer, Inc. build 5363) installed. bldg with-mbstring _had_ worked w/ this combo ... though i can't swear to the correlation, i think it was a php52cvs update when it started. sounds like y'all have a better handle on it atm. thx. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/38452 -- Edit this bug report at http://bugs.php.net/?id=38452&edit=1