Edit report at http://bugs.php.net/bug.php?id=53188&edit=1

 ID:                 53188
 Updated by:         ahar...@php.net
 Reported by:        jeremy dot iglehart at gmail dot com
 Summary:            php_date.c fails to compile (code line 499)
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Darwin (iPod OS4)
 PHP Version:        5.3.3
 Block user comment: N

 New Comment:

Where did you source your toolchain from?



PHP does run on jailbroken iOS devices (the Telesphoreo repository has
5.2.8 available), but I'd be surprised if that wasn't being
cross-compiled off OS X via XCode.


Previous Comments:
------------------------------------------------------------------------
[2010-10-28 03:14:58] jeremy dot iglehart at gmail dot com

Description:
------------
I'm not sure why this is happening - and I can't find help from google
or the IRC chatroom #php so I figured I would post it here.



For some reason I can't compile - when I try to run the compile I get
this:



to get a full paste of it you can go here: http://pastebin.com/zTtsQiMX



Any idea?

Test script:
---------------
Here is a paste URL of the entire problem.

http://pastebin.com/zTtsQiMX



./configure code...



+--------------------------------------------------------------------+

| License:                                                           |

| This software is subject to the PHP License, available in this     |

| distribution in the file LICENSE.  By continuing this installation |

| process, you are bound by the terms of this license agreement.     |

| If you do not agree with the terms of this license, you must abort |

| the installation process at this point.                            |

+--------------------------------------------------------------------+



Thank you for using PHP.



iPod-Touch:~/php-5.3.3 root# make

/bin/sh /var/root/php-5.3.3/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/date/lib -Iext/date/
-I/var/root/php-5.3.3/ext/date/ -DPHP_ATOM_INC
-I/var/root/php-5.3.3/include -I/var/root/php-5.3.3/main
-I/var/root/php-5.3.3 -I/var/root/php-5.3.3/ext/date/lib
-I/var/root/php-5.3.3/ext/ereg/regex -I/usr/include/libxml2
-I/usr/local/include -I/var/root/php-5.3.3/ext/sqlite3/libsqlite
-I/var/root/php-5.3.3/TSRM -I/var/root/php-5.3.3/Zend  -no-cpp-precomp 
-I/usr/include -g -O2  -c /var/root/php-5.3.3/ext/date/php_date.c -o
ext/date/php_date.lo 

/var/root/php-5.3.3/ext/date/php_date.c:499: error: expected expression
before 'zend_date_globals'

/var/root/php-5.3.3/ext/date/php_date.c:499: error: initializer element
is not constant

/var/root/php-5.3.3/ext/date/php_date.c:499: error: (near initialization
for 'ini_entries[0].mh_arg1')

make: *** [ext/date/php_date.lo] Error 1

iPod-Touch:~/php-5.3.3 root# 



Expected result:
----------------
to compile normal :)

Actual result:
--------------
fails to compile :(


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53188&edit=1

Reply via email to