public inbox for [email protected]  
help / color / mirror / Atom feed
community docs config issue
28+ messages / 5 participants
[nested] [flat]

* community docs config issue
@ 2006-04-19 00:46 Robert Treat <[email protected]>
  0 siblings, 0 replies; 28+ messages in thread

From: Robert Treat @ 2006-04-19 00:46 UTC (permalink / raw)
  To: pgsql-www

Tried to diff Guido's change for the community docs and got the following in 
my pop-up:

Title:
Articles
Annotation:
Full text:
xdiff not supported by this PHP

this is on wwwmaster in the admin section.  
-- 
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL




^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
@ 2006-04-19 06:54 Magnus Hagander <[email protected]>
  2006-04-19 13:03 ` Re: community docs config issue Robert Treat <[email protected]>
  0 siblings, 1 reply; 28+ messages in thread

From: Magnus Hagander @ 2006-04-19 06:54 UTC (permalink / raw)
  To: Robert Treat <[email protected]>; pgsql-www

> Tried to diff Guido's change for the community docs and got 
> the following in my pop-up:
> 
> Title:
> Articles
> Annotation:
> Full text:
> xdiff not supported by this PHP
> 
> this is on wwwmaster in the admin section.  

Yeah. xdiff coredumps on FreeBSD, seems not to be fully supported there.
If you're up for fixing it, please do ;-) But that's the xdiff C code,
not PHP code.

//Magnus



^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
  2006-04-19 06:54 Re: community docs config issue Magnus Hagander <[email protected]>
@ 2006-04-19 13:03 ` Robert Treat <[email protected]>
  0 siblings, 0 replies; 28+ messages in thread

From: Robert Treat @ 2006-04-19 13:03 UTC (permalink / raw)
  To: Magnus Hagander <[email protected]>; +Cc: pgsql-www

On Wednesday 19 April 2006 02:54, Magnus Hagander wrote:
> > Tried to diff Guido's change for the community docs and got
> > the following in my pop-up:
> >
> > Title:
> > Articles
> > Annotation:
> > Full text:
> > xdiff not supported by this PHP
> >
> > this is on wwwmaster in the admin section.
>
> Yeah. xdiff coredumps on FreeBSD, seems not to be fully supported there.
> If you're up for fixing it, please do ;-) But that's the xdiff C code,
> not PHP code.
>

Wow, that is not good (tm).  ISTM xdiff is pretty critical to this thing 
working... I'm really not in a position to fix it, anyone else want to step 
up?  What is our other alternative... swap wwmaster to one of the linux 
boxen? 

-- 
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL




^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
@ 2006-04-19 13:23 Dave Page <[email protected]>
  2006-04-19 13:41 ` Re: community docs config issue Larry Rosenman <[email protected]>
  0 siblings, 1 reply; 28+ messages in thread

From: Dave Page @ 2006-04-19 13:23 UTC (permalink / raw)
  To: Robert Treat <[email protected]>; Magnus Hagander <[email protected]>; +Cc: pgsql-www

 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Robert Treat
> Sent: 19 April 2006 14:03
> To: Magnus Hagander
> Cc: [email protected]
> Subject: Re: [pgsql-www] community docs config issue
> 
> On Wednesday 19 April 2006 02:54, Magnus Hagander wrote:
> > > Tried to diff Guido's change for the community docs and got the 
> > > following in my pop-up:
> > >
> > > Title:
> > > Articles
> > > Annotation:
> > > Full text:
> > > xdiff not supported by this PHP
> > >
> > > this is on wwwmaster in the admin section.
> >
> > Yeah. xdiff coredumps on FreeBSD, seems not to be fully 
> supported there.
> > If you're up for fixing it, please do ;-) But that's the 
> xdiff C code, 
> > not PHP code.
> >
> 
> Wow, that is not good (tm).  ISTM xdiff is pretty critical to 
> this thing working... I'm really not in a position to fix it, 
> anyone else want to step up?  What is our other 
> alternative... swap wwmaster to one of the linux boxen? 

The problem is that wwwmaster is sufficiently complex that we
specifically want it in a freebsd VM so Marc can host it elsewhere in a
hurry if required.

Regards, Dave



^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
  2006-04-19 13:23 Re: community docs config issue Dave Page <[email protected]>
@ 2006-04-19 13:41 ` Larry Rosenman <[email protected]>
  0 siblings, 0 replies; 28+ messages in thread

From: Larry Rosenman @ 2006-04-19 13:41 UTC (permalink / raw)
  To: 'Dave Page' <[email protected]>; 'Robert Treat' <[email protected]>; 'Magnus Hagander' <[email protected]>; +Cc: pgsql-www

