X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (mx2.hub.org [200.46.204.254]) by postgresql.org (Postfix) with ESMTP id F1C3711F6794 for ; Wed, 19 Apr 2006 16:35:47 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: -2.563 X-Spam-Level: X-Spam-Status: No, score=-2.563 required=5 tests=[AWL=0.036, BAYES_00=-2.599] Received: from postgresql.org ([200.46.204.71]) by localhost (mx2.hub.org [200.46.204.254]) (amavisd-new, port 10024) with ESMTP id FhIdwCvWMXQZ for ; Wed, 19 Apr 2006 16:35:24 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) by postgresql.org (Postfix) with ESMTP id F156011F600C for ; Wed, 19 Apr 2006 16:35:22 -0300 (ADT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lerami; d=lerctr.org; b=L1kGZ3o+aGhrNhm/IlCySyRrTlLWA6jBdtbCT74wUw1hEo8fvWYCNkVyoh2hlZ01+jP1ZKgP4O0wIgDaczn8tstOCC8zbtrZmm5mHTPMyWBWnvPlV+XL/XgqoSg8AZDwWRhWO95iKtX7YTk4eRMeiDz9LF1i3h246dbV7JGfAas=; Received: from 64-132-13-2.gen.twtelecom.net ([64.132.13.2]:56808 helo=LROSENMAC8010P) by thebighonker.lerctr.org with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FWISK-000AJK-8i; Wed, 19 Apr 2006 14:35:17 -0500 From: "Larry Rosenman" To: "'Dave Page'" , "'Magnus Hagander'" , "'Robert Treat'" Cc: Subject: Re: community docs config issue Date: Wed, 19 Apr 2006 14:34:42 -0500 Message-ID: <050301c663e8$4e667da0$0202fea9@aus.pervasive.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcZjsafPIHWfn7A3QVOH4R647kdQaQAAnSdAAACwtrAAADINMAAAQrTwAAA1RmAAAGiEEAAAuwtwAABK+aAAACJPUAACS09AAACDIRAABBWgsAADNHcA In-Reply-To: <033401c663db$8a730820$0202fea9@aus.pervasive.com> X-LERCTR-Spam-Score: -4.2 (----) X-LERCTR-Spam-Report: (-4.2 points, 5.0 required) ALL_TRUSTED=-1.8 BAYES_00=-2.599 DK_POLICY_SIGNALL=0.001 TW_BX=0.077 TW_IB=0.077 TW_PG=0.077 DomainKey-Status: no signature X-Archive-Number: 200604/118 X-Sequence-Number: 9894 Larry Rosenman wrote: > Dave Page wrote: >>> -----Original Message----- >>> From: Larry Rosenman [mailto:ler@lerctr.org] >>> Sent: 19 April 2006 16:52 >>> To: Dave Page; 'Magnus Hagander'; 'Robert Treat' >>> Cc: pgsql-www@postgresql.org >>> Subject: RE: [pgsql-www] community docs config issue >>> >>> >>> I think(!) I have a fix: >>> >>> 1) make distclean for xdiff-pecl >>> 2) ./configure >>> 3) edit config.h and CHANGE #undef HAVE_XDL_ALLOCATOR_PRIV to >>> #define HAVE_XDL_ALLOCATOR_PRIV 1 >>> 4) recompile and install >>> >>> this seems to fix it on my system. >>> >>> The configure script apparently doesn't test for this >>> correctly, and we try to free when we are actually trying to malloc. >> >> Oh, nice work Larry :-) >> >> Fix confirmed on wwwmaster - module reinstalled, apache restarted. >> >> The community docs diff function still doesn't work though - did you >> disable it Magnus? I've confirmed the existance of xdiff in the >> server through a phpinfo() call in a test page, as well as on the >> command line. >> > > I'm also in the process of doing 2 other things: > 1) adopt the libxdiff FreeBSD port (so I can fix the -fPIC issue on > amd64 (or have it build a shared lib) > 2) creating a textproc/pecl-xdiff port that uses the above, and does > the fix we did here (appends the #define, but same effect). > > LER The PRs are in the FreeBSD GNATS. 96062 is the libxdiff one 96065 is the pecl-xdiff one. Once they get committed, I'd suggest using those, so we don't get burned by forgetting... LER -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893