[mapserver-users] Mapserver compile error

Ivan Paoluzzi tesimap at hotmail.com
Fri Oct 4 10:23:56 PDT 2002


Hi all,
I want to compile MS 3.5 (on Win XP) with PHP 4.0.6 but I have this error 
message:

       cl /nologo /Zi -I ../gd-gif -I../tiff/libtiff -I../libjpeg/src  
-I../proj/src   -I..\php-4.0.6\regex -DPHP_NO_ALIASES 
-I..\gdal/ogr/ogrsf_frmts -I..\gdal/ogr -I..\gdal/ogr/../port   
-DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -
DNEED_STRNCASECMP   -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF 
-DUSE_JPEG -DHAS_GD_TF -DUSE_GD_FT -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG 
-DUSE_GD_WBMP -DUSE_LIBTTF -DGD_HAS_GDIMAGEGIFPTR -DUSE_OGR -DUSE_WMS    /c 
mapbits.c /Fomapbits.obj
mapbits.c
map.h(41) : fatal error C1083: Cannot open include file: 'regex.h': No such 
file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

This is the section of PHP in my mapserver makefile:
#PHP_REGEX=..\php-3.0.14\regex
PHP_REGEX=..\php-4.0.6\regex
#PHP_REGEX=..\php-4.1.2\regex
REGEX_OBJ=$(PHP_REGEX)\regcomp.obj $(PHP_REGEX)\regerror.obj \
          $(PHP_REGEX)\regexec.obj $(PHP_REGEX)\regfree.obj
REGEX_INC=-I$(PHP_REGEX) -DPHP_NO_ALIASES

Any idea?
Regards
Ivan





_________________________________________________________________
MSN Foto è il sistema più facile per condividere e stampare foto online: 
http://photos.msn.it




More information about the MapServer-users mailing list