php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9026 configure does not find sendmail
Submitted: 2001-01-31 06:21 UTC Modified: 2001-01-31 11:53 UTC
From: knarf at camelot dot de Assigned:
Status: Closed Package: *General Issues
PHP Version: 3.0.17 OS: FreeBSD
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: knarf at camelot dot de
New email:
PHP Version: OS:

 

 [2001-01-31 06:21 UTC] knarf at camelot dot de
I use version 3.0.18 (not 3.0.17, but the form here does not know about it).

configure does not find sendmail if the path to sendmail is the last one in your $PATH.

The patch for the problem is here. Sorry for broken format, but it seems I *have* to use
this web form. I'm sure you want to fix configure.in instead of configure, but you
get the idea. :) Maybe you should add /usr/lib to this path as sendmail is/was installed
there often.

--- configure.orig      Fri Oct 20 21:05:17 2000
+++ configure   Wed Jan 31 01:00:13 2001
@@ -1626,7 +1626,7 @@
   ;;
   *)
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH /usr/bin /usr/sbin /usr/etc /etc /usr/ucblib"
+  ac_dummy="$PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib"
   for ac_dir in $ac_dummy; do 
     test -z "$ac_dir" && ac_dir=.
     if test -f $ac_dir/$ac_word; then

The FreeBSD port fixes this problem (see patch-aq 2000/01/31)

Bye,
knarf

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-31 11:53 UTC] sas@php.net
Fixed in CVS. Thanks for your report.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jun 03 08:01:25 2025 UTC