From:             jdolecek at NetBSD dot org
Operating system: NetBSD
PHP version:      5.1.2
PHP Bug Type:     Compile Failure
Bug description:  timelib_structs.h requires explicit compiler include path 
setting

Description:
------------
When php_date.h is used in a module, the build requires the include path
of C compiler to be set to include ext/date/lib explicitely.

This is due to php_date.h pulling "lib/timelib.h" (this is fine), then
timelib.h including "timelib_structs.h" (this is fine too), but
timelib_structs.h including <timelib_config.h> (this fails).

If this is used in a separately built module (encountered with WDDX when
build as an extension), this means the include path for the extension
build must be setup  to include php/include/ext/date/lib.

Reproduce code:
---------------
Build WDDX as separate extension (i.e. not part of PHP build itself).

Expected result:
----------------
Compiles fine

Actual result:
--------------
Compile fails with error couldn't find timelib_config.h.

-- 
Edit bug report at http://bugs.php.net/?id=37163&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37163&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=37163&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37163&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37163&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=37163&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37163&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37163&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37163&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37163&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37163&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=37163&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=37163&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37163&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37163&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37163&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37163&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37163&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37163&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37163&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37163&r=mysqlcfg

Reply via email to