[postgis-users] help setting up postgis

Edward Mac Gillavry emacgillavry at hotmail.com
Mon Aug 9 04:55:31 PDT 2010


Simply check the proper location of the  postgis.sql file. It should be in the directory where you installed postgis.

$ sudo updatedb
$ locate "postgis.sql"

/usr/src/postgis-1.5.1/postgis/postgis.sql

psql -d postgisdb -f /usr/src/postgis-1.5.1/postgis/postgis.sql

HTH

Edward


> Date: Mon, 9 Aug 2010 13:43:16 +0200
> From: fire at dubmosphere.de
> To: postgis-users at postgis.refractions.net
> Subject: [postgis-users] help setting up postgis
> 
> Dear all,
> I am running into some troubles trying to install postgis 1.5.1. After  
> installation I followed the manual on which first steps to take. I  
> created a postgresql db and did the createlang part.
> 
> Now, when I enter "psql -d postgisdb -f postgis.sql" I get a  
> "postgis.sql: No such file or directory" in return.
> 
> What could be the problem? Where do I start looking?
> 
> Regards,
> Jan
> 
> ubuntu 9.10
> postgresql 8.4
> postGis 1.5.1
> 
> 
> _______________________________________________
> 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/20100809/12cb1b2b/attachment.html>


More information about the postgis-users mailing list