#4488 [Opn->Fbk]: Sun has changed tr

From: Date: Tue, 01 Oct 2002 00:28:48 +0000
Subject: #4488 [Opn->Fbk]: Sun has changed tr
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20839@lists.php.net to get a copy of this message
ID: 4488 Updated by: hholzgra@php.net Reported By: Bruce.Hudson@Dal.Ca -Status: Open +Status: Feedback Bug Type: Installation problem Operating System: Solaris 8 PHP Version: 3.0.16 New Comment: php 4 configure uses sed instead of tr here, does the same problem arise there? Previous Comments: ------------------------------------------------------------------------ [2000-05-17 22:00:11] Bruce.Hudson@Dal.Ca A slight correction to this problem. It only seems to occur when the LC_COLLATE environment variable is set to something other than "C". ------------------------------------------------------------------------ [2000-05-17 21:44:18] Bruce.Hudson@Dal.Ca After attempting to add mysql support to php, I started getting link failures starting apache. I traced this to the fact the configure was not adding -lmysqlclient to LIBS. This in turn traces back to a change that SUN appears to have made to tr. The command echo mysqlclient | tr -c -d a-zA-Z0-9 returns a null string rather than "mysqlclient". The correct command for Solaris 8 appears to be: echo mysqlclient | tr -c -d '[:alnum:]' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=4488&edit=1

« previous php.bugs (#20839) next »