[postgis-users] compiling postgis on solaris 10 fails with a core
Imre Oolberg
imre.oolberg at riik.ee
Tue Oct 10 14:57:42 PDT 2006
Hallo!
We are trying to implement PostGIS with PostgreSQL 8.1.4 on Solaris 10,
Sparc platform but compiling (with GNU gcc) fails with the following message
bash$ gmake
...
gcc -DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.4"'
-DPOSTGIS_VERSION='"1.1 USE_GEOS=0 USE_PROJ=0 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.1.4"' -DPOSTGIS_BUILD_DATE='"2006-10-10
21:38:35"' -I/usr/local/postgresql/include/server -DAUTOCACHE_BBOX=1
-DUSE_STATS -Wall -g -O2 -fPIC -fexceptions -c -o lwgparse.o lwgparse.c
bison -y -vd -p lwg_parse_yy wktparse.y
gmake[1]: *** [wktparse.tab.c] Segmentation Fault (core dumped)
gmake[1]: Leaving directory `/opt/postgres/src/postgis-1.1.4/lwgeom'
gmake: *** [liblwgeom] Error 2
and pstack says
bash:~/src/postgis-1.1.4$ pstack lwgeom/core
core 'lwgeom/core' of 10098: bison -y -vd -p lwg_parse_yy wktparse.y
000602bc ???????? (8c454, 100, 40, ffffffff, 3, ffbfc1a0)
00061030 quotearg_buffer (8c454, 100, 40, ffffffff, ffbfc1a0, 24) + 80
0006120c ???????? (0, 40, ffffffff, ffbfc1a0, 5b, 1)
00061464 quotearg_n_style (0, 3, 40, 6, ffbfc2b7, 7fffffe4) + 5c
00061544 quotearg_style (3, 40, 0, 80808080, 5b, 8e228) + 1c
000441c4 epilogue_augment (93328, ffbfd304, 6f, 94ccf, 94cd0, 1b) + 104
0003e8dc gram_parse (8c830, 77440, ffbff644, ffbff95e, 4a, 58) + 1afc
00045ae4 reader (1, ffbffc74, ff3a0180, 6, ff36c1dc, ff34f7e0) + 22c
0002e504 main (6, ffbffc74, ffbffc90, 89000, ff3a00c0, ff3a0100) + a4
00023c40 _start (0, 0, 0, 0, 0, 0) + 108
Before gmake was run './configure --prefix=/usr/local/postgis' in the
following environment, no additional components are installed i.e. proj
or geos
bash:~/src/postgis-1.1.4$ env
MANPATH=/usr/share/man:/opt/csw/man
HZ=
LC_MONETARY=et_EE.UTF-8
SHELL=/bin/bash
TERM=xterm
LC_NUMERIC=et_EE.UTF-8
OLDPWD=/opt/postgres/src
LD_LIBRARY_PATH=/opt/csw/lib
PAGER=/usr/bin/less
MAIL=/var/mail/postgres
PATH=/usr/local/postgresql/bin:/opt/csw/gcc3/bin:/opt/csw/bin:/usr/sfw/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin:/opt/csw/sbin:/usr/bin:
LC_MESSAGES=C
LC_COLLATE=et_EE.UTF-8
PWD=/opt/postgres/src/postgis-1.1.4
TZ=Europe/Tallinn
PS1=\h:\w\$
SHLVL=1
HOME=/opt/postgres
GCC=gcc
LOGNAME=postgres
LC_CTYPE=et_EE.UTF-8
_=/usr/bin/env
Within the same env we have successfully compiled postgresql and some
other applications, too.
If somebody could provide help on how to compile PostGIS on Solaris 10
it would be very helpful!
Imre
More information about the postgis-users
mailing list