Yewondwossen,

Thanks for the help...however compiling with 0.2a doesn't seem to resolve the issue. With 0.2a, I find first that I have to point to the compiled source folder, rather than the install location - is that normal? After successfully compiling, I'm then faced with the same issue as before - the php_mapscript.so that is produced will not load in PHP, although the .so module appears to compile fine.

Are there any other possible explanations?

Thanks again,
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



Reply via email to