Error compiling beta3
Stefano B.
stefano.bonnin at COMAI.TO
Tue May 31 00:16:23 PDT 2005
Hi,
when I compile the beta3 I get the following error:
gcc -fPIC -O2 -fPIC -Wall -DUSE_PHP_REGEX -DCOMPILE_DL=1 -DPHP4 -DUSE_WMS_LYR -DUSE_WFS_LYR -DUSE_WMS_SVR -DUSE_POSTGIS -DUSE_GDAL -DUSE_OGR -DUSE_PROJ -DUSE_EPPL -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_ICONV -I/usr/src/smit/mapserver-4.6.0-beta3 -I/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/.. -I/usr/local/include -I/usr/local/pgsql8/include -I/usr/local/include -I/usr/src/smit/mapserver-4.6.0-beta3/../proj-4.4.9//src -I/usr/local/include -I/usr/local/include -I/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4/ -I/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//dl -I/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//main -I/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//Zend -I/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//include -I/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//TSRM -I/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/.. -c -o /usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.o /usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:38: error: `REG_OKAY' undeclared here (not in a function)
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:38: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:38: error: (near initialization for `rerrs[0].code')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:38: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:38: error: (near initialization for `rerrs[0]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:39: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:39: error: (near initialization for `rerrs[1]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:40: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:40: error: (near initialization for `rerrs[2]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:41: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:41: error: (near initialization for `rerrs[3]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:42: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:42: error: (near initialization for `rerrs[4]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:43: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:43: error: (near initialization for `rerrs[5]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:44: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:44: error: (near initialization for `rerrs[6]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:45: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:45: error: (near initialization for `rerrs[7]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:46: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:46: error: (near initialization for `rerrs[8]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:47: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:47: error: (near initialization for `rerrs[9]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:48: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:48: error: (near initialization for `rerrs[10]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:49: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:49: error: (near initialization for `rerrs[11]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:50: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:50: error: (near initialization for `rerrs[12]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:51: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:51: error: (near initialization for `rerrs[13]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:52: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:52: error: (near initialization for `rerrs[14]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:53: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:53: error: (near initialization for `rerrs[15]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:54: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:54: error: (near initialization for `rerrs[16]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:55: error: initializer element is not constant
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:55: error: (near initialization for `rerrs[17]')
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:64: error: syntax error before "php_regerror"
/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.c:65: warning: return type defaults to `int'
gmake[1]: *** [/usr/src/smit/mapserver-4.6.0-beta3/../php-5.0.4//regex/regerror.o] Error 1
gmake[1]: Leaving directory `/usr/src/smit/mapserver-4.6.0-beta3/mapscript/php3'
I'm compiling it on FreeBsd OS.
Thanks.
RedS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050531/8b6c2741/attachment.htm>
More information about the MapServer-users
mailing list