[postgis-users] PostGIS Solaris problem

Svonja, Elvis Elvis.Svonja at sensis.com.au
Thu Nov 2 21:36:34 PST 2006


I have used GNU Make, and ensured the original one is removed from the
PATH. I also installed bison-1.875d
<ftp://ftp.sunfreeware.com/pub/freeware/intel/10/bison-1.875d-sol10-inte
l-local.gz> ,



However I'm now getting another Broken Pipe message with executing the
following Bison call:

bison -y -vd -p lwg_parse_yy wktparse.y



Full stack:

bash-3.00# make install

make -C lwgeom

make[1]: Entering directory `/da01/postgresql/gis/postgis-1.1.4/lwgeom'

sh ../geos_version.sh /usr/local > postgis_geos_version.h

bison -y -vd -p lwg_parse_yy wktparse.y

make[1]: *** [wktparse.tab.c] Broken Pipe

make[1]: Leaving directory `/da01/postgresql/gis/postgis-1.1.4/lwgeom'

make: *** [liblwgeom] Error 2



Again, any suggestions are very much appreciated



Elvis



________________________________

From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of
Svonja, Elvis
Sent: Friday, 3 November 2006 3:27 PM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] PostGIS Solaris problem



Hi



I'm trying to install PostGIS on Solaris 10 (Sparc) without any success.
I have tried building it from the source, but I get an error:



make: Fatal error: Command failed for target `install'



I have installed all the dependant packages (i.e. geos, proj4,
libiconv).  I wasn't able to find anywhere a Solaris specific
installation archive or package of PostGIS. Any help would be much
appreciated.



Elvis



DETAILED ERROR MESSAGE:



Using GNU make found at /usr/local/bin/gmake

...

...

...

/usr/ccs/bin/yaccpar:5: warning: ignoring #pragma ident

/usr/ccs/bin/yaccpar: In function `lwg_parse_yyparse':

/usr/ccs/bin/yaccpar:164: warning: label `yynewstate' defined but not
used

/usr/ccs/bin/yaccpar:374: warning: label `yyerrlab' defined but not used

/usr/local/bin/flex -Plwg_parse_yy -i -f -o'lex.yy.c' wktparse.lex

flex: fatal internal error, exec failed

gmake[2]: *** [lex.yy.c] Broken Pipe

gmake[2]: *** Deleting file `lex.yy.c'

gmake[2]: Leaving directory `/da01/postgresql/gis/postgis-1.1.5/lwgeom'

gmake[1]: *** [liblwgeom] Error 2

gmake[1]: Leaving directory `/da01/postgresql/gis/postgis-1.1.5'

*** Error code 2

The following command caused the error:

IFS=':' ; \

 for dir in $PATH; do \

   for prog in gmake gnumake make; do \

     if [ -f $dir/$prog ] && ( $dir/$prog -f /dev/null --version
2>/dev/null | grep GNU >/dev/null 2>&1 ) ; then \

       GMAKE=$dir/$prog; \

       break 2; \

     fi; \

   done; \

 done; \

\

 if [ x"${GMAKE+set}" = xset ]; then \

   echo "Using GNU make found at ${GMAKE}"; \

   ${GMAKE} install ; \

 else \

   echo "You must use GNU make to build PostGIS." ; \

   false; \

 fi

make: Fatal error: Command failed for target `install'

Sensis. Australia's leading information resource.
Making complex lives simpler by helping you find, buy and sell.

www.about.sensis.com.au
www.sensis.com.au
www.yellow.com.au
www.whitepages.com.au
www.citysearch.com.au
www.whereis.com.au
www.gostay.com.au
www.justlisted.com.au
www.linkme.com.au
www.telstra.com.au
www.tradingpost.com.au
www.universalpublishers.com.au
www.invizage.com.au

Sensis cares for the environment - think before you print.

This email and any attachments are intended only for the use of the
recipient and may be confidential and/or legally privileged.
Sensis Pty Ltd disclaims liability for any errors, omissions, viruses,
loss and/or damage arising from using, opening or transmitting this
email.
If you are not the intended recipient you must not use, interfere with,
disclose, copy or retain this email and you should notify the sender
immediately by return email or by contacting Sensis Pty Ltd by telephone
on [+61 3 8653 5000]



Sensis. Australia's leading information resource.
Making complex lives simpler by helping you find, buy and sell.

www.about.sensis.com.au
www.sensis.com.au
www.yellow.com.au
www.whitepages.com.au
www.citysearch.com.au
www.whereis.com.au
www.gostay.com.au
www.justlisted.com.au
www.linkme.com.au
www.telstra.com.au
www.tradingpost.com.au
www.universalpublishers.com.au
www.invizage.com.au

Sensis cares for the environment - think before you print.

This email and any attachments are intended only for the use of the recipient and may be confidential and/or legally privileged.
Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss and/or damage arising from using, opening or transmitting this email.
If you are not the intended recipient you must not use, interfere with, disclose, copy or retain this email and you should notify the sender immediately by return email or by contacting Sensis Pty Ltd by telephone on [+61 3 8653 5000]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20061103/c4019ac8/attachment.html>


More information about the postgis-users mailing list