Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31959 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47192 invoked by uid 1010); 29 Aug 2007 10:55:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 47176 invoked from network); 29 Aug 2007 10:55:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Aug 2007 10:55:06 -0000 Authentication-Results: pb1.pair.com header.from=buildsmart@daleenterprise.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=buildsmart@daleenterprise.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain daleenterprise.com from 67.78.11.229 cause and error) X-PHP-List-Original-Sender: buildsmart@daleenterprise.com X-Host-Fingerprint: 67.78.11.229 daleenterprise.com Received: from [67.78.11.229] ([67.78.11.229:61031] helo=daleenterprise.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 08/B4-18234-88055D64 for ; Wed, 29 Aug 2007 06:55:05 -0400 Received: from localhost (localhost [127.0.0.1]) by daleenterprise.com (Postfix) with ESMTP id 52FDB219891 for ; Wed, 29 Aug 2007 06:55:02 -0400 (EDT) Received: from daleenterprise.com ([127.0.0.1]) by localhost (daleenterprise.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24038-08 for ; Wed, 29 Aug 2007 06:54:57 -0400 (EDT) Received: from [10.1.100.11] (relay.mustangrestomods.com [67.78.11.226]) by daleenterprise.com (Postfix) with ESMTP id 6EFB8219879 for ; Wed, 29 Aug 2007 06:54:47 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v752.2) To: PHP Developers Mailing List Message-ID: <37ADD227-ACDC-4AC7-B67A-C221AE2D350F@daleenterprise.com> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-2--375711287" Date: Wed, 29 Aug 2007 06:54:46 -0400 Content-Transfer-Encoding: 7bit X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) MTA-Interface: amavisd-new-2.3.3 (2005-08-22) + Maia Mailguard 1.1.0 at daleenterprise.com X-Spam-Scanned: using SpamAssassin 3.1.7 (2006-10-05) at daleenterprise.com X-Virus-Scanned: using ClamAV 0.88.6 (2006-11-05) at daleenterprise.com Subject: PHP-6 / Mac OS X From: buildsmart@daleenterprise.com (BuildSmart) --Apple-Mail-2--375711287 Content-Type: multipart/alternative; boundary=Apple-Mail-1--375711402 --Apple-Mail-1--375711402 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed It's a shame that icu is generated with a lot of cruft and while it can be built in a static library (archive) format, it has linking issues because the build itself is a hack. It seems that icu is a difficult build for shared libraries (impossible for the average user) but shared libraries have less linking issues. I spent some time repackaging it as a libtool type build so I could generate proper shared libraries with runtime paths and proper filename convention that work and don't suffer the linking issues of the static libraries. To aid development, use and implementation for Darwin/Mac OS X I've generated a universal build (x86 and ppc) to avoid a lot of headaches, perhaps this can be made available through the php site? I can package as a tar.gz file or a Mac OS X specific installer (the later is probably preferred to prevent a faulty installation by un- taring in an improper location) or I could toss it if you feel it isn't worth the time/effort to aid development/use for Darwin/Mac OS X. One other note, it seems that the latest PHP-6 from CVS doesn't build, it generates a faulty configure script and API changes prevent all kinds of included extensions from building or generating a working binary. mysql is one example of an extension that refuses to build dumping errors from ext/mysqlnd (too many to list). I haven't taken the time to go through the current CVS code yet, I reverted to an older CVS I downloaded a little while back that seemed to build without major issues (SEE: http://daleenterprise.com/info.php) and with a couple of edits I managed to get several pecl extensions to build thus giving me something useable to run on a test platform. There seems to be an issue with "Registered PHP Streams", "Registered Stream Socket Transports" and "Registered Stream Filters" however it may just be cosmetic but something that also needs looking into. Even my own self extensions seem to work in PHP6 so using the basic php-5.2.x API seems to carry through without issues. (SEE: http://daleenterprise.com/amavis-stats/index.php? host=&span=monthly&refresh=0) I haven't processed the rar extension yet (I have a client who relies on it) so it's on my todo project list. I see that memcache isn't included, is it no longer supported/ required or is it safe to rework it for the API changes in PHP-6 (too- late, already done and testing)? I see lots of errors in the log about "phpinfo() [function.phpinfo]: charset `utf8' not supported, assuming iso-8859-1 in /www/localhost/ info.php", I do have /default_charset = "iso-8859-1"/ set but it doesn't seem to make any difference. -- BuildSmart --Apple-Mail-1--375711402 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
It's a shame that icu is = generated with a lot of cruft and while it can be built in a static = library (archive) format, it has linking issues because the build itself = is a hack.

It = seems that icu is a difficult build for shared libraries=A0(impossible = for the average user)=A0but shared libraries have less linking = issues.

I = spent some time repackaging it as a libtool type build so I could = generate proper shared libraries with runtime paths and proper filename = convention that work and don't suffer the linking issues of the static = libraries.

To aid = development, use and implementation for Darwin/Mac OS X I've generated a = universal build (x86 and ppc) to avoid a lot of headaches, perhaps this = can be made available through the php site?

I can package as a tar.gz = file or a Mac OS X specific installer (the later is probably=A0preferred = to prevent a faulty installation by un-taring in an improper location) = or I could toss it if you feel it isn't worth the time/effort to aid = development/use for Darwin/Mac OS X.

One other note, it seems = that the latest PHP-6 from CVS doesn't build, it generates a faulty = configure script and API changes prevent all kinds of included = extensions from building or generating a working binary.

mysql is one example of an = extension that refuses to build dumping errors from ext/mysqlnd (too = many to list).

I haven't taken the time to = go through the current CVS code yet, I reverted to an older CVS I = downloaded a little while back that seemed to build without major = issues
(SEE: http://daleenterprise.com/info= .php) and with a couple of edits I managed to get several pecl = extensions to build thus giving me something useable to run on a test = platform.

There= seems to be an issue with "Registered PHP Streams", "Registered Stream = Socket Transports" and "Registered Stream Filters" however it may just = be cosmetic but something that also needs looking into.

Even my own self extensions = seem to work in PHP6 so using the basic php-5.2.x API seems to carry = through without issues.
(SEE: http://daleenterprise.com/amavis-st= ats/index.php?host=3D&span=3Dmonthly&refresh=3D0)

I haven't processed the rar = extension yet (I have a client who relies on it) so it's on my todo = project list.

I= see that memcache isn't included, is it no longer supported/required or = is it safe to rework it for the API changes in PHP-6 (too-late, already = done and testing)?

I see lots of errors in the = log about "phpinfo() [function.phpinfo]: charset `utf8' not supported, = assuming iso-8859-1 in /www/localhost/info.php", I do have /default_charset =3D = "iso-8859-1"/ set but it doesn't seem to make any = difference.

-- = BuildSmart
= --Apple-Mail-1--375711402-- --Apple-Mail-2--375711287 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFG1VB20hzWbkf0eKgRAiLtAJ48S0xk9Xb7xe/0ZeOXdsnk0V0SmwCaA0Z6 sv9kT1gDH+WS9KqeDoPHrGw= =CGiK -----END PGP SIGNATURE----- --Apple-Mail-2--375711287--