ID: 29359 User updated by: bonk_371 at hotmail dot com Reported By: bonk_371 at hotmail dot com Status: Open Bug Type: Compile Failure Operating System: QNX 6.3.0 PHP Version: 5.0.0 New Comment:
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 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-08-09 01:00:04] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2004-07-29 11:18:01] [EMAIL PROTECTED] 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...) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/29359 -- Edit this bug report at http://bugs.php.net/?id=29359&edit=1