ID: 49578
Updated by: [email protected]
Reported By: mamfelt at gmail dot com
-Status: Open
+Status: Assigned
-Bug Type: *Compile Issues
+Bug Type: Compile Failure
Operating System: AIX 6.1.3
PHP Version: 5.2.10
-Assigned To:
+Assigned To: dufuz
New Comment:
Those flags aren't quite right. There isn't any options in the
(--with|--enable) family in PHP configure which expects you to give any
paths to /xxx/lib ( /usr/local/lib should be /usr/local )
But it's not the reason pear install fails, that's more inherent
problem with bad design in how pear is installed from some obscure phar
thing. Assigned to maintainer.
Previous Comments:
------------------------------------------------------------------------
[2009-09-17 10:36:39] mamfelt at gmail dot com
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 this bug report at http://bugs.php.net/?id=49578&edit=1