|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-03-16 20:45 UTC] shannon at handshigh dot com
Description: ------------ Using new MacBook Pro, Mac OS 10.4.5, Dev Tools 2.2.1, I can't build pear because of install failure. Have tried doing a direct install of pear with same result. Same configuration works fine with a PowerPC Mac using same OS, dev tools and build script. Reproduce code: --------------- Run the following build script from within the php source directory as root: #! /bin/bash #install script for php make clean ./configure \ --prefix=/usr \ --with-xml \ --with-zlib \ --with-apxs \ --enable-debug make make install Expected result: ---------------- Build to work. Actual result: -------------- Shannons-MacBook:/src/php-5.1.2 root# make install Installing PHP SAPI module: apache [activating module `php5' in /private/etc/httpd/httpd.conf] cp libs/libphp5.so /usr/libexec/httpd/libphp5.so chmod 755 /usr/libexec/httpd/libphp5.so cp /private/etc/httpd/httpd.conf /private/etc/httpd/ httpd.conf.bak cp /private/etc/httpd/httpd.conf.new /private/etc/httpd/ httpd.conf rm /private/etc/httpd/httpd.conf.new Installing PHP CLI binary: /usr/bin/ Installing PHP CLI man page: /usr/man/man1/ Installing build environment: /usr/lib/php/build/ Installing header files: /usr/include/php/ Installing helper programs: /usr/bin/ program: phpize program: php-config Installing man pages: /usr/man/man1/ page: phpize.1 page: php-config.1 Installing PEAR environment: /usr/lib/php/ [PEAR] Archive_Tar - already installed: 1.3.1 [PEAR] Console_Getopt - already installed: 1.2 php(5795) malloc: *** vm_allocate(size=3825205248) failed (error code=3) php(5795) malloc: *** error: can't allocate region php(5795) malloc: *** set a breakpoint in szone_error to debug make[1]: *** [install-pear-installer] Segmentation fault make: *** [install-pear] Error 2 I tried to get a core dump, but was not able to. No core was produced. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Mon Apr 20 09:00:01 2026 UTC |
Here are the results of following the posted backtrace directions: Core was generated by `/src/php-5.1.2/sapi/cli/php'. #0 0xffff0b3c in ___memcpy () at /System/Library/ Frameworks/System.framework/PrivateHeaders/i386/ cpu_capabilities.h:186 186 /System/Library/Frameworks/System.framework/ PrivateHeaders/i386/cpu_capabilities.h: No such file or directory. in /System/Library/Frameworks/System.framework/ PrivateHeaders/i386/cpu_capabilities.h (gdb) bt #0 0xffff0b3c in ___memcpy () at /System/Library/ Frameworks/System.framework/PrivateHeaders/i386/ cpu_capabilities.h:186 (gdb)