Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#1375 closed defect (fixed)

[PHP/MapScript] --enable-point-z-m cause segfault

Reported by: jlacroix Owned by: mapserverbugs
Priority: high Milestone:
Component: Build Problems Version: 4.5
Severity: normal Keywords:
Cc:

Description

On Mon, 6 Jun 2005, Nicol Hermann wrote:
> Hi List,
> i 'am trying to build a map from the scratch using php-mapscript and the
> lastest cvs version.
> Whenever i add a new layer with
> $Layer = ms_newLayerObj($map);
> I receive a segmentation fault.
> 
> gdb returns the following.
> Is this a bug?


On Tue, 7 Jun 2005, Nicol Hermann wrote:
> Hi Bill, Daniel, and all the others how replied
> 
> i could isolate my problem to a single config option.
> When i remove the flag:
> 
> '--enable-point-z-m'

Change History (2)

comment:1 by jlacroix, 19 years ago

Resolution: fixed
Status: newclosed
It appeared that the USE_POINT_Z_M flag was not carried to the Mapscript
makefile. I fixed this by including this flag in ALL_ENABLE (used by
php/mapscript) and adding the flag to the java/mapscript makefile. I did not saw
other mapscript makefile that need that flag, but it really possible that I'm wrong.

Marking as FIXED.

comment:2 by mapserver@…, 19 years ago

I tried the patch of Bill and the current cvs version with Julien's fix. Both
fixes the problem. Thank you very much for your help
Note: See TracTickets for help on using tickets.