Solaris AGG Compile...

Frank Warmerdam warmerdam at POBOX.COM
Thu Oct 18 15:41:28 PDT 2007


Nolte, Tim wrote:
> Well, I've still been unable to get a completely successful install of
> MapServer w/ AGG. Interestingly enough the 'mapserv' binary builds, my
> failure happens when trying to build 'php_mapscript.so'. I don't have
> time now to try and troubleshoot this some more. I'm just going to have
> to revert to using GD for the time being. It seems strange however that
> the 'mapserv' binary compiles but the php module doesn't, almost seems
> like a bug in the php module compile, who knows. If anyone else has some
> suggestions for a Solaris 10 compile for MapServer 5/AGG let me know.
> Thanks.

Tim,

This problem typically means that AGG was not built with -fPIC.  Object
code built without -fPIC cannot be used to build a shared library (like
php_mapscript.so) but will still work fine when linked statically into an
executable (like mapserv).  There is nothing that MapServer can do in it's
build system to solve this problem.  You just have to go back to AGG and
built it appropriately which it doesn't make terribly easy.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the MapServer-users mailing list