ID: 28193 User updated by: hakan at lisas dot de Reported By: hakan at lisas dot de -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Solaris 9 PHP Version: 5.0.0RC2 New Comment:
The actuall HEAD with ext/standard/proc_open.c 1.20 (not 1.21) does compile. I have no clue about the pty support on Solaris. Some things are defined in /usr/include/fcntl.h and http://gcc.gnu.org/ml/gcc-patches/2000-09/msg00578.html says: AC_DEFINE(_XOPEN_SOURCE, 1, [Always define this]) But I even don't know for what pty-support should be good for :) bye Hakan Previous Comments: ------------------------------------------------------------------------ [2004-04-27 23:04:35] [EMAIL PROTECTED] As a workaround, reverse this patch: http://cvs.php.net/diff.php/php-src/ext/standard/proc_open.c?r1=1.20&r2=1.21&ty=u It would be great if you could do some digging to find out what magic defines are needed to get it to build under Solaris with Unix98 pty support; linux requires these: +#define _XOPEN_SOURCE +#define _BSD_SOURCE ------------------------------------------------------------------------ [2004-04-27 22:32:21] hakan at lisas dot de Description: ------------ ./configure \ --with-apxs=/usr/local/apache8080/bin/apxs \ --prefix=/usr/local/php5-cvs \ --enable-track-var \ --enable-dio \ --enable-memory-limit \ --enable-sockets \ --with-gd \ --with-jpeg-dir=shared,/usr/local \ --with-png-dir=shared,/usr/local \ --with-xpm-dir=shared,/usr/local \ --with-zlib-dir=shared,/usr \ --with-freetype-dir=shared,/usr/local \ --enable-gd-native-ttf \ --with-mysql=shared,/usr/local/mysql \ --with-pgsql=shared,/usr/local/pgsql \ --enable-dba make [...] make fails with: http://nopaste.php.cd/13818 My box: uname -a: SunOS bwsx010 5.9 Generic_112233-12 sun4u sparc SUNW,Ultra-5_10 Solaris gcc --version: gcc (GCC) 3.3.2 flex --version flex version 2.5.4 autoconf --version Autoconf version 2.13 automake --version automake (GNU automake) 1.5 libtool --version ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) PHP 4.3.6, PHP 5 RC2RC1, Apache, MySQL, PostgreSQL, LaTeX, CVS builds on this machine. PHP CVS HEAD and PHP 5 RC2 builds not. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28193&edit=1