[postgis-devel] Re: [postgis-users] installation problem

vamsee movva vamseejump at gmail.com
Thu May 10 08:59:19 PDT 2007


Hi Mark
I removed templategis from the above mentioned placed.
Then i executed make and make install
Then i tried to executed psql -d test -f lwpostgis.sql
It gave me lot of errors like

psql:lwpostgis.sql:3875: ERROR:  current transaction is aborted, commands
ignored until end of transaction block
ERROR:  current transaction is aborted, commands ignored until end of
transaction block
STATEMENT:  CREATE OR REPLACE FUNCTION ST_PolyFromText(text, int4)
                RETURNS geometry
                AS '
                SELECT CASE WHEN geometrytype(GeomFromText($1, $2)) =
''POLYGON''
                THEN GeomFromText($1, $2)
                ELSE NULL END
                '
                LANGUAGE 'SQL' IMMUTABLE STRICT;

Thanks for your help


On 5/10/07, Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk> wrote:
>
> On Thu, 2007-05-10 at 11:42 -0400, vamsee movva wrote:
> > Hi Mark
> > I commented all things which deals with templateGIS in GNUMake file.
> > When i executed make i got the following errors
> >
> > lex.yy.c:4023: warning: `yyunput' defined but not used
> > lwgeom_chip.c: In function `CHIP_in':
> > lwgeom_chip.c:128: warning: int format, different type arg (arg 4)
> > shpopen.c:176: warning: `rcsid' defined but not used
> > dbfopen.c:206: warning: `rcsid' defined but not used
> > make: *** No rule to make target `templategis', needed by `all'.
> > Stop.
> >
> > Thanks
>
> Hmmm I think that implies that you've missed this part from the diff:
>
> -all: Makefile.config liblwgeom loaderdumper utils
> +all: Makefile.config liblwgeom loaderdumper utils templategis
>
> If you remove templategis from this line, does that help you at all?
>
>
> Kind regards,
>
> Mark.
>
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20070510/60598b20/attachment.html>


More information about the postgis-devel mailing list