[mapserver-users] installation debian lenny mapscript problem

julian andres montes galvis one1 at tutopia.com
Mon Mar 2 19:32:48 PST 2009


I found the solution

the first command with the  parameter  --with-php in the end , dont 
work, the second  command  with the parameter --with-php in the start 
works  fine

./configure --with-ogr --with-gdal --with-httpd=/usr/sbin/apache2 
--enable-debug --with-curl-config=/usr/bin/curl-config --with-proj=/usr/ 
--with-tiff --with-gd=/usr/local/ --with-jpeg --with-freetype=/usr/ 
--with-threads --with-wcs --with-postgis  --with-libiconv=/usr  
--with-libiconv=/usr --with-xml2-config=/usr/bin/xml2-config --with-sos 
--with-wfsclient --with-wmsclient --with-wfs 
-with-fastcgi=/usr/local/lib/ --with-agg -with-php=/usr/include/php5/

./configure -with-php=/usr/include/php5/ --with-ogr --with-gdal 
--with-httpd=/usr/sbin/apache2 --enable-debug 
--with-curl-config=/usr/bin/curl-config --with-proj=/usr/ --with-tiff 
--with-gd=/usr/local/ --with-jpeg --with-freetype=/usr/ --with-threads 
--with-wcs --with-postgis  --with-libiconv=/usr  --with-libiconv=/usr 
--with-xml2-config=/usr/bin/xml2-config --with-sos --with-wfsclient 
--with-wmsclient --with-wfs -with-fastcgi=/usr/local/lib/ --with-agg

Julian


julian andres montes galvis wrote:
> Hi ,
>
> my distro its a debian lenny, php5, apache 2.2.9, server x86, when I 
> install mapserver 5.4.0-beta2(even 5.2) with the option --with-agg 
> -with-php=/usr/include/php5/
> i have the error bellow, if erase this option, the installation it's 
> succesfull.
>
> php_mapscript_util.c:32:22: error: maperror.h: No such file or directory
> php_mapscript_util.c: In function ‘_phpms_report_mapserver_error’:
> php_mapscript_util.c:44: error: ‘errorObj’ undeclared (first use in 
> this function)
> php_mapscript_util.c:44: error: (Each undeclared identifier is 
> reported only once
> php_mapscript_util.c:44: error: for each function it appears in.)
> php_mapscript_util.c:44: error: ‘ms_error’ undeclared (first use in 
> this function)
> php_mapscript_util.c:46: warning: implicit declaration of function 
> ‘msGetErrorObj’
> php_mapscript_util.c:48: error: ‘MS_NOERR’ undeclared (first use in 
> this function)
> make[1]: *** [php_mapscript_util.o] Error 1
>
> Any Ideas ?
>
> thanks in advance
> Julian Montes
> pd: sorry but the english
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>




More information about the MapServer-users mailing list