#44440 [Opn]: st_blocks undefined under BeOS

2008-03-14 Thread jonathonfreeman at gmail dot com
 ID:   0
 User updated by:  jonathonfreeman at gmail dot com
 Reported By:  jonathonfreeman at gmail dot com
 Status:   Open
 Bug Type: Compile Failure
 Operating System: BeOS R5
 PHP Version:  5.2.6RC2
 New Comment:

Correction: I changed line 235, not 237.


Previous Comments:


[2008-03-15 06:31:57] jonathonfreeman at gmail dot com

Description:

Build fails under BeOS R5 in /main/streams/memory.c:237 -- structure
has no member named `st_blocks'

Not sure if it's the appropriate fix, but I changed line 237 to this:
#if !defined(PHP_WIN32) && !defined(__BEOS__)

And PHP built successfully.

Reproduce code:
---
Build under BeOS R5.

Expected result:

Successfully build PHP.

Actual result:
--
Build fails.





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



#44440 [NEW]: st_blocks undefined under BeOS

2008-03-14 Thread jonathonfreeman at gmail dot com
From: jonathonfreeman at gmail dot com
Operating system: BeOS R5
PHP version:  5.2.6RC2
PHP Bug Type: Compile Failure
Bug description:  st_blocks undefined under BeOS

Description:

Build fails under BeOS R5 in /main/streams/memory.c:237 -- structure has
no member named `st_blocks'

Not sure if it's the appropriate fix, but I changed line 237 to this:
#if !defined(PHP_WIN32) && !defined(__BEOS__)

And PHP built successfully.

Reproduce code:
---
Build under BeOS R5.

Expected result:

Successfully build PHP.

Actual result:
--
Build fails.

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



#44233 [NEW]: MSG_PEEK undefined under BeOS R5

2008-02-23 Thread jonathonfreeman at gmail dot com
From: jonathonfreeman at gmail dot com
Operating system: BeOS R5
PHP version:  5.2.5
PHP Bug Type: Compile Failure
Bug description:  MSG_PEEK undefined under BeOS R5

Description:

Build fails under BeOS R5 in /main/streams/xp_socket.c:280 -- MSG_PEEK
undeclared.

According to BeOS docs, flags passed to socket functions should always be
0. I added this, and PHP built successfully:

/* BeOS does not have MSG_PEEK.  */
#ifndef MSG_PEEK
#define MSG_PEEK 0
#endif

Reproduce code:
---
Build under BeOS R5.

Expected result:

Successfully build PHP.

Actual result:
--
Build fails.

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