Bug #11867 Updated: configure uses /usr/bin/tr in a wrong way

From: Date: Sun, 16 Jun 2002 12:16:34 +0000
Subject: Bug #11867 Updated: configure uses /usr/bin/tr in a wrong way
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10572@lists.php.net to get a copy of this message
ID: 11867 Updated by: sander@php.net Reported By: liinu@uta.fi -Status: Open +Status: Bogus Bug Type: Installation problem Operating System: Solaris 8 PHP Version: 3.0.17 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately, PHP 3 is no longer supported. Please download the latest version of PHP 4 from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2001-07-04 04:42:52] liinu@uta.fi in php-3 configure uses tr like this: tr -c -d a-zA-Z0-9 In Solaris 8 this will no longer work as support for syntax like a-zA-Z0-9 has been dropped from /usr/bin/tr. Above like use of /usr/bin/tr in configure will result to miscellanious compilation failures. A fix would be to use tr syntax like this: tr -c -d '[a-z][A-Z][0-9]' This sed line will change the use of tr: sed "s/tr -c -d a\-zA\-Z0\-9/tr -c -d \'\[a\-z\]\[A\-Z\]\[0\-9\]\'/g" configure ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=11867&edit=1

« previous php.bugs (#10572) next »