Re: community docs config issue

From: "Larry Rosenman" <ler(at)lerctr(dot)org>
To: "'Dave Page'" <dpage(at)vale-housing(dot)co(dot)uk>, "'Magnus Hagander'" <mha(at)sollentuna(dot)net>, "'Robert Treat'" <xzilla(at)users(dot)sourceforge(dot)net>
Cc: <pgsql-www(at)postgresql(dot)org>
Subject: Re: community docs config issue
Date: 2006-04-19 18:03:19
Message-ID: 033401c663db$8a730820$0202fea9@aus.pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Dave Page wrote:
>> -----Original Message-----
>> From: Larry Rosenman [mailto:ler(at)lerctr(dot)org]
>> Sent: 19 April 2006 16:52
>> To: Dave Page; 'Magnus Hagander'; 'Robert Treat'
>> Cc: pgsql-www(at)postgresql(dot)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

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 512-248-2683 E-Mail: ler(at)lerctr(dot)org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Derek M. Rodner 2006-04-19 18:57:10 PostgreSQL Site Change
Previous Message Marc G. Fournier 2006-04-19 16:23:57 Re: community docs config issue