Dave Page wrote:
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of Robert Treat
>> Sent: 19 April 2006 14:03 To: Magnus Hagander
>> Cc: [email protected]
>> Subject: Re: [pgsql-www] community docs config issue
>> 
>> On Wednesday 19 April 2006 02:54, Magnus Hagander wrote:
>>>> Tried to diff Guido's change for the community docs and got the
>>>> following in my pop-up: 
>>>> 
>>>> Title:
>>>> Articles
>>>> Annotation:
>>>> Full text:
>>>> xdiff not supported by this PHP
>>>> 
>>>> this is on wwwmaster in the admin section.
>>> 
>>> Yeah. xdiff coredumps on FreeBSD, seems not to be fully supported
>>> there. If you're up for fixing it, please do ;-) But that's the
>>> xdiff C code, not PHP code. 
>>> 
>> 
>> Wow, that is not good (tm).  ISTM xdiff is pretty critical to
>> this thing working... I'm really not in a position to fix it,
>> anyone else want to step up?  What is our other
>> alternative... swap wwmaster to one of the linux boxen?
> 
> The problem is that wwwmaster is sufficiently complex that we
> specifically want it in a freebsd VM so Marc can host it elsewhere in
> a hurry if required.
> 
> Regards, Dave
> 
> ---------------------------(end of
> broadcast)--------------------------- TIP 9: In versions below 8.0,
>        the planner will ignore your desire to choose an index scan if
>        your joining column's datatypes do not match

what does it core with? SIGSEGV?

Is wwwmaster a 64-bit box?

Where is xdiff source?  I have my own FreeBSD/amd64 6.1-RC box that I can
possibly fix it.

LER


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: [email protected]
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893





^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
@ 2006-04-19 13:47 Magnus Hagander <[email protected]>
  2006-04-19 13:49 ` Re: community docs config issue Larry Rosenman <[email protected]>
  2006-04-19 16:16 ` Re: community docs config issue Marc G. Fournier <[email protected]>
  0 siblings, 2 replies; 28+ messages in thread

From: Magnus Hagander @ 2006-04-19 13:47 UTC (permalink / raw)
  To: Larry Rosenman <[email protected]>; Dave Page <[email protected]>; Robert Treat <[email protected]>; +Cc: pgsql-www

> >>>> Tried to diff Guido's change for the community docs and got the 
> >>>> following in my pop-up:
> >>>> 
> >>>> Title:
> >>>> Articles
> >>>> Annotation:
> >>>> Full text:
> >>>> xdiff not supported by this PHP
> >>>> 
> >>>> this is on wwwmaster in the admin section.
> >>> 
> >>> Yeah. xdiff coredumps on FreeBSD, seems not to be fully supported 
> >>> there. If you're up for fixing it, please do ;-) But that's the 
> >>> xdiff C code, not PHP code.
> >>> 
> >> 
> >> Wow, that is not good (tm).  ISTM xdiff is pretty critical to this 
> >> thing working... I'm really not in a position to fix it, 
> anyone else 
> >> want to step up?  What is our other alternative... swap 
> wwmaster to 
> >> one of the linux boxen?
> > 
> > The problem is that wwwmaster is sufficiently complex that we 
> > specifically want it in a freebsd VM so Marc can host it 
> elsewhere in 
> > a hurry if required.
> > 
> > Regards, Dave
> > 
> what does it core with? SIGSEGV?

Yes. It kills the apache process.


> Is wwwmaster a 64-bit box?

No. It's a 32-bit VM.


> Where is xdiff source?  I have my own FreeBSD/amd64 6.1-RC 
> box that I can possibly fix it.

http://pecl.php.net/package/xdiff

Note that we're not on amd64, just plain i386. It's also not freebsd
6.1, but I can't remember exactly which versino :-)

//Magnus



^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
  2006-04-19 13:47 Re: community docs config issue Magnus Hagander <[email protected]>
