From:             lobster2 at xs4all dot nl
Operating system: AIX 5.2
PHP version:      5.2.0
PHP Bug Type:     Compile Failure
Bug description:  Bug #40038 gcc configure failure can be fixed with CXX=xlC 
./configure

Description:
------------
The bug in configure for PHP 5.2.0 where it thinks gcc is the only
compiler present (where it isn't), see bug #40038 can be fixed by issuing
the following configure:

   $ CXX=xlC ./configure



Reproduce code:
---------------
Sorry not to include code because I do not have it at my disposal right
now.

Expected result:
----------------
Why are these things written off as non-PHP bugs? Aren't the build and
configure scripts not as much part of PHP as the code itself. Every time I
build PHP on AIX I need to spend a few hours hunting "bugs" before it
builds, whereas Linux/gcc compiles flawlessly.

I saw that the bug on the enum values has already been reported (fix:
EXTRA_CFLAGS='-qenum=intlong' make).

Dito for compile syntax error on the // NULL comment that should have been
/* NULL */ or something of the kind.

Another major pain was the location of .o files in the .libs subdirs
instead of in the same dir as the .lo files reside and where nm expects
them, causing the make of sapi/cli/php to fail. Adding symlinks solved
this for me. See the Makefile where the output of the echo of .lo files to
sed is fed to nm.



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

Reply via email to