php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24459 /bin/sh is not ksh on Solaris
Submitted: 2003-07-02 07:43 UTC Modified: 2003-07-02 08:20 UTC
From: php at xaje dot com Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 5.0.0b1 (beta1) OS: Solaris 8
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: php at xaje dot com
New email:
PHP Version: OS:

 

 [2003-07-02 07:43 UTC] php at xaje dot com
Description:
------------
/bin/sh on Solaris is the Borne Shell, but configure.sh needs the Korn shell for it's 'test' operator to recognise '=='.  This will result in configure.sh failing.

The solution is to set and export CONFIG_SHELL=/bin/ksh for the Korn shell before running configure.sh.

This may be a documentation bug.

Reproduce code:
---------------
./configure.sh

Expected result:
----------------
Thank you for using PHP.

Actual result:
--------------
test: unknown operator ==


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-02 08:20 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip


Already fixed in CVS. 

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 07:01:28 2024 UTC