@ 2006-04-19 13:49 ` Larry Rosenman <[email protected]>
  1 sibling, 0 replies; 28+ messages in thread

From: Larry Rosenman @ 2006-04-19 13:49 UTC (permalink / raw)
  To: 'Magnus Hagander' <[email protected]>; 'Dave Page' <[email protected]>; 'Robert Treat' <[email protected]>; +Cc: pgsql-www

Magnus Hagander wrote:
>>>>>> Tried to diff Guido's change for the community docs and got the
>>>>>> following in my pop-up: 
>>>>>> 
>>>>>> Title:
>>>>>> Articles
>>>>>> Annotation:
>>>>>> Full text:
>>>>>> xdiff not supported by this PHP
>>>>>> 
>>>>>> this is on wwwmaster in the admin section.
>>>>> 
>>>>> Yeah. xdiff coredumps on FreeBSD, seems not to be fully supported
>>>>> there. If you're up for fixing it, please do ;-) But that's the
>>>>> xdiff C code, not PHP code. 
>>>>> 
>>>> 
>>>> Wow, that is not good (tm).  ISTM xdiff is pretty critical to this
>>>> thing working... I'm really not in a position to fix it, anyone
>>>> else want to step up?  What is our other alternative... swap
>>>> wwmaster to one of the linux boxen?
>>> 
>>> The problem is that wwwmaster is sufficiently complex that we
>>> specifically want it in a freebsd VM so Marc can host it elsewhere
>>> in a hurry if required. 
>>> 
>>> Regards, Dave
>>> 
>> what does it core with? SIGSEGV?
> 
> Yes. It kills the apache process.
> 
> 
>> Is wwwmaster a 64-bit box?
> 
> No. It's a 32-bit VM.
> 
> 
>> Where is xdiff source?  I have my own FreeBSD/amd64 6.1-RC
>> box that I can possibly fix it.
> 
> http://pecl.php.net/package/xdiff
> 
> Note that we're not on amd64, just plain i386. It's also not freebsd
> 6.1, but I can't remember exactly which versino :-)
> 
> //Magnus



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: [email protected]
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893




^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
  2006-04-19 13:47 Re: community docs config issue Magnus Hagander <[email protected]>
@ 2006-04-19 16:16 ` Marc G. Fournier <[email protected]>
  2006-04-19 16:17   ` Re: community docs config issue Larry Rosenman <[email protected]>
  1 sibling, 1 reply; 28+ messages in thread

From: Marc G. Fournier @ 2006-04-19 16:16 UTC (permalink / raw)
  To: Magnus Hagander <[email protected]>; +Cc: Larry Rosenman <[email protected]>; Dave Page <[email protected]>; Robert Treat <[email protected]>; pgsql-www


Can you tell me how I can test it once installed?  I've got some time 
today and can look into why its crashing apache ...

On Wed, 19 Apr 2006, Magnus Hagander wrote:

>>>>>> Tried to diff Guido's change for the community docs and got the
>>>>>> following in my pop-up:
>>>>>>
>>>>>> Title:
>>>>>> Articles
>>>>>> Annotation:
>>>>>> Full text:
>>>>>> xdiff not supported by this PHP
>>>>>>
>>>>>> this is on wwwmaster in the admin section.
>>>>>
>>>>> Yeah. xdiff coredumps on FreeBSD, seems not to be fully supported
>>>>> there. If you're up for fixing it, please do ;-) But that's the
>>>>> xdiff C code, not PHP code.
>>>>>
>>>>
>>>> Wow, that is not good (tm).  ISTM xdiff is pretty critical to this
>>>> thing working... I'm really not in a position to fix it,
>> anyone else
>>>> want to step up?  What is our other alternative... swap
>> wwmaster to
>>>> one of the linux boxen?
>>>
>>> The problem is that wwwmaster is sufficiently complex that we
>>> specifically want it in a freebsd VM so Marc can host it
>> elsewhere in
>>> a hurry if required.
>>>
>>> Regards, Dave
>>>
>> what does it core with? SIGSEGV?
>
> Yes. It kills the apache process.
>
>
>> Is wwwmaster a 64-bit box?
>
> No. It's a 32-bit VM.
>
>
>> Where is xdiff source?  I have my own FreeBSD/amd64 6.1-RC
>> box that I can possibly fix it.
>
> http://pecl.php.net/package/xdiff
>
> Note that we're not on amd64, just plain i386. It's also not freebsd
> 6.1, but I can't remember exactly which versino :-)
>
> //Magnus
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
>               http://www.postgresql.org/docs/faq
>

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: [email protected]           Yahoo!: yscrappy              ICQ: 7615664



^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
  2006-04-19 13:47 Re: community docs config issue Magnus Hagander <[email protected]>
  2006-04-19 16:16 ` Re: community docs config issue Marc G. Fournier <[email protected]>
@ 2006-04-19 16:17   ` Larry Rosenman <[email protected]>
  2006-04-19 16:23     ` Re: community docs config issue Marc G. Fournier <[email protected]>
  0 siblings, 1 reply; 28+ messages in thread

From: Larry Rosenman @ 2006-04-19 16:17 UTC (permalink / raw)
  To: 'Marc G. Fournier' <[email protected]>; 'Magnus Hagander' <[email protected]>; +Cc: 'Dave Page' <[email protected]>; 'Robert Treat' <[email protected]>; pgsql-www

Marc G. Fournier wrote:
> Can you tell me how I can test it once installed?  I've got some time
> today and can look into why its crashing apache ...

Already fixed :) 

See my followup.




-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: [email protected]
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893




^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
  2006-04-19 13:47 Re: community docs config issue Magnus Hagander <[email protected]>
  2006-04-19 16:16 ` Re: community docs config issue Marc G. Fournier <[email protected]>
  2006-04-19 16:17   ` Re: community docs config issue Larry Rosenman <[email protected]>
@ 2006-04-19 16:23     ` Marc G. Fournier <[email protected]>
  0 siblings, 0 replies; 28+ messages in thread

From: Marc G. Fournier @ 2006-04-19 16:23 UTC (permalink / raw)
  To: Larry Rosenman <[email protected]>; +Cc: 'Marc G. Fournier' <[email protected]>; 'Magnus Hagander' <[email protected]>; 'Dave Page' <[email protected]>; 'Robert Treat' <[email protected]>; pgsql-www

On Wed, 19 Apr 2006, Larry Rosenman wrote:

> Marc G. Fournier wrote:
>> Can you tell me how I can test it once installed?  I've got some time
>> today and can look into why its crashing apache ...
>
> Already fixed :)

Yup, noticed :)  Thx

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: [email protected]           Yahoo!: yscrappy              ICQ: 7615664




^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
@ 2006-04-19 13:54 Dave Page <[email protected]>
  2006-04-19 14:00 ` Re: community docs config issue Larry Rosenman <[email protected]>
  0 siblings, 1 reply; 28+ messages in thread

