Solaris+sed+shared, problem

From: Date: Thu, 30 Nov 2000 13:52:45 +0000
Subject: Solaris+sed+shared, problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-39695@lists.php.net to get a copy of this message
I've recently discovered a problem with compilation of shared modules on Solaris. The problem is that configure oftely uses lines like: PHP_IMAP=echo $ac_n "$PHP_IMAP$ac_c"|sed s/^shared,// which becomes something like: PHP_IMAP=echo -n shared,/foo/bar/imap|sed s/^shared,// The problem is that standard Solaris sed (/usr/bin/sed, /usr/ucb/sed) does not like lines which don't end in newline, and PHP_IMAP becomes empty. /usr//xpg4/bin/sed behaves better (gives a warning, but works). Anybody know how the problem can be fixed? The unpleasant thing is that I also cannot set sed command to use, so I should start messing with symlinks if I want it to work... -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.106

« previous php.dev (#39695) next »