Hi Mark <br>
I removed templategis from the above mentioned placed.<br>
Then i executed <span style="font-weight: bold;">make and make install <br>
</span>Then i tried to executed <span style="font-weight: bold;">psql -d test -f lwpostgis.sql<br>
</span>It gave me lot of errors like <br>
<br>
<span style="font-weight: bold;">psql:lwpostgis.sql:3875: ERROR: current transaction is aborted, commands ignored until end of transaction block</span><br style="font-weight: bold;">
<span style="font-weight: bold;">ERROR: current transaction is aborted, commands ignored until end of transaction block</span><br style="font-weight: bold;">
<span style="font-weight: bold;">STATEMENT: CREATE OR REPLACE FUNCTION ST_PolyFromText(text, int4)</span><br style="font-weight: bold;">
<span style="font-weight: bold;"> RETURNS geometry</span><br style="font-weight: bold;">
<span style="font-weight: bold;"> AS '</span><br style="font-weight: bold;">
<span style="font-weight: bold;">
SELECT CASE WHEN geometrytype(GeomFromText($1, $2)) = ''POLYGON''</span><br style="font-weight: bold;">
<span style="font-weight: bold;"> THEN GeomFromText($1, $2)</span><br style="font-weight: bold;">
<span style="font-weight: bold;"> ELSE NULL END</span><br style="font-weight: bold;">
<span style="font-weight: bold;"> '</span><br style="font-weight: bold;">
<span style="font-weight: bold;"> LANGUAGE 'SQL' IMMUTABLE STRICT;<br>
<span style="font-weight: bold;"><br>
<span style="font-weight: bold;"></span></span></span>Thanks for your help<span style="font-weight: bold;"><span style="font-weight: bold;"><span style="font-weight: bold;"></span><br style="font-weight: bold;">
</span></span><span style="font-weight: bold;"><span style="font-weight: bold;"></span><br>
</span><br><div><span class="gmail_quote">On 5/10/07, <b class="gmail_sendername">Mark Cave-Ayland</b> <<a href="mailto:mark.cave-ayland@ilande.co.uk">mark.cave-ayland@ilande.co.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, 2007-05-10 at 11:42 -0400, vamsee movva wrote:<br>> Hi Mark<br>> I commented all things which deals with templateGIS in GNUMake file.<br>> When i executed make i got the following errors<br>><br>> lex.yy.c
:4023: warning: `yyunput' defined but not used<br>> lwgeom_chip.c: In function `CHIP_in':<br>> lwgeom_chip.c:128: warning: int format, different type arg (arg 4)<br>> shpopen.c:176: warning: `rcsid' defined but not used
<br>> dbfopen.c:206: warning: `rcsid' defined but not used<br>> make: *** No rule to make target `templategis', needed by `all'.<br>> Stop.<br>><br>> Thanks<br><br>Hmmm I think that implies that you've missed this part from the diff:
<br><br>-all: Makefile.config liblwgeom loaderdumper utils<br>+all: Makefile.config liblwgeom loaderdumper utils templategis<br><br>If you remove templategis from this line, does that help you at all?<br><br><br>Kind regards,
<br><br>Mark.<br><br><br>_______________________________________________<br>postgis-devel mailing list<br><a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel">
http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br></blockquote></div><br>