Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31294 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24380 invoked by uid 1010); 27 Jul 2007 09:16:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 24365 invoked from network); 27 Jul 2007 09:16:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jul 2007 09:16:27 -0000 Authentication-Results: pb1.pair.com header.from=kleinweby@kleinweby.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=kleinweby@kleinweby.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kleinweby.de from 80.86.80.121 cause and error) X-PHP-List-Original-Sender: kleinweby@kleinweby.de X-Host-Fingerprint: 80.86.80.121 lvps80-86-80-121.kwm-web.info Received: from [80.86.80.121] ([80.86.80.121:42571] helo=lvps80-86-80-121.kwm-web.info) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/25-13510-AE7B9A64 for ; Fri, 27 Jul 2007 05:16:27 -0400 Received: from [192.168.2.21] (pD9EA7EFC.dip.t-dialin.net [217.234.126.252]) by lvps80-86-80-121.kwm-web.info (Postfix) with ESMTP id 0DED02D43E1 for ; Fri, 27 Jul 2007 11:15:44 +0200 (CEST) Reply-To: internals@lists.php.net To: internals@lists.php.net Content-Type: text/plain Date: Fri, 27 Jul 2007 11:15:44 +0200 Message-ID: <1185527744.6559.6.camel@kleinweby-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Subject: php5 as universal binary (Mac OS X) From: kleinweby@kleinweby.de (Christian Speich) hello, I have asked in the gernal php list and they say I should be ask here: I have an problem with php5 as universal binary on Mac OsX. The universal binary was build on an intel mac and it works good... on an intel mac ;) When a friend it try on an ppc mac he had some problems. For example phpsqliteadmin say this error: Fatal error: Balloc() allocation exceeds list boundary in /Applications/xampp/xamppfiles/phpsqliteadmin/SPSQLite.class.php on line 998 And phpmyadmin loads and loads and loads and loads... BUT my php4 universal binary works perfect on intel and ppc macs... :/ My configure for php5 look like this: PREFIX=/Applications/xampp/xamppfiles SYSCONFDIR=/Applications/xampp/etc export LD_RUN_PATH="$PREFIX/lib" export LD_LIBRARY_PATH="$PREFIX/lib" export CFLAGS="-I$PREFIX/include -L$PREFIX/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk" export CPPFLAGS="-I$PREFIX/include" export CXXFLAGS="-I$PREFIX/include -L$PREFIX/lib" export LDFLAGS="-L$PREFIX/lib -I$PREFIX/include" export SOFLAGS="-L$PREFIX/lib" CFLAGS="$CFLAGS -arch i386 -arch ppc" ./configure --prefix=$PREFIX --program-suffix=-5.2.3 --libdir=$PREFIX/lib/php/php5 --includedir= $PREFIX/include/php/php5 --with-apxs2=$PREFIX/bin/apxs --with-config-file-path=$SYSCONFDIR --with-mysql=$PREFIX --disable-debug --enable-bcmath --enable-calendar --enable-ctype --enable-dbase --enable-discard-path --enable-exif --enable-filepro --enable-force-cgi-redirect --enable-ftp --enable-gd-imgstrttf --enable-gd-native-ttf --with-ttf --enable-magic-quotes --enable-memory-limit --enable-safe-mode --enable-shmop --enable-sigchild --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-trans-sid --enable-wddx --enable-yp --with-ftp --with-ncurses= $PREFIX --with-gdbm=$PREFIX --with-jpeg-dir=$PREFIX --with-png-dir= $PREFIX --with-freetype-dir=$PREFIX --without-xpm --with-zlib=yes --with-zlib-dir=$PREFIX --with-openssl=$PREFIX --with-expat-dir=$PREFIX --enable-xslt=$PREFIX --with-xsl=$PREFIX --with-dom=$PREFIX --with-ldap= $PREFIX --with-gd=$PREFIX --with-mysql-sock=$PREFIX/var/mysql/mysql.sock --with-mcrypt=$PREFIX --with-mhash=$PREFIX --enable-sockets --with-curl=$PREFIX --enable-mbregex --enable-zend-multibyte --with-zip= $PREFIX --enable-exif --with-sqlite --with-libxml-dir=$PREFIX --enable-soap --enable-pcntl --enable-dbx --with-mysqli= $PREFIX/bin/mysql_config --with-bz2=$PREFIX --with-pear= $PREFIX/lib/php/pear --with-mssql=$PREFIX --with-imap-dir=$PREFIX --with-imap=$PREFIX --enable-mbstring=all --with-pgsql=shared,/usr --with-gettext=$PREFIX I don't think thats this are errors from the php-scripts, I think thats an problem with php. I hope you can help me to resolve this problem thanks, kleinweby