[mapserver-users] php-mapscript compilation problem on OpenSuse 11.1/11.2

Daniel Morissette dmorissette at mapgears.com
Fri Nov 20 16:55:47 EST 2009


Martin Ouellet wrote:
> 
> We are unable to build php_mapscript.so.  We know that it's possible 
> because someone maintain a php-mapserv package for
> opensuse.  We look in the needed of the package and everything seem to 
> be there.
> 
> Does someone have an idea why my php_mapscript.so doesn't build ?
> 

[...]

> php_mapscript.c: In function ‘php3_ms_img_pasteImage’:
> php_mapscript.c:6596: warning: implicit declaration of function
> ‘php_gd_gdImageColorExact’
> php_mapscript.c:6600: warning: implicit declaration of function
> ‘php_gd_gdImageColorTransparent’
> php_mapscript.c:6603: warning: implicit declaration of function
> ‘php_gd_gdImageCopy’


Sounds like you bumped into the issue behind ticket #3117 which is fixed 
in the upcoming 5.6 release.

You could either use the latest 5.6-beta5 source which includes the fix, 
or apply the patch to your local source tree. See
http://trac.osgeo.org/mapserver/ticket/3117#comment:7

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/


More information about the mapserver-users mailing list