<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Every time I try to build I do a make distclean wich is supposed to be<br>more cleaner than a make clean when available.<br>
here is the ouptut<br><br>spssogl92t:/usr/src/mapserver-5.6.0-beta5/mapscript/php3 # make clean<br>rm -f *.so *.o perl.out<br>spssogl92t:/usr/src/mapserver-5.6.0-beta5/mapscript/php3 # make<br>gcc -fPIC -g -fPIC -Wall -DUSE_PHP_REGEX -DCOMPILE_DL=1 -DPHP4<br>
<div class="im" style="color: rgb(80, 0, 80); ">-DUSE_WMS_LYR -DUSE_CURL -DUSE_WMS_SVR -DUSE_ORACLESPATIAL<br>-DUSE_POSTGIS -DUSE_GDAL -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL -DUSE_AGG<br> -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT<br>
-DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS<br></div>-DUSE_ICONV -DUSE_ZLIB -I/usr/src/mapserver-5.6.0-beta5<br><div class="im" style="color: rgb(80, 0, 80); ">-I/opt/oracle/product/10.2/db_1//rdbms/public<br>
-I/opt/oracle/product/10.2/db_1//rdbms/demo<br>-I/opt/oracle/product/10.2/db_1//rdbms/public -I/usr/include/pgsql<br></div>-I/usr/include -I/usr/include/freetype2 -I/usr/include<br><div class="im" style="color: rgb(80, 0, 80); ">
-I/usr/include/php5 -I/usr/include/php5/dl -I/usr/include/php5/main<br>-I/usr/include/php5/Zend -I/usr/include/php5/include<br>-I/usr/include/php5/TSRM -I/usr/include/php5/ext/ereg/ -c -o<br>php_mapscript_util.o php_mapscript_util.c<br>
</div>gcc -fPIC -g -fPIC -Wall -DUSE_PHP_REGEX -DCOMPILE_DL=1 -DPHP4<br><div class="im" style="color: rgb(80, 0, 80); ">-DUSE_WMS_LYR -DUSE_CURL -DUSE_WMS_SVR -DUSE_ORACLESPATIAL<br>-DUSE_POSTGIS -DUSE_GDAL -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL -DUSE_AGG<br>
-DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT<br>-DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS<br></div>-DUSE_ICONV -DUSE_ZLIB -I/usr/src/mapserver-5.6.0-beta5<br><div class="im" style="color: rgb(80, 0, 80); ">
-I/opt/oracle/product/10.2/db_1//rdbms/public<br>-I/opt/oracle/product/10.2/db_1//rdbms/demo<br>-I/opt/oracle/product/10.2/db_1//rdbms/public -I/usr/include/pgsql<br></div>-I/usr/include -I/usr/include/freetype2 -I/usr/include<br>
<div class="im" style="color: rgb(80, 0, 80); ">-I/usr/include/php5 -I/usr/include/php5/dl -I/usr/include/php5/main<br>-I/usr/include/php5/Zend -I/usr/include/php5/include<br>-I/usr/include/php5/TSRM -I/usr/include/php5/ext/ereg/ -c -o<br>
php_mapscript.o php_mapscript.c<br>php_mapscript.c: In function ‘php3_ms_map_removeLayer’:<br></div>php_mapscript.c:6217: warning: cast from pointer to integer of different<br>size<br><div class="im" style="color: rgb(80, 0, 80); ">
php_mapscript.c: In function ‘_phpms_build_layer_object’:<br></div>php_mapscript.c:6749: warning: cast from pointer to integer of different<br>size<br>gcc -fPIC -g -fPIC -Wall -DUSE_PHP_REGEX -DCOMPILE_DL=1 -DPHP4<br><div class="im" style="color: rgb(80, 0, 80); ">
-DUSE_WMS_LYR -DUSE_CURL -DUSE_WMS_SVR -DUSE_ORACLESPATIAL<br>-DUSE_POSTGIS -DUSE_GDAL -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL -DUSE_AGG<br> -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT<br>-DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS<br>
</div>-DUSE_ICONV -DUSE_ZLIB -I/usr/src/mapserver-5.6.0-beta5<br><div class="im" style="color: rgb(80, 0, 80); ">-I/opt/oracle/product/10.2/db_1//rdbms/public<br>-I/opt/oracle/product/10.2/db_1//rdbms/demo<br>-I/opt/oracle/product/10.2/db_1//rdbms/public -I/usr/include/pgsql<br>
</div>-I/usr/include -I/usr/include/freetype2 -I/usr/include<br><div class="im" style="color: rgb(80, 0, 80); ">-I/usr/include/php5 -I/usr/include/php5/dl -I/usr/include/php5/main<br>-I/usr/include/php5/Zend -I/usr/include/php5/include<br>
-I/usr/include/php5/TSRM -I/usr/include/php5/ext/ereg/ -c -o mapscript_i.o<br>mapscript_i.c<br></div>gcc -fPIC -g -fPIC -Wall -DUSE_PHP_REGEX -DCOMPILE_DL=1 -DPHP4<br><div class="im" style="color: rgb(80, 0, 80); ">-DUSE_WMS_LYR -DUSE_CURL -DUSE_WMS_SVR -DUSE_ORACLESPATIAL<br>
-DUSE_POSTGIS -DUSE_GDAL -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL -DUSE_AGG<br> -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT<br>-DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS<br></div>
-DUSE_ICONV -DUSE_ZLIB -I/usr/src/mapserver-5.6.0-beta5<br><div class="im" style="color: rgb(80, 0, 80); ">-I/opt/oracle/product/10.2/db_1//rdbms/public<br>-I/opt/oracle/product/10.2/db_1//rdbms/demo<br>-I/opt/oracle/product/10.2/db_1//rdbms/public -I/usr/include/pgsql<br>
</div>-I/usr/include -I/usr/include/freetype2 -I/usr/include<br><div class="im" style="color: rgb(80, 0, 80); ">-I/usr/include/php5 -I/usr/include/php5/dl -I/usr/include/php5/main<br>-I/usr/include/php5/Zend -I/usr/include/php5/include<br>
-I/usr/include/php5/TSRM -I/usr/include/php5/ext/ereg/ -c -o php_regex.o<br>php_regex.c<br>/bin/true -o php_mapscript.so php_mapscript_util.o php_mapscript.o<br></div>mapscript_i.o php_regex.o -L/usr/src/mapserver-5.6.0-beta5 -lmapserver<br>
<div class="im" style="color: rgb(80, 0, 80); ">-lcurl -L/opt/oracle/product/10.2/db_1//lib -lclntsh -L/usr/lib64 -lpq<br></div>-lpgport -lxslt -lxml2 -lpam -lssl -lcrypto -lkrb5 -lcom_err -lgssapi_krb5<br>-lz -lreadline -lcrypt -ldl -lm -ljpeg -lfreetype -lz -lpng -lz -lXpm<br>
<div class="im" style="color: rgb(80, 0, 80); ">-lX11 -L/usr/lib64 -lgdal -L/opt/oracle/product/10.2/db_1//lib -lclntsh<br>-lnnz10 -L/usr/lib -lexpat -L/usr/lib64/ecwj2/lib -lNCSEcw -lNCSCnet<br>-lNCSUtil -ljpeg -lpng -lnetcdf -L/usr/include/libcfitsio0<br>
-L/usr/include/libcfitsio0/lib -lcfitsio -lz -lm -lrt -ldl -lcurl<br></div>-lpthread -lproj -L/usr/lib -lgd -ljpeg -lfreetype -lz -lpng -lz -lXpm<br><div class="im" style="color: rgb(80, 0, 80); ">-lX11 -lc -lz -lm -lstdc++<br>
</div>spssogl92t:/usr/src/mapserver-5.6.0-beta5/mapscript/php3 #ls<br>Makefile Makefile.vc README.WIN32 mapscript_i.c nmake.opt<br>php_mapscript.h php_mapscript_util.c php_mapscript_util.o php_regex.c<br>Makefile.in README examples mapscript_i.o php_mapscript.c<br>
php_mapscript.o php_mapscript_util.h php_proj.c php_regex.o<br><br>no php_mapscript.so and no error</span><br><br><div>MartinO</div><div><br><div class="gmail_quote">2009/11/23 Daniel Morissette <span dir="ltr"><<a href="mailto:dmorissette@mapgears.com">dmorissette@mapgears.com</a>></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">
Even with the mapserv-5.6-beta5, there's still no php_mapscript.so after the compilation. I notice one thing, the directory<br>
"/usr/include/php5/dl" (which I see appear while the make command is running) is missing on my server. <br>
Could it be the problem?.<br>
<br>
Here's my ./configure command:<br>
<br>
</blockquote>
<br></div>
[...]<br>
<br>
Everything seems okay in the configure output. Perhaps look for error messages in the 'make' output. php_mapscript.so is compiled and linked almost at the very end of the build.<br>
<br>
Also, make sure you 'make clean' before doing 'make' everytime you change your configure options.<div><div></div><div class="h5"><br>
<br>
Daniel<br>
-- <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>
</div></div></blockquote></div><br></div>