<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Even with the mapserv-5.6-beta5, there&#39;s still no php_mapscript.so after the compilation.  I notice one thing, the directory</span><div>
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">&quot;/usr/include/php5/dl&quot; (which I see appear while the make command is running) is missing on my server.  </span></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Could it be the problem?.</span></div>
<div><div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Here&#39;s my ./configure command:</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br>configure: checking for PHP/MapScript module options...<br>user disabled shared library support.<br>
checking for location of config.h or php_config.h...<br>/usr/include/php5/main/php_config.h<br>checking whether we have PHP3 or PHP4... -DPHP4<br>checking whether we should use PHP&#39;s regex... yes<br>       found regex.h - building PHP MapScript with PHP&#39;s bundled regex<br>
       PHP/MapScript module configured.<br>checking if --enable-runpath requested... no<br>checking if --with-java-include-os-name specified... no, autodetected<br>linux<br>configure: creating ./config.status<br>config.status: creating Makefile<br>
config.status: creating mapscript/php3/Makefile<br>config.status: creating mapscript/java/Makefile<br>config.status: creating mapscript/csharp/Makefile<br><br>MapServer is now configured for<br><br> -------------- Compiler Info -------------<br>
 C compiler:                gcc -g  -fPIC -Wall<br> C++ compiler:              g++ -g  -fPIC -Wall<br> Debug:                     -g<br> Generic NINT:<br><br> -------------- Renderer Settings ---------<br> OpenGL support:<br>
 zlib support:              -DUSE_ZLIB<br> png support:<br> palette rgba png support:<br> jpeg support:<br> iconv support:             -DUSE_ICONV<br> AGG support:               -DUSE_AGG<br> Cairo (SVG,PDF) support:<br> Ming(flash) support:<br>
 PDFLib support:<br><br> -------------- Support Libraries ---------<br> Proj.4 support:            -DUSE_PROJ<br> Libxml2 support:<br> FriBidi support:<br> Curl support:              -DUSE_CURL<br> FastCGI support:<br> Threading support:         -DUSE_THREAD<br>
 GEOS support:<br><br> -------------- Data Format Drivers -------<br> native tiff support:<br> PostGIS support:           -DUSE_POSTGIS<br> EPPL7 support:             -DUSE_EPPL<br> ArcSDE support:<br> OGR support:<br> GDAL support:              -DUSE_GDAL<br>
 Oracle Spatial support:    -DUSE_ORACLESPATIAL<br><br> -------------- OGC Services --------------<br> WMS Server:                -DUSE_WMS_SVR<br> WMS Client:                -DUSE_WMS_LYR<br> WFS Server:<br> WFS Client:                -DUSE_WMS_LYR<br>
 WCS Server:<br> SOS Server:<br><br> -------------- MapScript -----------------<br> PHP MapScript:             yes<br><br><span class="Apple-style-span" style="border-collapse: separate; font-size: small;"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></span></span><div><div class="gmail_quote">2009/11/20 Daniel Morissette <span dir="ltr">&lt;<a href="mailto:dmorissette@mapgears.com">dmorissette@mapgears.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Martin Ouellet wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
We are unable to build php_mapscript.so.  We know that it&#39;s possible because someone maintain a php-mapserv package for<br>
opensuse.  We look in the needed of the package and everything seem to be there.<br>
<br>
Does someone have an idea why my php_mapscript.so doesn&#39;t build ?<br>
<br>
</blockquote>
<br></div>
[...]<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
php_mapscript.c: In function ‘php3_ms_img_pasteImage’:<br>
php_mapscript.c:6596: warning: implicit declaration of function<br>
‘php_gd_gdImageColorExact’<br>
php_mapscript.c:6600: warning: implicit declaration of function<br>
‘php_gd_gdImageColorTransparent’<br>
php_mapscript.c:6603: warning: implicit declaration of function<br>
‘php_gd_gdImageCopy’<br>
</blockquote>
<br>
<br></div>
Sounds like you bumped into the issue behind ticket #3117 which is fixed in the upcoming 5.6 release.<br>
<br>
You could either use the latest 5.6-beta5 source which includes the fix, or apply the patch to your local source tree. See<br>
<a href="http://trac.osgeo.org/mapserver/ticket/3117#comment:7" target="_blank">http://trac.osgeo.org/mapserver/ticket/3117#comment:7</a><br>
<br>
Daniel<br><font color="#888888">
-- <br>
Daniel Morissette<br>
<a href="http://www.mapgears.com/" target="_blank">http://www.mapgears.com/</a><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</font></blockquote></div><br></div></div></div></div>