On Wed, 2002-11-20 at 17:15, Joel Webb wrote:
>
> I am using RH 8.0 with sendmail. I needed to install PHP with mhash
> support and have recompiled it. After installing the new RPM binaries,
> I noticed I lost support for the mail() function.
>
> When I re-compiled, I noticed that the logs said that it didn't find
> sendmail, But sendmail is in its default RH8.0 RPM location
> /usr/sbin/sendmail
Works for me. What do you get if you cut and past this into a terminal
(directly from php configure script):
sh -x
IFS=":"
ac_dummy="$PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib"
ac_word=sendmail
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
ac_cv_path_PROG_SENDMAIL="$ac_dir/$ac_word"
break
fi
done
echo PATH IS "$ac_cv_path_PROG_SENDMAIL"
> This is how I am recompiling
>
> rpmbuild -bp php-blah.spec 1>bp.log
> -then-
> rpmbuild -bb php-blah.spec 1>bb.log
You don't have to prep before you build the binary. -bb will go through
all of the required steps.
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list