[mapserver-users] php-mapscript compilation problem on OpenSuse 11.1/11.2
Martin Ouellet
geomartino at gmail.com
Mon Nov 23 12:28:33 PST 2009
Every time I try to build I do a make distclean wich is supposed to be
more cleaner than a make clean when available.
here is the ouptut
spssogl92t:/usr/src/mapserver-5.6.0-beta5/mapscript/php3 # make clean
rm -f *.so *.o perl.out
spssogl92t:/usr/src/mapserver-5.6.0-beta5/mapscript/php3 # make
gcc -fPIC -g -fPIC -Wall -DUSE_PHP_REGEX -DCOMPILE_DL=1 -DPHP4
-DUSE_WMS_LYR -DUSE_CURL -DUSE_WMS_SVR -DUSE_ORACLESPATIAL
-DUSE_POSTGIS -DUSE_GDAL -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL -DUSE_AGG
-DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
-DUSE_ICONV -DUSE_ZLIB -I/usr/src/mapserver-5.6.0-beta5
-I/opt/oracle/product/10.2/db_1//rdbms/public
-I/opt/oracle/product/10.2/db_1//rdbms/demo
-I/opt/oracle/product/10.2/db_1//rdbms/public -I/usr/include/pgsql
-I/usr/include -I/usr/include/freetype2 -I/usr/include
-I/usr/include/php5 -I/usr/include/php5/dl -I/usr/include/php5/main
-I/usr/include/php5/Zend -I/usr/include/php5/include
-I/usr/include/php5/TSRM -I/usr/include/php5/ext/ereg/ -c -o
php_mapscript_util.o php_mapscript_util.c
gcc -fPIC -g -fPIC -Wall -DUSE_PHP_REGEX -DCOMPILE_DL=1 -DPHP4
-DUSE_WMS_LYR -DUSE_CURL -DUSE_WMS_SVR -DUSE_ORACLESPATIAL
-DUSE_POSTGIS -DUSE_GDAL -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL -DUSE_AGG
-DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
-DUSE_ICONV -DUSE_ZLIB -I/usr/src/mapserver-5.6.0-beta5
-I/opt/oracle/product/10.2/db_1//rdbms/public
-I/opt/oracle/product/10.2/db_1//rdbms/demo
-I/opt/oracle/product/10.2/db_1//rdbms/public -I/usr/include/pgsql
-I/usr/include -I/usr/include/freetype2 -I/usr/include
-I/usr/include/php5 -I/usr/include/php5/dl -I/usr/include/php5/main
-I/usr/include/php5/Zend -I/usr/include/php5/include
-I/usr/include/php5/TSRM -I/usr/include/php5/ext/ereg/ -c -o
php_mapscript.o php_mapscript.c
php_mapscript.c: In function ‘php3_ms_map_removeLayer’:
php_mapscript.c:6217: warning: cast from pointer to integer of different
size
php_mapscript.c: In function ‘_phpms_build_layer_object’:
php_mapscript.c:6749: warning: cast from pointer to integer of different
size
gcc -fPIC -g -fPIC -Wall -DUSE_PHP_REGEX -DCOMPILE_DL=1 -DPHP4
-DUSE_WMS_LYR -DUSE_CURL -DUSE_WMS_SVR -DUSE_ORACLESPATIAL
-DUSE_POSTGIS -DUSE_GDAL -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL -DUSE_AGG
-DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
-DUSE_ICONV -DUSE_ZLIB -I/usr/src/mapserver-5.6.0-beta5
-I/opt/oracle/product/10.2/db_1//rdbms/public
-I/opt/oracle/product/10.2/db_1//rdbms/demo
-I/opt/oracle/product/10.2/db_1//rdbms/public -I/usr/include/pgsql
-I/usr/include -I/usr/include/freetype2 -I/usr/include
-I/usr/include/php5 -I/usr/include/php5/dl -I/usr/include/php5/main
-I/usr/include/php5/Zend -I/usr/include/php5/include
-I/usr/include/php5/TSRM -I/usr/include/php5/ext/ereg/ -c -o mapscript_i.o
mapscript_i.c
gcc -fPIC -g -fPIC -Wall -DUSE_PHP_REGEX -DCOMPILE_DL=1 -DPHP4
-DUSE_WMS_LYR -DUSE_CURL -DUSE_WMS_SVR -DUSE_ORACLESPATIAL
-DUSE_POSTGIS -DUSE_GDAL -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL -DUSE_AGG
-DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
-DUSE_ICONV -DUSE_ZLIB -I/usr/src/mapserver-5.6.0-beta5
-I/opt/oracle/product/10.2/db_1//rdbms/public
-I/opt/oracle/product/10.2/db_1//rdbms/demo
-I/opt/oracle/product/10.2/db_1//rdbms/public -I/usr/include/pgsql
-I/usr/include -I/usr/include/freetype2 -I/usr/include
-I/usr/include/php5 -I/usr/include/php5/dl -I/usr/include/php5/main
-I/usr/include/php5/Zend -I/usr/include/php5/include
-I/usr/include/php5/TSRM -I/usr/include/php5/ext/ereg/ -c -o php_regex.o
php_regex.c
/bin/true -o php_mapscript.so php_mapscript_util.o php_mapscript.o
mapscript_i.o php_regex.o -L/usr/src/mapserver-5.6.0-beta5 -lmapserver
-lcurl -L/opt/oracle/product/10.2/db_1//lib -lclntsh -L/usr/lib64 -lpq
-lpgport -lxslt -lxml2 -lpam -lssl -lcrypto -lkrb5 -lcom_err -lgssapi_krb5
-lz -lreadline -lcrypt -ldl -lm -ljpeg -lfreetype -lz -lpng -lz -lXpm
-lX11 -L/usr/lib64 -lgdal -L/opt/oracle/product/10.2/db_1//lib -lclntsh
-lnnz10 -L/usr/lib -lexpat -L/usr/lib64/ecwj2/lib -lNCSEcw -lNCSCnet
-lNCSUtil -ljpeg -lpng -lnetcdf -L/usr/include/libcfitsio0
-L/usr/include/libcfitsio0/lib -lcfitsio -lz -lm -lrt -ldl -lcurl
-lpthread -lproj -L/usr/lib -lgd -ljpeg -lfreetype -lz -lpng -lz -lXpm
-lX11 -lc -lz -lm -lstdc++
spssogl92t:/usr/src/mapserver-5.6.0-beta5/mapscript/php3 #ls
Makefile Makefile.vc README.WIN32 mapscript_i.c nmake.opt
php_mapscript.h php_mapscript_util.c php_mapscript_util.o php_regex.c
Makefile.in README examples mapscript_i.o php_mapscript.c
php_mapscript.o php_mapscript_util.h php_proj.c php_regex.o
no php_mapscript.so and no error
MartinO
2009/11/23 Daniel Morissette <dmorissette at mapgears.com>
> Martin Ouellet wrote:
>
>> Even with the mapserv-5.6-beta5, there's still no php_mapscript.so after
>> the compilation. I notice one thing, the directory
>> "/usr/include/php5/dl" (which I see appear while the make command is
>> running) is missing on my server.
>> Could it be the problem?.
>>
>> Here's my ./configure command:
>>
>>
> [...]
>
> 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.
>
> Also, make sure you 'make clean' before doing 'make' everytime you change
> your configure options.
>
>
> Daniel
> --
> Daniel Morissette
> http://www.mapgears.com/
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091123/8c84c265/attachment.htm>
More information about the MapServer-users
mailing list