#29359 [NoF->Opn]: php_ini.c:486: 'alphasort' undeclared
| From: | bonk_371 at hotmail dot com | Date: | Wed, 11 Aug 2004 16:13:38 +0000 |
| Subject: | #29359 [NoF->Opn]: php_ini.c:486: 'alphasort' undeclared | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-64440@lists.php.net to get a copy of this message | ||
ID: 29359
User updated by: bonk_371 at hotmail dot com
Reported By: bonk_371 at hotmail dot com
-Status: No Feedback
+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-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] 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