Thanks Gordon. This is what I have.
sh-2.05b$
IFS=":"sh-2.05b$ IFS=":"
+ IFS=:
sh-2.05b$ 
ac_dummy="$PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib"
+ 
ac_dummy=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/joel/bin:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib
sh-2.05b$ ac_word=sendmail
+ ac_word=sendmail
sh-2.05b$ 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
+ test -z /usr/local/bin
+ test -f /usr/local/bin/sendmail
+ test -z /bin
+ test -f /bin/sendmail
+ test -z /usr/bin
+ test -f /usr/bin/sendmail
+ test -z /usr/X11R6/bin
+ test -f /usr/X11R6/bin/sendmail
+ test -z /home/joel/bin
+ test -f /home/joel/bin/sendmail
+ test -z /usr/bin
+ test -f /usr/bin/sendmail
+ test -z /usr/sbin
+ test -f /usr/sbin/sendmail
+ ac_cv_path_PROG_SENDMAIL=/usr/sbin/sendmail
+ break
sh-2.05b$ echo PATH IS "$ac_cv_path_PROG_SENDMAIL"
+ echo PATH IS /usr/sbin/sendmail
PATH IS /usr/sbin/sendmail






On 21 Nov 2002, Gordon Messmer wrote:

> 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.
> 
> 
> 
> 
> 

-- 
Respectfully,
Joel Webb
WebbGroup Network Systems
www.webbgroup.net
336.841.7241
336.841.6068



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to