#36001 [Opn->Asn]: make install fails when --enable-memory-limit used

From: Date: Fri, 13 Jan 2006 18:24:22 +0000
Subject: #36001 [Opn->Asn]: make install fails when --enable-memory-limit used
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-91865@lists.php.net to get a copy of this message
ID: 36001 Updated by: tony2001@php.net Reported By: long+phpbugs at kestrel dot cc dot ku dot edu -Status: Open +Status: Assigned Bug Type: Unknown/Other Function Operating System: Tru64 4.0F PHP Version: 4.4.2 -Assigned To: +Assigned To: cellog New Comment: Assigned to the maintainer. Previous Comments: ------------------------------------------------------------------------ [2006-01-13 19:18:57] long+phpbugs at kestrel dot cc dot ku dot edu Description: ------------ When I build php with --enable-memory-limit make install fails due to hitting the memory limit. Reproduce code: --------------- Use: LD_LIBRARY_PATH='/usr/local/ldap' \ CFLAGS='-O2 -std1 -ifo -taso' \ CXXFLAGS='-std1 -O2 -ifo -taso' \ CC='cc' \ CXX='cxx' \ './configure' \ '--with-openssl' \ '--enable-bcmath' \ '--with-ndbm' \ '--with-dbm' \ '--enable-dbase' \ '--enable-filepro' \ '--enable-ftp' \ '--with-gd' \ '--with-ttf' \ '--with-java=/usr/opt/java141' \ '--with-mysql' \ '--with-oci8' \ '--with-oracle' \ '--enable-shmop' \ '--enable-sockets' \ '--enable-sysvsem' \ '--enable-sysvshm' \ '--enable-wddx' \ '--enable-dba=shared' \ '--enable-calendar' \ '--enable-exif' \ '--enable-discard-path' \ '--enable-dbx' \ '--enable-ctype' \ '--with-hyperwave' \ '--enable-mailparse' \ '--enable-mbstring' \ '--enable-mbstr-enc-trans' \ '--enable-memory-limit' \ '--with-ldap=/usr/local/ldap' \ '--with-inifile' \ '--with-flatfile' \ '--enable-dio' \ '--enable-sysvmsg' \ '--with-zlib' \ '--with-zlib-dir=/usr/local' \ '--with-jpeg-dir=/usr/local' \ '--with-png-dir=/usr/local' \ '--with-cdb=shared' build it using 'make'. Then run 'make install'. Expected result: ---------------- I expect PHP to be installed. Actual result: -------------- # make install Installing PHP SAPI module: cgi Installing PHP CGI into: /usr/local/bin/ Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ Installing PEAR environment: /usr/local/lib/php/ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 92160 bytes) in /apps/usr/users/long/src/php-4.4.2/pear/PEAR/PackageFile/v2.php on line 962 Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 87 bytes) in /apps/usr/users/long/src/php-4.4.2/pear/PEAR.php on line 767 *** Exit 255 Stop. *** Exit 1 Stop. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36001&edit=1

« previous php.bugs (#91865) next »