From: Dave Page @ 2006-04-19 13:54 UTC (permalink / raw)
  To: Magnus Hagander <[email protected]>; Larry Rosenman <[email protected]>; Robert Treat <[email protected]>; +Cc: pgsql-www

 

> -----Original Message-----
> From: Magnus Hagander [mailto:[email protected]] 
> Sent: 19 April 2006 14:48
> To: Larry Rosenman; Dave Page; Robert Treat
> Cc: [email protected]
> Subject: RE: [pgsql-www] community docs config issue
> 
> > Where is xdiff source?  I have my own FreeBSD/amd64 6.1-RC 
> box that I 
> > can possibly fix it.
> 
> http://pecl.php.net/package/xdiff
> 
> Note that we're not on amd64, just plain i386. It's also not 
> freebsd 6.1, but I can't remember exactly which versino :-)

A simple test:

wwwmaster# more foo.php
<?php
  $a = "Hello";
  $b = "Goodbye";
  echo xdiff_string_diff($a, $b, 1);
?>

wwwmaster# php foo.php
Segmentation fault (core dumped)

:-(

Regards, Dave



^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
  2006-04-19 13:54 Re: community docs config issue Dave Page <[email protected]>
@ 2006-04-19 14:00 ` Larry Rosenman <[email protected]>
  0 siblings, 0 replies; 28+ messages in thread

From: Larry Rosenman @ 2006-04-19 14:00 UTC (permalink / raw)
  To: 'Dave Page' <[email protected]>; 'Magnus Hagander' <[email protected]>; 'Robert Treat' <[email protected]>; +Cc: pgsql-www

Dave Page wrote:
>> -----Original Message-----
>> From: Magnus Hagander [mailto:[email protected]]
>> Sent: 19 April 2006 14:48
>> To: Larry Rosenman; Dave Page; Robert Treat
>> Cc: [email protected]
>> Subject: RE: [pgsql-www] community docs config issue
>> 
>>> Where is xdiff source?  I have my own FreeBSD/amd64 6.1-RC box that
>>> I can possibly fix it.
>> 
>> http://pecl.php.net/package/xdiff
>> 
>> Note that we're not on amd64, just plain i386. It's also not
>> freebsd 6.1, but I can't remember exactly which versino :-)
> 
> A simple test:
> 
> wwwmaster# more foo.php
> <?php
>   $a = "Hello";
>   $b = "Goodbye";
>   echo xdiff_string_diff($a, $b, 1);
>> 
> 
> wwwmaster# php foo.php
> Segmentation fault (core dumped)
> 
> :-(
> 
> Regards, Dave
do we know what version of pecl-xdiff is installed?

I don't see a FreeBSD port for it either :(

What PHP are we using on wwwmaster?




-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: [email protected]
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893





^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
@ 2006-04-19 14:11 Magnus Hagander <[email protected]>
  0 siblings, 0 replies; 28+ messages in thread

From: Magnus Hagander @ 2006-04-19 14:11 UTC (permalink / raw)
  To: Larry Rosenman <[email protected]>; Dave Page <[email protected]>; Robert Treat <[email protected]>; +Cc: pgsql-www

> >>> Where is xdiff source?  I have my own FreeBSD/amd64 
> 6.1-RC box that 
> >>> I can possibly fix it.
> >> 
> >> http://pecl.php.net/package/xdiff
> >> 
> >> Note that we're not on amd64, just plain i386. It's also 
> not freebsd 
> >> 6.1, but I can't remember exactly which versino :-)
> > 
> > A simple test:
> > 
> > wwwmaster# more foo.php
> > <?php
> >   $a = "Hello";
> >   $b = "Goodbye";
> >   echo xdiff_string_diff($a, $b, 1);
> >> 
> > 
> > wwwmaster# php foo.php
> > Segmentation fault (core dumped)
> > 
> > :-(
> > 
> > Regards, Dave
> do we know what version of pecl-xdiff is installed?

xdiff-1.4.


> I don't see a FreeBSD port for it either :(

Nope.


> What PHP are we using on wwwmaster?

PHP 5.1.2 (cli) (built: Feb 22 2006 17:52:45)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

//Magnus




^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
@ 2006-04-19 14:33 Dave Page <[email protected]>
  2006-04-19 14:35 ` Re: community docs config issue Larry Rosenman <[email protected]>
  0 siblings, 1 reply; 28+ messages in thread

From: Dave Page @ 2006-04-19 14:33 UTC (permalink / raw)
  To: Magnus Hagander <[email protected]>; Larry Rosenman <[email protected]>; Robert Treat <[email protected]>; +Cc: pgsql-www

 

> -----Original Message-----
> From: Magnus Hagander [mailto:[email protected]] 
> Sent: 19 April 2006 15:12
> To: Larry Rosenman; Dave Page; Robert Treat
> Cc: [email protected]
> Subject: RE: [pgsql-www] community docs config issue
> 
> > do we know what version of pecl-xdiff is installed?
> 
> xdiff-1.4.

And it's not in Pecl, despite what the PHP docs say - you have to get
the tarball and build it by hand,

Regards, Dave.



^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
  2006-04-19 14:33 Re: community docs config issue Dave Page <[email protected]>
@ 2006-04-19 14:35 ` Larry Rosenman <[email protected]>
  0 siblings, 0 replies; 28+ messages in thread

From: Larry Rosenman @ 2006-04-19 14:35 UTC (permalink / raw)
  To: 'Dave Page' <[email protected]>; 'Magnus Hagander' <[email protected]>; 'Robert Treat' <[email protected]>; +Cc: pgsql-www

Dave Page wrote:
>> -----Original Message-----
>> From: Magnus Hagander [mailto:[email protected]]
>> Sent: 19 April 2006 15:12
>> To: Larry Rosenman; Dave Page; Robert Treat
>> Cc: [email protected]
>> Subject: RE: [pgsql-www] community docs config issue
>> 
>>> do we know what version of pecl-xdiff is installed?
>> 
>> xdiff-1.4.
> 
> And it's not in Pecl, despite what the PHP docs say - you have to get
> the tarball and build it by hand,
> 
> Regards, Dave.

I just tried it with the latest stuff on my amd64 it dies in a 
_efree() call from:
#4  0x00000008073d58a5 in load_into_mm_file (buffer=0x9cef98 "Hello",
size=5,
    dest=0x7fffffffce90) at /home/ler/xdiff-pecl/xdiff-1.4/xdiff.c:629
629             ptr = xdl_mmfile_writeallocate(dest, (long) size);
(gdb) print size
$2 = 5

I'm not a PECL programmer, so I'm at a loss. 

It appears (from function names ONLY) to possibly
be a mmap difference type thing :(

LER


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: [email protected]
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893





^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
@ 2006-04-19 14:46 Dave Page <[email protected]>
  2006-04-19 15:52 ` Re: community docs config issue Larry Rosenman <[email protected]>
  0 siblings, 1 reply; 28+ messages in thread

From: Dave Page @ 2006-04-19 14:46 UTC (permalink / raw)
  To: Larry Rosenman <[email protected]>; Magnus Hagander <[email protected]>; Robert Treat <[email protected]>; +Cc: pgsql-www

 

> -----Original Message-----
> From: Larry Rosenman [mailto:[email protected]] 
> Sent: 19 April 2006 15:41
> To: Dave Page; 'Magnus Hagander'; 'Robert Treat'
> Cc: [email protected]
> Subject: RE: [pgsql-www] community docs config issue
> 
> Dave Page wrote:
> >> -----Original Message-----
> >> From: Magnus Hagander [mailto:[email protected]]
> >> Sent: 19 April 2006 15:12
> >> To: Larry Rosenman; Dave Page; Robert Treat
> >> Cc: [email protected]
> >> Subject: RE: [pgsql-www] community docs config issue
> >> 
> >>> do we know what version of pecl-xdiff is installed?
> >> 
> >> xdiff-1.4.
> > 
> > And it's not in Pecl, despite what the PHP docs say - you 
> have to get 
> > the tarball and build it by hand,
> > 
> > Regards, Dave.
> 
> I filed a bug with the PECL folks (#7422), and offered to 
> give access to my box.

Thanks Larry - I see it is actually there now. For months it was
missing, despite being advertised as being there :-(

Regards, Dave.



^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
  2006-04-19 14:46 Re: community docs config issue Dave Page <[email protected]>
@ 2006-04-19 15:52 ` Larry Rosenman <[email protected]>
  0 siblings, 0 replies; 28+ messages in thread

From: Larry Rosenman @ 2006-04-19 15:52 UTC (permalink / raw)
  To: 'Dave Page' <[email protected]>; 'Magnus Hagander' <[email protected]>; 'Robert Treat' <[email protected]>; +Cc: pgsql-www

Dave Page wrote:
>> -----Original Message-----
>> From: Larry Rosenman [mailto:[email protected]]
>> Sent: 19 April 2006 15:41
>> To: Dave Page; 'Magnus Hagander'; 'Robert Treat'
>> Cc: [email protected]
>> Subject: RE: [pgsql-www] community docs config issue
>> 
>> Dave Page wrote:
>>>> -----Original Message-----
>>>> From: Magnus Hagander [mailto:[email protected]]
>>>> Sent: 19 April 2006 15:12
>>>> To: Larry Rosenman; Dave Page; Robert Treat
>>>> Cc: [email protected]
>>>> Subject: RE: [pgsql-www] community docs config issue
>>>> 
>>>>> do we know what version of pecl-xdiff is installed?
>>>> 
>>>> xdiff-1.4.
>>> 
>>> And it's not in Pecl, despite what the PHP docs say - you have to
>>> get the tarball and build it by hand,
>>> 
>>> Regards, Dave.
>> 
>> I filed a bug with the PECL folks (#7422), and offered to
>> give access to my box.
> 
> Thanks Larry - I see it is actually there now. For months it was
> missing, despite being advertised as being there :-(
> 

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.

LER

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: [email protected]
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893





^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
@ 2006-04-19 16:12 Dave Page <[email protected]>
  2006-04-19 18:03 ` Re: community docs config issue Larry Rosenman <[email protected]>
  0 siblings, 1 reply; 28+ messages in thread

From: Dave Page @ 2006-04-19 16:12 UTC (permalink / raw)
  To: Larry Rosenman <[email protected]>; Magnus Hagander <[email protected]>; Robert Treat <[email protected]>; +Cc: pgsql-www

 

> -----Original Message-----
> From: Larry Rosenman [mailto:[email protected]] 
> Sent: 19 April 2006 16:52
> To: Dave Page; 'Magnus Hagander'; 'Robert Treat'
> Cc: [email protected]
> 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.

Regards, Dave



^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
  2006-04-19 16:12 Re: community docs config issue Dave Page <[email protected]>
@ 2006-04-19 18:03 ` Larry Rosenman <[email protected]>
  2006-04-19 19:34   ` Re: community docs config issue Larry Rosenman <[email protected]>
  0 siblings, 1 reply; 28+ messages in thread

From: Larry Rosenman @ 2006-04-19 18:03 UTC (permalink / raw)
  To: 'Dave Page' <[email protected]>; 'Magnus Hagander' <[email protected]>; 'Robert Treat' <[email protected]>; +Cc: pgsql-www

Dave Page wrote:
>> -----Original Message-----
>> From: Larry Rosenman [mailto:[email protected]]
>> Sent: 19 April 2006 16:52
>> To: Dave Page; 'Magnus Hagander'; 'Robert Treat'
>> Cc: [email protected]
>> 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: [email protected]
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893




^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
  2006-04-19 16:12 Re: community docs config issue Dave Page <[email protected]>
  2006-04-19 18:03 ` Re: community docs config issue Larry Rosenman <[email protected]>
@ 2006-04-19 19:34   ` Larry Rosenman <[email protected]>
  2006-04-20 17:30     ` Re: community docs config issue Larry Rosenman <[email protected]>
  0 siblings, 1 reply; 28+ messages in thread

From: Larry Rosenman @ 2006-04-19 19:34 UTC (permalink / raw)
  To: 'Dave Page' <[email protected]>; 'Magnus Hagander' <[email protected]>; 'Robert Treat' <[email protected]>; +Cc: pgsql-www

Larry Rosenman wrote:
> Dave Page wrote:
>>> -----Original Message-----
>>> From: Larry Rosenman [mailto:[email protected]]
>>> Sent: 19 April 2006 16:52
>>> To: Dave Page; 'Magnus Hagander'; 'Robert Treat'
>>> Cc: [email protected]
>>> 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: [email protected]
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893




^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
  2006-04-19 16:12 Re: community docs config issue Dave Page <[email protected]>
  2006-04-19 18:03 ` Re: community docs config issue Larry Rosenman <[email protected]>
  2006-04-19 19:34   ` Re: community docs config issue Larry Rosenman <[email protected]>
@ 2006-04-20 17:30     ` Larry Rosenman <[email protected]>
  0 siblings, 0 replies; 28+ messages in thread

From: Larry Rosenman @ 2006-04-20 17:30 UTC (permalink / raw)
  To: 'Dave Page' <[email protected]>; 'Magnus Hagander' <[email protected]>; 'Robert Treat' <[email protected]>; +Cc: pgsql-www

Larry Rosenman wrote:

> 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

Marc committed the 2 PR's for me.  

LER


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: [email protected]
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893





^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
@ 2006-04-19 16:17 Magnus Hagander <[email protected]>
  0 siblings, 0 replies; 28+ messages in thread

From: Magnus Hagander @ 2006-04-19 16:17 UTC (permalink / raw)
  To: Dave Page <[email protected]>; Larry Rosenman <[email protected]>; Robert Treat <[email protected]>; +Cc: pgsql-www

> > 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.

Yes. It's in comdoc-edit.php. Busy right now, can't fix, will in a
couple of others if nobody else has.

//Magnus




^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
@ 2006-04-20 18:55 Dave Page <[email protected]>
  2006-04-20 19:04 ` Re: community docs config issue Larry Rosenman <[email protected]>
  2006-04-20 19:33 ` Re: community docs config issue Marc G. Fournier <[email protected]>
  0 siblings, 2 replies; 28+ messages in thread

From: Dave Page @ 2006-04-20 18:55 UTC (permalink / raw)
  To: Larry Rosenman <[email protected]>; Magnus Hagander <[email protected]>; Robert Treat <[email protected]>; +Cc: pgsql-www; Marc G. Fournier <[email protected]>

 

> -----Original Message-----
> From: Larry Rosenman [mailto:[email protected]] 
> Sent: 20 April 2006 18:31
> To: Dave Page; 'Magnus Hagander'; 'Robert Treat'
> Cc: [email protected]
> Subject: RE: [pgsql-www] community docs config issue
> 
> Larry Rosenman wrote:
> 
> > 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
> 
> Marc committed the 2 PR's for me.  

PR = Port Request/Review/???

Anyhoo, Marc; how do we get the new ports onto wwwmaster?

Regards, Dave.



^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
  2006-04-20 18:55 Re: community docs config issue Dave Page <[email protected]>
@ 2006-04-20 19:04 ` Larry Rosenman <[email protected]>
  1 sibling, 0 replies; 28+ messages in thread

From: Larry Rosenman @ 2006-04-20 19:04 UTC (permalink / raw)
  To: 'Dave Page' <[email protected]>; 'Magnus Hagander' <[email protected]>; 'Robert Treat' <[email protected]>; +Cc: pgsql-www; 'Marc G. Fournier' <[email protected]>

Dave Page wrote:
>> -----Original Message-----
>> From: Larry Rosenman [mailto:[email protected]]
>> Sent: 20 April 2006 18:31
>> To: Dave Page; 'Magnus Hagander'; 'Robert Treat'
>> Cc: [email protected]
>> Subject: RE: [pgsql-www] community docs config issue
>> 
>> Larry Rosenman wrote:
>> 
>>> 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
>> 
>> Marc committed the 2 PR's for me.
> 
> PR = Port Request/Review/???
> 
> Anyhoo, Marc; how do we get the new ports onto wwwmaster?
> 
> Regards, Dave.

PR= Problem Report (Bug/change requests).

LER


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: [email protected]
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893




^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
  2006-04-20 18:55 Re: community docs config issue Dave Page <[email protected]>
@ 2006-04-20 19:33 ` Marc G. Fournier <[email protected]>
  1 sibling, 0 replies; 28+ messages in thread

From: Marc G. Fournier @ 2006-04-20 19:33 UTC (permalink / raw)
  To: Dave Page <[email protected]>; +Cc: Larry Rosenman <[email protected]>; Magnus Hagander <[email protected]>; Robert Treat <[email protected]>; pgsql-www; Marc G. Fournier <[email protected]>

On Thu, 20 Apr 2006, Dave Page wrote:

>
>
>> -----Original Message-----
>> From: Larry Rosenman [mailto:[email protected]]
>> Sent: 20 April 2006 18:31
>> To: Dave Page; 'Magnus Hagander'; 'Robert Treat'
>> Cc: [email protected]
>> Subject: RE: [pgsql-www] community docs config issue
>>
>> Larry Rosenman wrote:
>>
>>> 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
>>
>> Marc committed the 2 PR's for me.
>
> PR = Port Request/Review/???
>
> Anyhoo, Marc; how do we get the new ports onto wwwmaster?

ports updates nightly at 5am ... just did a forced run now though, so you 
should be able to do the install from ports for both of libxdiff and 
pecl-xdiff now ...

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: [email protected]           Yahoo!: yscrappy              ICQ: 7615664




^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
@ 2006-04-20 19:42 Dave Page <[email protected]>
  2006-04-20 19:44 ` Re: community docs config issue Larry Rosenman <[email protected]>
  0 siblings, 1 reply; 28+ messages in thread

From: Dave Page @ 2006-04-20 19:42 UTC (permalink / raw)
  To: Marc G. Fournier <[email protected]>; +Cc: Larry Rosenman <[email protected]>; Magnus Hagander <[email protected]>; Robert Treat <[email protected]>; pgsql-www

 

> -----Original Message-----
> From: Marc G. Fournier [mailto:[email protected]] 
> Sent: 20 April 2006 20:33
> To: Dave Page
> Cc: Larry Rosenman; Magnus Hagander; Robert Treat; 
> [email protected]; Marc G. Fournier
> Subject: RE: [pgsql-www] community docs config issue
> 
> > Anyhoo, Marc; how do we get the new ports onto wwwmaster?
> 
> ports updates nightly at 5am ... just did a forced run now 
> though, so you should be able to do the install from ports 
> for both of libxdiff and pecl-xdiff now ...

Both installed, old source trees removed from /usr/local/src. Thanks
guys.

Regards, Dave.



^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
  2006-04-20 19:42 Re: community docs config issue Dave Page <[email protected]>
@ 2006-04-20 19:44 ` Larry Rosenman <[email protected]>
  0 siblings, 0 replies; 28+ messages in thread

From: Larry Rosenman @ 2006-04-20 19:44 UTC (permalink / raw)
  To: 'Dave Page' <[email protected]>; 'Marc G. Fournier' <[email protected]>; +Cc: 'Magnus Hagander' <[email protected]>; 'Robert Treat' <[email protected]>; pgsql-www

Dave Page wrote:
>> -----Original Message-----
>> From: Marc G. Fournier [mailto:[email protected]] Sent: 20
>> April 2006 20:33 To: Dave Page
>> Cc: Larry Rosenman; Magnus Hagander; Robert Treat;
>> [email protected]; Marc G. Fournier
>> Subject: RE: [pgsql-www] community docs config issue
>> 
>>> Anyhoo, Marc; how do we get the new ports onto wwwmaster?
>> 
>> ports updates nightly at 5am ... just did a forced run now
>> though, so you should be able to do the install from ports
>> for both of libxdiff and pecl-xdiff now ...
> 
> Both installed, old source trees removed from /usr/local/src. Thanks
> guys.
> 
> Regards, Dave.

don't forget to bounce apache so the new extension takes...

LER


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: [email protected]
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893





^ permalink  raw  reply  [nested|flat] 28+ messages in thread

* Re: community docs config issue
@ 2006-04-20 20:42 Dave Page <[email protected]>
  0 siblings, 0 replies; 28+ messages in thread

From: Dave Page @ 2006-04-20 20:42 UTC (permalink / raw)
  To: Larry Rosenman <[email protected]>; Marc G. Fournier <[email protected]>; +Cc: Magnus Hagander <[email protected]>; Robert Treat <[email protected]>; pgsql-www

 

> -----Original Message-----
> From: Larry Rosenman [mailto:[email protected]] 
> Sent: 20 April 2006 20:44
> To: Dave Page; 'Marc G. Fournier'
> Cc: 'Magnus Hagander'; 'Robert Treat'; [email protected]
> Subject: RE: [pgsql-www] community docs config issue
> 
> Dave Page wrote:
> >> -----Original Message-----
> >> From: Marc G. Fournier [mailto:[email protected]] 
> Sent: 20 April 
> >> 2006 20:33 To: Dave Page
> >> Cc: Larry Rosenman; Magnus Hagander; Robert Treat; 
> >> [email protected]; Marc G. Fournier
> >> Subject: RE: [pgsql-www] community docs config issue
> >> 
> >>> Anyhoo, Marc; how do we get the new ports onto wwwmaster?
> >> 
> >> ports updates nightly at 5am ... just did a forced run now 
> though, so 
> >> you should be able to do the install from ports for both 
> of libxdiff 
> >> and pecl-xdiff now ...
> > 
> > Both installed, old source trees removed from 
> /usr/local/src. Thanks 
> > guys.
> > 
> > Regards, Dave.
> 
> don't forget to bounce apache so the new extension takes...

Whoops - thanks. Done now.

Regards, Dave.




^ permalink  raw  reply  [nested|flat] 28+ messages in thread


end of thread, other threads:[~2006-04-20 20:42 UTC | newest]

Thread overview: 28+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-04-19 00:46 community docs config issue Robert Treat <[email protected]>
2006-04-19 06:54 Re: community docs config issue Magnus Hagander <[email protected]>
2006-04-19 13:03 ` Robert Treat <[email protected]>
2006-04-19 13:23 Re: community docs config issue Dave Page <[email protected]>
2006-04-19 13:41 ` Larry Rosenman <[email protected]>
2006-04-19 13:47 Re: community docs config issue Magnus Hagander <[email protected]>
2006-04-19 13:49 ` Larry Rosenman <[email protected]>
2006-04-19 16:16 ` Marc G. Fournier <[email protected]>
2006-04-19 16:17   ` Larry Rosenman <[email protected]>
2006-04-19 16:23     ` Marc G. Fournier <[email protected]>
2006-04-19 13:54 Re: community docs config issue Dave Page <[email protected]>
2006-04-19 14:00 ` Larry Rosenman <[email protected]>
2006-04-19 14:11 Re: community docs config issue Magnus Hagander <[email protected]>
2006-04-19 14:33 Re: community docs config issue Dave Page <[email protected]>
2006-04-19 14:35 ` Larry Rosenman <[email protected]>
2006-04-19 14:46 Re: community docs config issue Dave Page <[email protected]>
2006-04-19 15:52 ` Larry Rosenman <[email protected]>
2006-04-19 16:12 Re: community docs config issue Dave Page <[email protected]>
2006-04-19 18:03 ` Larry Rosenman <[email protected]>
2006-04-19 19:34   ` Larry Rosenman <[email protected]>
2006-04-20 17:30     ` Larry Rosenman <[email protected]>
2006-04-19 16:17 Re: community docs config issue Magnus Hagander <[email protected]>
2006-04-20 18:55 Re: community docs config issue Dave Page <[email protected]>
2006-04-20 19:04 ` Larry Rosenman <[email protected]>
2006-04-20 19:33 ` Marc G. Fournier <[email protected]>
2006-04-20 19:42 Re: community docs config issue Dave Page <[email protected]>
2006-04-20 19:44 ` Larry Rosenman <[email protected]>
2006-04-20 20:42 Re: community docs config issue Dave Page <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox