[postgis-users] 1.1.3 compilation problem

Stefano B. stefano.bonnin at comai.to
Mon Jul 3 00:09:29 PDT 2006


Hi, when I compile postgis 1.1.3 on my freebsd 5.3 os I get the following:

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether ln -s works... yes
checking for iconv_open in -liconv... no
checking for libiconv_open in -liconv... no
checking for iconv_open in -lc... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking iconv.h usability... no
checking iconv.h presence... no
checking for iconv.h... no
checking build system type... i386-unknown-freebsd5.3
checking host system type... i386-unknown-freebsd5.3
checking for geos-config... /usr/local/bin/geos-config
checking for proj... /usr/local/bin/proj
checking for flex... /usr/bin/flex
checking for dllwrap... no
checking for dlltool... no
checking for bison... bison -y
checking for perl... /usr/bin/perl
checking for xsltproc... no
checking for pdfxmltex... no
checking for db2pdf... no
checking for jw... no
checking which template to use... freebsd
configure: creating ./config.status
config.status: creating Makefile.config
config.status: creating config.h
config.status: config.h is unchanged

 SUMMARY
 -------------------------------------------------------

 HOST_OS: freebsd5.3

   PGSQL: /usr/local/pgsql8.1/bin/pg_config
    GEOS: /usr/local/bin/geos-config (with C-API)
          (ldflags: -L/usr/local/lib)
    PROJ: prefix=/usr/local libdir=/usr/local/lib
   ICONV: 0

 PORTNAME: freebsd
   PREFIX: /usr/local/pgsql8.1
  EPREFIX: ${prefix}
      DOC: /usr/local/pgsql8.1/doc/contrib
     DATA: /usr/local/pgsql8.1/share/contrib
      MAN: /usr/local/pgsql8.1/man
      BIN: /usr/local/pgsql8.1/bin
      EXT: /usr/local/pgsql8.1/lib (\$$libdir)
 -------------------------------------------------------

gmake -C lwgeom
gmake[1]: Entering directory `/usr/src/smit/postgis-1.1.3/lwgeom'
bison -y -vd -p lwg_parse_yy wktparse.y
wktparse.y:40.14: parse error, unexpected ":", expecting ";" or "|"
wktparse.y:58.20-32: $3 of `geometry' has no declared type
wktparse.y:61.6-19: $1 of `geometry' has no declared type
wktparse.y:145.17: parse error, unexpected ":", expecting ";" or "|"
wktparse.y:232.14-31: $1 of `geom_multilinestring' has no declared type
wktparse.y:232.14-34: $2 of `geom_multilinestring' has no declared type
wktparse.y:235.20-37: $1 of `geom_multilinestring' has no declared type
wktparse.y:235.20-40: $2 of `geom_multilinestring' has no declared type
wktparse.y:235.20-43: $3 of `geom_multilinestring' has no declared type
wktparse.y:238.26-43: $1 of `geom_multilinestring' has no declared type
wktparse.y:238.26-46: $2 of `geom_multilinestring' has no declared type
wktparse.y:238.26-49: $3 of `geom_multilinestring' has no declared type
wktparse.y:238.26-52: $4 of `geom_multilinestring' has no declared type
gmake[1]: *** [wktparse.tab.c] Error 1
gmake[1]: Leaving directory `/usr/src/smit/postgis-1.1.3/lwgeom'
gmake: *** [liblwgeom] Error 2
gmake -C lwgeom
gmake[1]: Entering directory `/usr/src/smit/postgis-1.1.3/lwgeom'
bison -y -vd -p lwg_parse_yy wktparse.y
wktparse.y:40.14: parse error, unexpected ":", expecting ";" or "|"
wktparse.y:58.20-32: $3 of `geometry' has no declared type
wktparse.y:61.6-19: $1 of `geometry' has no declared type
wktparse.y:145.17: parse error, unexpected ":", expecting ";" or "|"
wktparse.y:232.14-31: $1 of `geom_multilinestring' has no declared type
wktparse.y:232.14-34: $2 of `geom_multilinestring' has no declared type
wktparse.y:235.20-37: $1 of `geom_multilinestring' has no declared type
wktparse.y:235.20-40: $2 of `geom_multilinestring' has no declared type
wktparse.y:235.20-43: $3 of `geom_multilinestring' has no declared type
wktparse.y:238.26-43: $1 of `geom_multilinestring' has no declared type
wktparse.y:238.26-46: $2 of `geom_multilinestring' has no declared type
wktparse.y:238.26-49: $3 of `geom_multilinestring' has no declared type
wktparse.y:238.26-52: $4 of `geom_multilinestring' has no declared type
gmake[1]: *** [wktparse.tab.c] Error 1
gmake[1]: Leaving directory `/usr/src/smit/postgis-1.1.3/lwgeom'
gmake: *** [liblwgeom] Error 2


I have compiled with:
./configure --with-pgsql=/usr/local/pgsql8.1/bin/pg_config --with-geos --with-proj
gmake

thanks in advance
Stefano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20060703/5fb0a4d1/attachment.html>


More information about the postgis-users mailing list