ID:               30011
 Comment by:       Bjorn dot Wiberg at its dot uu dot se
 Reported By:      bg at genetics dot agrsci dot dk
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: aix 4.3.3.0
 PHP Version:      5.0.1
 New Comment:

A simple workaround for this issue (until it gets resolved) could be
adding "|| true" to the end of two targets "install-pear-installer" and
"install-pear-packages"install-pear-installer in the Makefile: 


$(top_builddir)/sapi/cli/php
        @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS)
/usr/local/src/php-5.0.2/pear/install-pear.php -d "$(peardir)" -b
"$(bindir)" /usr/local/src/php-5.0.2/pear/package-*.xml || true

install-pear-packages: $(top_builddir)/sapi/cli/php
        @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS)
/usr/local/src/php-5.0.2/pear/install-pear.php -d "$(peardir)" -b
"$(bindir)" /usr/local/src/php-5.0.2/pear/packages/*.tar || true


Best regards,
Björn


Previous Comments:
------------------------------------------------------------------------

[2004-09-30 16:50:40] Bjorn dot Wiberg at its dot uu dot se

This also happens on IBM AIX 5.2.0.0 ML4 and with PHP 5.0.2:


[EMAIL PROTECTED]:/usr/local/src/php-5.0.2# /opt/freeware/bin/make install
Installing PHP SAPI module:       apache2handler
/apache/build/instdso.sh SH_LIBTOOL='/apache/build/libtool' libphp5.la
/apache/modules
rm -f /apache/modules/libphp5.so
/apache/build/libtool --mode=install cp libphp5.la /apache/modules/
cp .libs/libphp5.so /apache/modules/libphp5.so
cp .libs/libphp5.lai /apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/usr/local/src/php-5.0.2/libs'
chmod 755 /apache/modules/libphp5.so
[activating module `php5' in /apache/etc/httpd.conf]
Installing PHP CLI binary:        /apache/php/bin/
Installing PHP CLI man page:      /apache/php/man/man1/
Installing PEAR environment:      /apache/php/lib/php/
[PEAR] Archive_Tar    - installed: 1.1
[PEAR] Console_Getopt - installed: 1.2
[PEAR] PEAR           - installed: 1.3.2
Wrote PEAR system config file at: /apache/php/etc/pear.conf
You may want to add: /apache/php/lib/php to your php.ini include_path
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2
[EMAIL PROTECTED]:/usr/local/src/php-5.0.2#


PHP has been configured with (from config.nice):

CPPFLAGS='-I/usr/local/include' \
LDFLAGS='-L/lib -L/opt/freeware/lib -L/usr/local/lib' \
CC='/usr/local/bin/gcc' \
'./configure' \
'--enable-bcmath' \
'--enable-calendar' \
'--enable-dba' \
'--enable-exif' \
'--enable-embedded-mysqli' \
'--enable-filepro' \
'--enable-ftp' \
'--enable-gd-jis-conv' \
'--enable-gd-native-ttf' \
'--enable-mbstring' \
'--enable-memory-limit' \
'--enable-sockets' \
'--enable-versioning' \
'--enable-zend-multibyte' \
'--prefix=/apache/php' \
'--with-apxs2=/apache/bin/apxs' \
'--with-apxs2filter=/apache/bin/apxs' \
'--with-freetype-dir' \
'--with-gd' \
'--with-gdbm' \
'--with-gettext' \
'--with-inifile' \
'--with-jpeg-dir' \
'--with-ldap' \
'--with-libxml-dir' \
'--with-mime-magic' \
'--with-mnogosearch' \
'--with-mysql=/usr/local/mysql' \
'--with-openssl=/opt/freeware' \
'--with-png-dir' \
'--with-tiff-dir' \
'--with-ttf' \
'--with-xpm-dir' \
'--with-zlib' \
'--with-zlib-dir'

I'm using gcc (GCC) 3.3.2 and GNU Make 3.80 on an IBM eServer pSeries
615 (RS/6000) dual Power4-CPU machine.

Best regards,
Björn

------------------------------------------------------------------------

[2004-09-23 15:59:55] bg at genetics dot agrsci dot dk

Just installed php-4.3.9 with the same configuration as before and the
installation worked fine, while php-5.0.1 still doesn't work.

------------------------------------------------------------------------

[2004-09-07 14:49:19] bg at genetics dot agrsci dot dk

Description:
------------
During installation of PHP-5.0.1 on an IBM RS6000 with AIX 4.3.3.0 the
make process dies with the message

make: *** [install-pear-installer] Error 255

while executing

/h580/avl/bg/src/net/php-5.0.1/sapi/cli/php -n -dshort_open_tag=0
-dsafe_mode=0 /h580/avl/bg/src/net/php-5.0.1/pear/install-pear.php -d
"/usr/local/lib/php" -b "/usr/local/bin"
/h580/avl/bg/src/net/php-5.0.1/pear/package-*.xml 

Likewise make install-pear-packages dies with

make: *** [install-pear-packages] Error 255

Make is GNU make vers. 3.80.

The problem does not occur with PHP-4.3.8. PHP-4.3.8 compiled using
essentially the same configuration works fine on the system.

The configuration of PHP is available at
http://genetics.agrsci.dk/~bg/phpconf.txt

Thank you for taking an interest!



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30011&edit=1

Reply via email to