Well, have a look at the code then. In ext/standard/basic_functions.c we have:
#ifdef HAVE_SENDMAIL PHP_FE(mail, NULL) #else PHP_FALIAS(mail, warn_not_available, NULL) #endif The error message you posted is created by the warn_not_available function which means that HAVE_SENDMAIL definitely was not defined when this file was compiled. Now, HAVE_SENDMAIL comes from the HAVE_SENDMAIL #define in main/php_config.h which is created by the configure script which in turn comes from this m4 macro: AC_DEFUN(PHP_PROG_SENDMAIL,[ AC_PATH_PROG(PROG_SENDMAIL, sendmail,[], $PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib) if test -n "$PROG_SENDMAIL"; then AC_DEFINE(HAVE_SENDMAIL,1,[whether you have sendmail]) fi ]) This macro is pretty clean. Now perhaps something about this mechanism didn't work for you on Solaris, so the trivial workaround is to just edit main/php_config.h and make sure HAVE_SENDMAIL is defined and then "make clean" and recompile and it should work fine. -Rasmus On Thu, 13 Dec 2001 [EMAIL PROTECTED] wrote: > > > > Well, somehow you are confused about that > > Oh, right. Care to explain what's confusing about... > > Running system checks > checking for missing declarations of reentrant functions... done > checking whether compiler supports -R... yes > checking for sendmail... /usr/lib/sendmail > > > ??? > > Meanwhile, I'll download version 4.1 > > Jayne. > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]