Re: Pros Only! RH8.0 and PHP Bug. (Gordon Messmer - where are you?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gordon and all. Here is what I have from the test that you gave me to do. 
The question how do I force the PHP to use /usr/sbin as the directory to 
find the sendmail in??

I have tried:
--with-sendmail=/usr/sbin/sendmail  
-And-
--with-sendmail-dir=/usr/sbin

Both of these don't work. It is like I am going to have to edit the 
./configure file manually to get it to work or do you RH pros have a trick 
up your sleeve?


> 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



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux