ID: 33434 User updated by: robert at bsd dot hu Reported By: robert at bsd dot hu -Status: Feedback +Status: Open Bug Type: Mail related Operating System: IRIX 6.5 PHP Version: 4.3.11 New Comment:
tsrm_config.h is missing. Previous Comments: ------------------------------------------------------------------------ [2005-06-22 18:15:12] [EMAIL PROTECTED] That's not what I asked you to do. ------------------------------------------------------------------------ [2005-06-22 18:02:12] robert at bsd dot hu I've defined HAVE_SENDMAIL in CFLAGS just to be sure it gets defined everywhere, but of course i still have the same issue. ------------------------------------------------------------------------ [2005-06-22 17:26:44] [EMAIL PROTECTED] >As i told you i've added #define HAVE_SENDMAIL 1 to >mail.c just after the includes and before the #ifded > HAVE_SENDMAIL Right. And this should have caused warning saying that "HAVE_SENDMAIL" have been redefined (as it does for me). That's why I assume that it was never defined before because php_config.h didn't get included. That's pretty weird behaviour and I haven't heard about anyone who is able to reproduce it. ------------------------------------------------------------------------ [2005-06-22 17:14:50] robert at bsd dot hu As i told you i've added #define HAVE_SENDMAIL 1 to mail.c just after the includes and before the #ifded HAVE_SENDMAIL. And as you can see strings shows that the functions are compiled in. I doubt that this is a header problem, because they get compiled in w/o my define too. ------------------------------------------------------------------------ [2005-06-22 17:10:07] [EMAIL PROTECTED] That's interesting. >From what I can see, mail.c includes php.h, which includes tsrm_virtual_cwd.h, which includes tsrm_config_common.h, which includes tsrm_config.h, which in turn includes php_config.h, where HAVE_SENDMAIL is defined. I.e. it looks like this: mail.c php.h tsrm_config.h tsrm_config_common.h tsrm_config.h php_config.h Could you plz figure out which one of these includes doesn't get included and why? ------------------------------------------------------------------------ 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/33434 -- Edit this bug report at http://bugs.php.net/?id=33434&edit=1