Hi folks,<br><br>After a lot of different ways of configuring MapServer, I finally got MapServer and PHP/MapScript running without the errors I said below. How?<br>1. The configure command:<br> ./configure --disable-ignore-missing-data --enable-point-z-m --enable-debug
<span style="color: rgb(255, 0, 0);">--disable-coverage</span> --with-freetype --with-zlib --with-png --with-jpeg --with-xpm --with-gd --without-pdf --with-eppl --with-proj --with-threads --with-geos=/usr/local/bin/geos-config --with-ogr --with-gdal --without-tiff --with-postgis --with-mygis --without-oraclespatial --without-ming --with-wms --with-wfs --with-wcs --with-wmsclient --with-wfsclient --with-sos --with-curl-config=/usr/bin/curl-config --with-xml2-config=/usr/bin/xml2-config --without-fastcgi --with-httpd=/usr/sbin/httpd --with-php=/usr/include/php 2>&1 | tee
configure.log<br><br>2. And also two little hand-made modifications:<br>2.a) Makefile - at line 218 I removed "-fprofile-arcs -ftest-coverage " options<br>2.b) mapscript/php3/Makefile - at line 38 I removed "-fprofile-arcs -ftest-coverage " options
<br><br>I just didn't understand why these options was turned on if I set --disable-coverage with ./configure script.<br><br>regards,<br><br>Eduardo<br><br><div><span class="gmail_quote">On 10/30/06, <b class="gmail_sendername">
Eduardo Patto Kanegae</b> <<a href="mailto:epk.lists@gmail.com">epk.lists@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I built MapServer/MapScript 4.10.0 and php_mapscript.so was sucessfull<br>generated after make command.<br><br>CGI MapServer is working fine, but when I try dl("php_mapscript.so") I<br>got the message:
<br><br><br>Warning: dl() [function.dl]: Unable to load dynamic library<br>'/usr/lib/php/modules/php_mapscript.so' -<br>/usr/lib/php/modules/php_mapscript.so: undefined symbol:<br>__gcov_merge_add in /var/www/html/mapserver-samples/test1.php on line
<br>2<br><br><br>And another strange thing: when I run any binary command such as<br>shptree, tile4ms, msencrypt, etc...after the normal output messages, a<br>lot of lines of warnings appear, like this:<br>...<br>profiling:/usr/src/webmapit/mapserver-
4.10.0/mapserv.gcda:Cannot open<br>...<br><br>any suggestion?<br><br>best<br>--<br>Eduardo Patto Kanegae<br><a href="http://www.webmapit.com.br">http://www.webmapit.com.br</a><br></blockquote></div><br><br clear="all"><br>
-- <br>Eduardo Patto Kanegae<br><a href="http://www.webmapit.com.br">http://www.webmapit.com.br</a>