Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31882 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72448 invoked by uid 1010); 24 Aug 2007 01:41:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 72433 invoked from network); 24 Aug 2007 01:41:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Aug 2007 01:41:26 -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:52383] helo=daleenterprise.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F5/20-06198-4473EC64 for ; Thu, 23 Aug 2007 21:41:25 -0400 Received: from localhost (localhost [127.0.0.1]) by daleenterprise.com (Postfix) with ESMTP id EF48B1FB3CC; Thu, 23 Aug 2007 21:41:21 -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 04883-14; Thu, 23 Aug 2007 21:41:18 -0400 (EDT) Received: from [10.1.100.11] (daleenterprise.com [10.1.100.11]) by daleenterprise.com (Postfix) with ESMTP id 030D31FB3B8; Thu, 23 Aug 2007 21:41:17 -0400 (EDT) In-Reply-To: References: <1187902202.13028.18.camel@johannes.nop> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-ID: <700FD0C3-CBF3-49BE-B428-901257611213@daleenterprise.com> Cc: =?ISO-8859-1?Q?Johannes_Schl=FCter?= Reply-To: PHP Internals List Content-Transfer-Encoding: quoted-printable Date: Thu, 23 Aug 2007 21:41:16 -0400 To: PHP Internals List 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: Re: [PHP-DEV] building PHP 5.2.3 and namespace issues From: buildsmart@daleenterprise.com (BuildSmart) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Aug 23, 2007, at 17:05:06, BuildSmart wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > - -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Aug 23, 2007, at 16:50:02, Johannes Schl=FCter wrote: > >> Hi, >> >> On Thu, 2007-08-23 at 16:23 -0400, BuildSmart wrote: >> [...] >>> Symbol not found: _compiler_globals >>> Referenced from: /usr/local/php/lib/php/extensions/no-debug-non- >>> zts-20060613/bcompiler >>> Expected in: dynamic lookup >> [...] >> >> This simply means that your PHP was built using a thread-safe >> environment but the extension was linked against a non-thread-safe =20= >> PHP. > > The PHP and modules are built simultaneously so linking against the =20= > generated PHP should not be an issue. > >> The documentation and regular support channels (php.net/support.php) >> should be able to help you figuring out what's going wrong. >> >> johannes > > I went that route and looked at http://php.net/manual/en/=20 > faq.build.php already but couldn't find anything related. > > Since I build in a thread-safe environemt and pthreads is actually =20 > embedded in libSystem ( -lpthread isn't required but can be used =20 > for legacy linking) and "#define PTHREADS 1" shouldn't it build and =20= > link against the php that is being built since therre is no PHP =20 > installed in the build environment? > > Maybe I should undef PTHREADS ??? (just guessing now). > > - -- Dale I'm wondering if it's possible to have 3 builds of PHP 5.2.3 sapi =20 modules (one for each version of apache) that share common =20 configuration and loadable module. I ask because it makes no sense to have 3 full separate installations =20= using different repositories to achieve the same configuration under =20 the various versions of apache. Perhaps forcing pthreads off might be a solution because I've been =20 unable to get pthreads working under apache 1.3.33 and other than =20 manually setting it in the php_config.h file I haven't been able to =20 enable it during configure. I tried with --with-tsrm-pthreads but it didn't seem to do anything =20 differently and I diffed the two build directories and no build =20 related files showed any differences (excluded config.log, =20 config.nice etc...) and editing php_config.h and setting "#define =20 PTHREADS 1" manually and adding "-DZTS" to the CFLAGS_CLEAN flags but =20= it didn't seem to have any affect either (or none that I could tell) =20 however setting it under apache 2 seemed to make a difference but =20 under apache 2 it seemed to enable PTHREADS itself. It still leaves me with symbol issues and I haven't found any =20 documentation on the php site that touches on the topic let alone =20 reveals a solution. - -- BuildSmart -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFGzjc90hzWbkf0eKgRAiwaAKDd9BNWOKq4fdCI7A1KuGpYwBhK1QCglneW xzgqMjj075BtEYma9yteDqk=3D =3DdJMZ -----END PGP SIGNATURE-----