Re: 4.3 Install on Solaris

From: Date: Sun, 02 Feb 2003 02:48:29 +0000
Subject: Re: 4.3 Install on Solaris
References: 1  Groups: php.general php.install 
Request: Send a blank email to php-general+get-133948@lists.php.net to get a copy of this 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

« previous php.general (#133948) next »