php-install Digest 2 Feb 2003 02:48:16 -0000 Issue 1229

Topics (messages 9919 through 9920):

Re: [PHP] 4.3 Install on Solaris
        9919 by: Philip Olson

Re: 4.3 Install on Solaris
        9920 by: J Smith

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
On Fri, 31 Jan 2003, Weston Houghton wrote:

> 
> All,
> 
> I seem to be getting a silly error on Solaris when trying to do a PHP  
> 4.3 make. I get an error that looks to me like the liner arguments are  
> just too long. to be honest, I'm a bit stupified as to why this is  
> happening or how to fix it. FWIW, I have compiled 4.23 just fine on  
> that box.
[snip]

Are you using the GNU utilities?  PHP requires them, for example,
sed must be of GNU origin.  Same for bison, flex, etc.  This is
a common problem on Solaris these days as it comes with a broken
sed.  GNU good.

Regards,
Philip

--- End Message ---
--- Begin Message ---
Weston Houghton wrote:

> 
> All,
> 
> I seem to be getting a silly error on Solaris when trying to do a PHP
> 4.3 make. I get an error that looks to me like the liner arguments are
> just too long. to be honest, I'm a bit stupified as to why this is
> happening or how to fix it. FWIW, I have compiled 4.23 just fine on
> that box.
> 
> Thanks,
> Wes
> 
> 
> p.s. here's the last bit of the error:
> 
> /bin/sh libtool --silent --mode=link gcc -export-dynamic -g -O2
> -avoid-version -module -L/usr/ucblib
> -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1
> -L/export/home/oracle/OraHome/lib  -R /usr/ucblib -R
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1 -R
> /export/home/oracle/OraHome/lib ext/ctype/ctype.lo ext/ftp/php_ftp.lo
> ext/ftp/ftp.lo ext/mysql/php_mysql.lo ext/mysql/libmysql/libmysql.lo

<snip>

Install GNU sed. The standard Solaris sed can't handle input that long. (I
believe it has a character limit of 4096 characters or something to that
effect.) GNU's sed doesn't have that limit.

Installing the package from www.sunfreeware.com will put GNU sed in
/usr/local. Make sure that make can find the GNU sed before it finds Sun's
sed by putting /usr/local/bin before /usr/bin in your $PATH.

J
--- End Message ---

Reply via email to