ID: 40474 Updated by: [EMAIL PROTECTED] Reported By: zesigur at free dot fr -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Redhat 7.3 (2.4.29) PHP Version: 5.2.1 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2007-02-14 17:19:33] zesigur at free dot fr I've deleted the directory and rerun that : root : h195-114 - /var/tmp/apache_1.3.34/php5.2-200702141130> rm -rf /usr/local/lib/php root : h195-114 - /var/tmp/apache_1.3.34/php5.2-200702141130> USE_ZEND_ALLOC=0 valgrind --tool=memcheck ./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 "/usr/local/lib/php" -b "/usr/local/bin" ==23326== Memcheck, a memory error detector. ==23326== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==23326== Using LibVEX rev 1732, a library for dynamic binary translation. ==23326== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==23326== Using valgrind-3.2.3, a dynamic binary instrumentation framework. ==23326== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==23326== For more details, rerun with: -v ==23326== Warning: Cannot use a scalar value as an array in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 720 Warning: Cannot use a scalar value as an array in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 720 Warning: Cannot use a scalar value as an array in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 740 Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 1207 Notice: Undefined variable: ret in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 1269 Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 1207 Notice: Undefined variable: ret in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 1269 Warning: Cannot use a scalar value as an array in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 757 Warning: array_merge(): Argument #2 is not an array in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 766 Notice: Undefined index: pearinstaller in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 777 Warning: Cannot use a scalar value as an array in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 720 Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 1207 Notice: Undefined variable: ret in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 1269 Warning: fopen(/usr/local/lib/php/.depdb): failed to open stream: No such file or directory in phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 510 Warning: fopen(/usr/local/lib/php/.depdb): failed to open stream: No such file or directory in phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 510 Fatal error: Cannot use object of type PEAR_Error as array in phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 198 ==23326== ==23326== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 65 from 2) ==23326== malloc/free: in use at exit: 63,249 bytes in 502 blocks. ==23326== malloc/free: 250,636 allocs, 250,134 frees, 40,886,451 bytes allocated. ==23326== For counts of detected errors, rerun with: -v ==23326== searching for pointers to 502 not-freed blocks. ==23326== checked 2,048,056 bytes. ==23326== ==23326== LEAK SUMMARY: ==23326== definitely lost: 57,087 bytes in 338 blocks. ==23326== possibly lost: 0 bytes in 0 blocks. ==23326== still reachable: 6,162 bytes in 164 blocks. ==23326== suppressed: 0 bytes in 0 blocks. ==23326== Rerun with --leak-check=full to see details of leaked memory. ------------------------------------------------------------------------ [2007-02-14 17:03:15] [EMAIL PROTECTED] Well, no idea about the "correct" way, but I guess `rm -rf /usr/local/lib/php` will do. ------------------------------------------------------------------------ [2007-02-14 17:01:10] zesigur at free dot fr Can you tell me how to uninstall pear properly? ------------------------------------------------------------------------ [2007-02-14 16:56:51] [EMAIL PROTECTED] You probably need to remove the existing PEAR installation first. ------------------------------------------------------------------------ [2007-02-14 16:47:58] zesigur at free dot fr I have some Warnings but no errors : root : h195-114 - /var/tmp/apache_1.3.34/php5.2-200702141130> USE_ZEND_ALLOC=0 valgrind --tool=memcheck ./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 "/usr/local/lib/php" -b "/usr/local/bin" ==19100== Memcheck, a memory error detector. ==19100== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==19100== Using LibVEX rev 1732, a library for dynamic binary translation. ==19100== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==19100== Using valgrind-3.2.3, a dynamic binary instrumentation framework. ==19100== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==19100== For more details, rerun with: -v ==19100== Warning: Cannot use a scalar value as an array in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 720 Warning: Cannot use a scalar value as an array in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 720 Warning: Cannot use a scalar value as an array in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 740 Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 1207 Notice: Undefined variable: ret in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 1269 Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 1207 Notice: Undefined variable: ret in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 1269 Warning: Cannot use a scalar value as an array in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 757 Warning: array_merge(): Argument #2 is not an array in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 766 Notice: Undefined index: pearinstaller in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 777 Warning: Cannot use a scalar value as an array in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 720 Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 1207 Notice: Undefined variable: ret in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 1269 [PEAR] Console_Getopt: upgrade to a newer version (1.2.1 is not newer than 1.2.1) [PEAR] Archive_Tar: upgrade to a newer version (1.3.2 is not newer than 1.3.2) [PEAR] Structures_Graph: upgrade to a newer version (1.0.2 is not newer than 1.0.2) [PEAR] PEAR: upgrade to a newer version (1.5.0 is not newer than 1.5.0) ==19100== ==19100== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 65 from 2) ==19100== malloc/free: in use at exit: 4,033 bytes in 102 blocks. ==19100== malloc/free: 1,667,468 allocs, 1,667,366 frees, 1,691,171,570 bytes allocated. ==19100== For counts of detected errors, rerun with: -v ==19100== searching for pointers to 102 not-freed blocks. ==19100== checked 2,046,164 bytes. ==19100== ==19100== LEAK SUMMARY: ==19100== definitely lost: 0 bytes in 0 blocks. ==19100== possibly lost: 0 bytes in 0 blocks. ==19100== still reachable: 4,033 bytes in 102 blocks. ==19100== suppressed: 0 bytes in 0 blocks. ==19100== Rerun with --leak-check=full to see details of leaked memory. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40474 -- Edit this bug report at http://bugs.php.net/?id=40474&edit=1