From:             
Operating system: Darwin (iPod OS4)
PHP version:      5.3.3
Package:          Compile Failure
Bug Type:         Bug
Bug description:php_date.c fails to compile (code line 499)

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 bug report at http://bugs.php.net/bug.php?id=53188&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=53188&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=53188&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=53188&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=53188&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=53188&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=53188&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=53188&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=53188&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=53188&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=53188&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=53188&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=53188&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=53188&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=53188&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=53188&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=53188&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=53188&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=53188&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=53188&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=53188&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=53188&r=mysqlcfg

Reply via email to