php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35317 configure --with-ldap fails on Solaris
Submitted: 2005-11-21 19:56 UTC Modified: 2005-11-21 20:08 UTC
From: earl dot fogel at usask dot ca Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5CVS-2005-11-21 (snap) OS: Solaris 9
Private report: No CVE-ID: None
 [2005-11-21 19:56 UTC] earl dot fogel at usask dot ca
Description:
------------
In php-5.1.0RC4 and the latest CVS snapshot,
configure --with-ldap fails on Solaris with a shell error:

./configure: test: argument expected

The fix is to change 'test -e' to 'test -f' in configure.

The Solaris 9 man page for 'test' notes:

  -e file
    True if file exists. (Not available in sh.)




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-21 20:08 UTC] sniper@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 28 07:00:02 2025 UTC