sfio, php-4.3.1, solaris and me

From: Date: Sat, 08 Mar 2003 23:43:15 +0000
Subject: sfio, php-4.3.1, solaris and me
Groups: php.install 
Request: Send a blank email to php-install+get-10317@lists.php.net to get a copy of this message
Hi, I tried to use AT&T superb sfio library to solve the problem of Solaris max. 256 file descriptors in their stdio. When I try the follwoing: env CFLAGS="-I/opt/sfio-2002/include"\ LIBS="-L/opt/sfio-2002/lib -lstdio -lsfio"\ ./configure --with-config-file-path=/tmp/php/etc\ --prefix=/tmp/php --with-pear=/tmp/php/lib/pear\ --without-mysql --with-apache=../apache_1.3.27 it compiles fine, but when I try to install I receive the error:
Installing PHP CLI binary:        /tmp/php/bin/
Installing PHP SAPI module
Installing shared extensions:     /tmp/php/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /tmp/php/lib/pear/
Fatal error: Call to undefined function: fwrite() in /www/home/soft/software/apache/a/php-4.3.1/pear/PEAR/Registry.php on line 215 Fatal error: Call to undefined function: fread() in /www/home/soft/software/apache/a/php-4.3.1/pear/Archive/Tar.php on line 71
Installing build environment:     /tmp/php/lib/php/build/
Anyone knows what's going on here? Is it a bug? While looking for this error I found the old bug #5930 (http://bugs.php.net/bug.php?id=5930) which seems to be a similar problem... Is it really be solved? Should I post my question on the bug-list? MANY thanx for any hints! ++ralph _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus

« previous php.install (#10317) next »