ID:               42597
 Updated by:       [EMAIL PROTECTED]
 Reported By:      hostmaster at taunusstein dot net
-Status:           Open
+Status:           Feedback
-Bug Type:         *Compile Issues
+Bug Type:         Compile Failure
 Operating System: Debian 4.0r0
 PHP Version:      5.2.4
 New Comment:

What if you didn't compile Apache with worker (bad) MPM but used the
working prefork MPM instead? Does it work then? 

And if you insist on getting into trouble, try attach GDB to the hanged
PHP process to see where it hangs.


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

[2007-09-08 07:45:41] hostmaster at taunusstein dot net

Description:
------------
make install hangs


Reproduce code:
---------------
Used configuration for Apache 2.2.6:

./configure \
  --prefix=/opt/apache-2.2.6/apache \
  --disable-maintainer-mode \
  --enable-mods-shared=all \
  --enable-access \
  --enable-auth \
  --enable-auth-anon \
  --disable-auth-dbm \
  --disable-auth-digest \
  --with-ldap \
  --enable-authnz-ldap \
  --enable-ldap \
  --enable-file-cache \
  --enable-echo \
  --enable-charset-lite \
  --enable-cache \
  --enable-disk-cache \
  --enable-mem-cache \
  --disable-example \
  --enable-ext-filter \
  --enable-case-filter \
  --enable-case-filter-in \
  --enable-deflate \
  --enable-include \
  --enable-log-config \
  --enable-env \
  --enable-mime-magic \
  --enable-cern-meta \
  --enable-expires \
  --enable-headers \
  --enable-usertrack \
  --enable-unique-id \
  --enable-setenvif \
  --disable-proxy \
  --disable-proxy-connect \
  --disable-proxy-ftp \
  --disable-proxy-http \
  --enable-ssl=shared \
  --disable-optional-hook-export \
  --disable-optional-hook-import \
  --disable-optional-fn-import \
  --disable-optional-fn-export \
  --enable-bucketeer \
  --disable-static-support \
  --disable-static-htpasswd \
  --disable-static-htdigest \
  --disable-static-rotatelogs \
  --disable-static-logresolve \
  --disable-static-htdbm \
  --disable-static-ab \
  --disable-static-checkgid \
  --enable-http \
  --enable-mime \
  --enable-dav \
  --enable-status \
  --enable-autoindex \
  --enable-asis \
  --enable-info \
  --enable-suexec \
  --enable-cgi \
  --enable-cgid \
  --enable-dav-fs \
  --enable-vhost-alias \
  --enable-negotiation \
  --enable-dir \
  --enable-imap \
  --enable-actions \
  --enable-speling \
  --enable-userdir \
  --enable-alias \
  --enable-rewrite \
  --enable-so \
  --with-mpm=worker \

Used Configuration for php 5.2.4:

./configure --prefix=/opt/apache-2.2.6 \
--with-apxs2=/opt/apache-2.2.6/apache/bin/apxs \
--enable-exif \
--enable-track-vars \
--with-calendar=shared \
--enable-safe-mode \
--enable-magic-quotes \
--enable-trans-sid \
--enable-wddx \
--enable-ftp \
--with-zlib \
--with-mysql=/opt/mysql \
--with-mysql-sock=/tmp/mysqld.sock \
--with-mysqli=/opt/mysql/bin/mysql_config \
--with-openssl=/usr \
--with-tsrm-pthreads \
--with-jpeglib \
--with-jpeg-dir=/usr/include \
--with-png-dir="/usr" \
--with-png-dir=/usr/include \
--with-xpm-dir="/usr" \
--enable-mbstring=all \
--without-yaz \
--with-ldap \
--with-ldap-sasl \
--with-gettext \
--with-gd \
--with-mhash \
--with-mcrypt \
--with-imap \
--with-mime-magic \
--enable-sysvshm \
--with-kerberos \
--with-imap-ssl \
--with-dom \
--with-iconv \
--enable-mbregex \
--with-soap \
--enable-soap \


Expected result:
----------------
'make install' should return after installation or failure. php 5.2.3
compiles w/o any problems on same platform.

Actual result:
--------------
Following happens:

# make install
Installing PHP SAPI module:       apache2handler
/opt/apache-2.2.6/apache/build/instdso.sh
SH_LIBTOOL='/opt/apache-2.2.6/apache/build/libtool' libphp5.la
/opt/apache-2.2.6/apache/modules
/opt/apache-2.2.6/apache/build/libtool --mode=install cp libphp5.la
/opt/apache-2.2.6/apache/modules/
cp .libs/libphp5.so /opt/apache-2.2.6/apache/modules/libphp5.so
cp .libs/libphp5.lai /opt/apache-2.2.6/apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/usr/src/php-5.2.4/libs'
chmod 755 /opt/apache-2.2.6/apache/modules/libphp5.so
[activating module `php5' in /opt/apache-2.2.6/apache/conf/httpd.conf]
Installing PHP CLI binary:        /opt/apache-2.2.6/bin/
Installing PHP CLI man page:      /opt/apache-2.2.6/man/man1/
Installing build environment:     /opt/apache-2.2.6/lib/php/build/
Installing header files:          /opt/apache-2.2.6/include/php/
Installing helper programs:       /opt/apache-2.2.6/bin/
  program: phpize
  program: php-config
Installing man pages:             /opt/apache-2.2.6/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /opt/apache-2.2.6/lib/php/
[PEAR] Console_Getopt - already installed: 1.2.3
[PEAR] Archive_Tar    - already installed: 1.3.2
[PEAR] Structures_Graph- already installed: 1.0.2
[PEAR] PEAR           - already installed: 1.6.1
Wrote PEAR system config file at: /opt/apache-2.2.6/etc/pear.conf
You may want to add: /opt/apache-2.2.6/lib/php to your php.ini
include_path
---script hangs---

these processes are running while installation hangs:

24209 pts/2    S+     0:00 /bin/sh -c if test -f
pear/install-pear-nozlib.phar && /usr/src/php-5.2.4/build/shtool mkdir
-p /opt/apache-2.2.6/lib/php; then \??make -s install-pear-installer;
\?else \??cat /usr/src/php-5.2.4/pear/install-pear.txt; \?fi
24272 pts/2    S+     0:00 make -s install-pear-installer
24273 pts/2    S+     0:00 /usr/src/php-5.2.4/sapi/cli/php -n
-dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= -derror_reporting=E_ALL
-dmemory_limit=-1 -ddetect_unicode=0 pear/install-pear-nozlib.phar -d
/opt/apache-2.2.6/lib/php -b /opt/apache-2.2.6/bin




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


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

Reply via email to