[postgis-users] PostGIS Solaris problem

Paul Ramsey pramsey at refractions.net
Thu Nov 2 20:46:11 PST 2006


I've always had mixed results trying to build GNU projects with the  
default solaris tool chain.  Try installing gmake and bison and  
taking another run at it.

P

On 2-Nov-06, at 8:27 PM, Svonja, Elvis wrote:

> 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]
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20061102/e017c201/attachment.html>


More information about the postgis-users mailing list