mapscript build error
Kralidis,Tom [Burlington]
Tom.Kralidis at EC.GC.CA
Mon Sep 12 07:38:23 EDT 2005
Anyone have any advice on this one? Note that I have compiled PHP with:
# ./configure --with-regex=system --enable-dbase
--with-jpeg=/usr/local/ --with-png=/usr/local/ --with-gd=/usr/local/
--with-apxs2=/usr/local/www/bin/apxs --with-zl
ib-dir=/usr/local/src/zlib/zlib-1.2.3/
--with-freetype-dir=/usr/local/src/freetype2/freetype-2.1.10
--with-pgsql=/usr/local/pgsql/bin/pg_config --enable-dbase --with
-pdflib
Thanks
..Tom
> -----Original Message-----
> From: UMN MapServer Developers List
> [mailto:MAPSERVER-DEV at LISTS.UMN.EDU] On Behalf Of
> Kralidis,Tom [Burlington]
> Sent: Thursday, 08 September, 2005 19:12
> To: MAPSERVER-DEV at LISTS.UMN.EDU
> Subject: [UMN_MAPSERVER-DEV] mapscript build error
>
>
> Hi,
>
> I just updated latest CVS (I update and build every couple of days or
> so) and found a problem when building php mapscript as part
> of my usual
> process:
>
> $./configure --enable-debug
> --with-freetype=/usr/local/bin/freetype-config
> --with-zlib=/usr/local/ --with-png=/usr/local/
> --with-jpeg=/usr/local/ --with-xpm =/usr/local/
> --with-gd=/usr/local --with-pdf=/usr/local --with-eppl
> --with-proj=/usr/local --with-ogr=/usr/local/bin/gdal-config
> --with-gdal=/usr/local/bin
> /gdal-config --without-tiff
> --with-postgis=/usr/local/pgsql/bin/pg_config --with-wfs
> --with-wcs --with-wmsclient --with-wfsclient
> --with-curl-config=/usr/l ocal/bin/curl-config
> --with-php=/usr/local/src/php/php-5.0.5
> $make
>
> [snip of everything that compiled fine before this]
>
> gcc -fPIC -g -O2 -fPIC -Wall -DUSE_PHP_REGEX -DCOMPILE_DL=1 -DPHP4
> -DENABLE_STDERR_DEBUG -DUSE_WMS_LYR -DUSE_WFS_LYR -DUSE_WCS_SVR
> -DUSE_WFS_SVR -DUSE_W
> MS_SVR -DUSE_POSTGIS -DUSE_GDAL -DUSE_OGR -DUSE_PROJ
> -DUSE_EPPL
> -DUSE_PDF -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG
> -DUSE_GD_WBMP -DUSE_GD_FT -DGD_H AS_GDIMAGEGIFPTR
> -DGD_HAS_GETBITMAPFONTS -DUSE_ICONV -DUSE_ZLIB
> -I/usr/local/src/mapserver/cvs/mapserver
> -I/usr/local/src/php/php-5.0.5/regex/.. -I/usr/l
> ocal/include -I/usr/local/pgsql/include -I/usr/local/include
> -I/usr/local/include -I/usr/local/include
> -I/usr/local/include -I/usr/local//include -
> I/usr/local/src/php/php-5.0.5
> -I/usr/local/src/php/php-5.0.5/dl
> -I/usr/local/src/php/php-5.0.5/main
> -I/usr/local/src/php/php-5.0.5/Zend
> -I/usr/local/src/ph
> p/php-5.0.5/include -I/usr/local/src/php/php-5.0.5/TSRM
> -I/usr/local/src/php/php-5.0.5/regex/.. -c -o
> /usr/local/src/php/php-5.0.5/regex/regerror.o /usr/l
> ocal/src/php/php-5.0.5/regex/regerror.c
> /usr/local/src/php/php-5.0.5/regex/regerror.c:38: error:
> `REG_OKAY' undeclared here (not in a function)
> /usr/local/src/php/php-5.0.5/regex/regerror.c:38: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:38: error:
> (near initialization for `rerrs[0].code')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:38: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:38: error:
> (near initialization for `rerrs[0]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:39: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:39: error:
> (near initialization for `rerrs[1]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:40: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:40: error:
> (near initialization for `rerrs[2]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:41: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:41: error:
> (near initialization for `rerrs[3]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:42: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:42: error:
> (near initialization for `rerrs[4]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:43: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:43: error:
> (near initialization for `rerrs[5]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:44: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:44: error:
> (near initialization for `rerrs[6]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:45: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:45: error:
> (near initialization for `rerrs[7]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:46: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:46: error:
> (near initialization for `rerrs[8]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:47: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:47: error:
> (near initialization for `rerrs[9]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:48: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:48: error:
> (near initialization for `rerrs[10]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:49: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:49: error:
> (near initialization for `rerrs[11]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:50: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:50: error:
> (near initialization for `rerrs[12]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:51: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:51: error:
> (near initialization for `rerrs[13]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:52: error:
> `REG_EMPTY' undeclared here (not in a function)
> /usr/local/src/php/php-5.0.5/regex/regerror.c:52: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:52: error:
> (near initialization for `rerrs[14].code')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:52: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:52: error:
> (near initialization for `rerrs[14]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:53: error:
> `REG_ASSERT' undeclared here (not in a function)
> /usr/local/src/php/php-5.0.5/regex/regerror.c:53: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:53: error:
> (near initialization for `rerrs[15].code')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:53: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:53: error:
> (near initialization for `rerrs[15]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:54: error:
> `REG_INVARG' undeclared here (not in a function)
> /usr/local/src/php/php-5.0.5/regex/regerror.c:54: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:54: error:
> (near initialization for `rerrs[16].code')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:54: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:54: error:
> (near initialization for `rerrs[16]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:55: error:
> initializer element is not constant
> /usr/local/src/php/php-5.0.5/regex/regerror.c:55: error:
> (near initialization for `rerrs[17]')
> /usr/local/src/php/php-5.0.5/regex/regerror.c:64: error:
> syntax error before "php_regerror"
> /usr/local/src/php/php-5.0.5/regex/regerror.c:65: warning:
> return type defaults to `int'
> /usr/local/src/php/php-5.0.5/regex/regerror.c: In function
> `php_regerror':
> /usr/local/src/php/php-5.0.5/regex/regerror.c:72: error:
> `REG_ITOA' undeclared (first use in this function)
> /usr/local/src/php/php-5.0.5/regex/regerror.c:72: error:
> (Each undeclared identifier is reported only once
> /usr/local/src/php/php-5.0.5/regex/regerror.c:72: error: for
> each function it appears in.)
> /usr/local/src/php/php-5.0.5/regex/regerror.c:76: error:
> `REG_ATOI' undeclared (first use in this function)
> /usr/local/src/php/php-5.0.5/regex/regerror.c: In function `regatoi':
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> /usr/local/src/php/php-5.0.5/regex/regerror.c:119: error:
> structure has no member named `re_endp'
> make[1]: *** [/usr/local/src/php/php-5.0.5/regex/regerror.o] Error 1
> make[1]: Leaving directory
> `/usr/local/src/mapserver/cvs/mapserver/mapscript/php3'
>
More information about the mapserver-dev
mailing list