[TinyOWS-users] Error compiling tinyows from SVN

Leukert, Boris boris.leukert at wald-und-holz.nrw.de
Wed Apr 20 01:52:39 EST 2011


Dear all,

Im trying to compile tinyows from SVN on SUSE Linux Enterprise Server 11
SP1 with

 

- gcc 4.3.4

- flex 2.5.35

- libxml2 2.7.6

- PostGIS 1.5.2

- PostgreSQL 8.4.7

- FastCGI 2.4.0

 

Autoconf and configure runs fine but when I try to run make the
following error occurs:

 

sles-11:/tmp/tinyows/tinyows_440 # make

lex -i -o src/mapfile/mapfile.c src/mapfile/mapfile.l

gcc -g -O2 -ansi -pedantic -Wall -I/opt/pgsql/include -L/opt/pgsql/lib
-lpq -I/usr/include/libxml2 -lxml2 -lz -lm -I/include -L/lib -lfcgi "-D
TINYOWS_SVN_REV=\"exported\"" src/fe/fe_comparison_ops.c
src/fe/fe_error.c src/fe/fe_filter.c src/fe/fe_filter_capabilities.c
src/fe/fe_function.c src/fe/fe_logical_ops.c src/fe/fe_spatial_ops.c
src/mapfile/mapfile.c src/ows/ows_bbox.c src/ows/ows.c
src/ows/ows_config.c src/ows/ows_error.c src/ows/ows_geobbox.c
src/ows/ows_get_capabilities.c src/ows/ows_layer.c
src/ows/ows_metadata.c src/ows/ows_psql.c src/ows/ows_request.c
src/ows/ows_srs.c src/ows/ows_storage.c src/ows/ows_version.c
src/struct/alist.c src/struct/array.c src/struct/buffer.c
src/struct/cgi_request.c src/struct/list.c src/struct/mlist.c
src/struct/regexp.c src/wfs/wfs_describe.c src/wfs/wfs_error.c
src/wfs/wfs_get_capabilities.c src/wfs/wfs_get_feature.c
src/wfs/wfs_request.c src/wfs/wfs_transaction.c  -o tinyows -L/usr/lib
-lfl

src/mapfile/mapfile.l: In function yylex:

src/mapfile/mapfile.l:705: error: lvalue required as increment operand

src/mapfile/mapfile.c:1994: warning: label find_rule defined but not
used

make: *** [all] Error 1

sles-11:/tmp/tinyows/tinyows_440 #

 

Can anybody help with this problem?

 

Best regards,

Boris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/tinyows-users/attachments/20110420/a5941e73/attachment.htm 


More information about the TinyOWS-users mailing list