Flash vs. MapScript support

Mike Leahy mgleahy at GOLDEN.NET
Sun Dec 11 21:46:58 EST 2005


Hello again,

I guess I could have helped myself a long time ago by trying the stable 
version of MapServer.  I just tried 4.6.2, and it worked without any 
problems - I also downloaded a new nightly build and that worked as 
well.  Either something was unstable with the previous mapserver build I 
was working on (an earlier nightly release), or I had simply broken 
something on my own without realizing it.

Thanks again for the reply,
Mike

Yewondwossen Assefa wrote:
> Hi There,
> 
> You should use the 0.2a version. That is the version that is known to work.
> 
> later,
> 
> Mike Leahy wrote:
> 
>> Hello list,
>>
>> I'm putting this question forth again to see if it will catch anyone's
>> eye the second time around.  Basically, as described below, if I compile
>> MapServer on Linux with flash support, something happens to the
>> php_mapscript.so that prevents it from being loaded by PHP.  Would
>> anyone have any ideas of what I should look for to work around this?
>>
>> Regards,
>> Mike
>>
>> Mike Leahy wrote:
>>  
>>
>>> Hello list,
>>>
>>> I'm currently trying to get Mapserver 4.8.0-beta2 running with flash
>>> support.  I can get ming-0.3cvs complied and installed - the php_ming.so
>>> will load fine in a test php script I have.  However, if I compile
>>> MapServer with ming-0.3, I get a long list of warnings much like the
>>> following:
>>>
>>> mapswf.c:3012: warning: passing argument 2 of ‘SWFMovie_add’ from
>>> incompatible pointer type
>>>
>>> With ming-0.3beta1, this would then crash, but the cvs continues and
>>> compiles fine (I also added MING_ENABLED="-DUSE_MING_FLASH
>>> -DMING_VERSION_03" in configure.in - I'm not sure if that had any
>>> impact, as I don't remember exactly when I did it).
>>>
>>> Finally, when I put the new php_mapscript.so in my php/modules folder, I
>>> find that I am unable to load the module in php.
>>>
>>>
>>> If I repeat the whole process, and remove '--with-ming' from the
>>> mapserver ./configure command, the whole thing compiles fine, and
>>> php_mapscript.so loads fine.  What is it about ming/swf support that
>>> could break mapscript?  Am I okay to compile the CGI executables with
>>> SWF support, then recompile everything without swf and just use the php
>>> module with the swf-enabled executables?
>>>
>>> Thanks in advance for any help,
>>> Mike
>>>
>>>   
> 
> 



More information about the mapserver-users mailing list