#29359 [Opn->Csd]: php_ini.c:486: 'alphasort' undeclared
| From: | sniper@php.net | Date: | Wed, 19 Jan 2005 00:43:16 +0000 |
| Subject: | #29359 [Opn->Csd]: php_ini.c:486: 'alphasort' undeclared | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-72428@lists.php.net to get a copy of this message | ||
ID: 29359
Updated by: sniper@php.net
Reported By: bonk_371 at hotmail dot com
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: QNX 6.3.0
PHP Version: 5.0.0
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2004-08-11 18:12:26] bonk_371 at hotmail dot com
As the title says: php_ini.c:486: 'alphasort' undeclared.
That is the error I encountered in the configure.
I also had to disable iconv in the configure to get it to work.
To avoid the undeclared alphasort error I implemented the fix posted
here for 4.3.3, if you haven't been bothered to look at it here it is:
http://bugs.php.net/bug.php?id=25295
I implemented the same fix that "alain dot bonnefoy at icbt dot com"
posted. I added:
#include <sys/dir.h>
#include <sys/types.h>
in php.h before the last #endif.
And it worked. Not sure what I'm missing by disabling iconv but all my
php scripts are working fine now anyway.
Note: I compiled a php cgi and apache statically, as I could not be
bothered to re-write apache's libtool scripts to call qcc instead of
gcc. (too much work) The details are recorded here:
http://www.openqnx.com/index.php?name=PNphpBB2&file=viewtopic&t=2624
------------------------------------------------------------------------
[2004-07-29 11:18:01] tony2001@php.net
Supply more information, please.
Error messages, your fix and other info will help much.
What does your ./configure say about alphasort (./configure ... | grep
-i alpha) ?
------------------------------------------------------------------------
[2004-07-24 06:43:01] bonk_371 at hotmail dot com
I implemented the user's fix for this bug posted for 4.3.3 and it
worked.
------------------------------------------------------------------------
[2004-07-23 23:46:35] bonk_371 at hotmail dot com
it also fails to detect iconv on QNX 6.3.0 (I just disabled it in the
configure to get around it - not sure it will work...)
------------------------------------------------------------------------
[2004-07-23 23:15:32] bonk_371 at hotmail dot com
Description:
------------
A bug previously reported, and fixed for php4.3.3 on QNX6 has
returned.
make fails on line 486 of php_ini.c
Yes this is genuine and unreported for php5.0.0, yes it was previously
reported for older versions and fixed, but it has returned (was
forgotten?)
Reproduce code:
---------------
see current PHP 5.0.0 source distribution:
http://ca3.php.net/get/php-5.0.0.tar.gz/from/ca2.php.net/mirror
Expected result:
----------------
I expected the make to complete sucessfully.
Actual result:
--------------
It failed
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29359&edit=1