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