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

Reply via email to