From: mamfelt at gmail dot com
Operating system: AIX 6.1.3
PHP version: 5.2.10
PHP Bug Type: *Compile Issues
Bug description: make install-pear fails
Description:
------------
after getting the flags right for a straight forward configure and make,
make install-pear fails.
code snippet: no fix!
line 64 through 66:
$ctx = stream_context_create($copt, array("notification" =>
"stream_notification_callback"));
$fp = fopen($argv[1], "r", false, $ctx);
AIX 6.1.3, xlC compiler (v7)
Reproduce code:
---------------
export
LIBPATH=/usr/lib:/usr/local/ssl/lib:/usr/local/lib:/usr/vac/lib:/usr/vacpp/lib
./configure \
--enable-safe-mode --enable-magic-quotes \
--with-openssl=/usr/local/ssl \
--with-zlib-dir=/data/prj/zlib-1.2.3 \
--disable-bcmath \
--enable-dba --enable-ftp \
--with-gd --with-jpeg-dir=/usr/local/lib \
--with-ttf --with-curlwrappers \
--with-curl --with-freetype-dir \
--enable-gd-native-ttf \
--with-mysql=/usr/local/mysql \
--with-pear=/usr/local/bin
make
make install
Expected result:
----------------
installed php
Actual result:
--------------
mich...@x054:[/data/home/michael/prj/php5.2-200909161430]make install
Installing PHP SAPI module: cgi
Installing PHP CGI binary: /usr/local/bin/
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/bin/
Warning: stream_context_create() expects at most 1 parameter, 2 given in
/data/prj/php5.2-200909161430/pear/fetch.php on line 64
Warning: fopen() expects parameter 4 to be resource, boolean given in
/data/prj/php5.2-200909161430/pear/fetch.php on line 66
Error..
fopen() expects parameter 4 to be resource, boolean given
make: *** [install-pear] Error 1
--
Edit bug report at http://bugs.php.net/?id=49578&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=49578&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=49578&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=49578&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=49578&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=49578&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=49578&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=49578&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=49578&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=49578&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=49578&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=49578&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=49578&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=49578&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=49578&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49578&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49578&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=49578&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=49578&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=49578&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=49578&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=49578&r=mysqlcfg