ID: 26544
Comment by: ronnie at rustybrick dot com
Reported By: andy at kksonline dot com
Status: Bogus
Bug Type: Compile Failure
Operating System: FreeBSD 5.1 (Stable)
PHP Version: 5CVS-2003-12-6
New Comment:
Indeed, php5 compiled fine on my FreeBSD box until I installed bind 8.
Then, after recompiling, the above errors occurred. PHP 4 works fine
either way. Was php 5 assuming Bind 9?
Previous Comments:
------------------------------------------------------------------------
[2004-07-26 14:53:33] peti-ke at freemail dot hu
i had the same problem under fbsd 5.1.
than i tried different thing and finally it worked.
i deinstalled bind8 and put bind9 on it. than i did a portsclean -C -D
-L -i
and after these thing the compile worked without any mistake.
------------------------------------------------------------------------
[2003-12-11 06:37:40] [EMAIL PROTECTED]
Ask why bind has these functions but why doesn't your resolv.h have
the aliases..
This is not PHP bug.
------------------------------------------------------------------------
[2003-12-10 11:57:26] andy at kksonline dot com
Hi !
I have checked both things.
main/php_config.h looks fine
I have taken look into /usr/include/resolv.h
There are quite a few res_* defines, but I checked, there are few
res_n* defines missing, all those I reported to be produced (res_ninit,
res_nmkquery, res_nsend and res_nclose).
Any idea what to do next. Where should these defines be linked to?
Maybe I can ask on freebsd forum, but I need to know what I am looking
for...
Andy
------------------------------------------------------------------------
[2003-12-10 10:24:25] [EMAIL PROTECTED]
Configure detects the functions with the underscore prefixes.
(e.g. __res_nmkquery in -lbind)
Please check if you have '#define HAVE_RESOLV_H 1' in
main/php_config.h..also check that the /usr/include/resolv.h
actually has the aliases for these functions, e.g.
#define res_nmkquery __res_nmkquery
------------------------------------------------------------------------
[2003-12-09 15:37:37] [EMAIL PROTECTED]
Please put the config.log file online somewhere OR email it to me. (DO
NOT paste it here!)
------------------------------------------------------------------------
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/26544
--
Edit this bug report at http://bugs.php.net/?id=26544&edit=1