Re: [postgis-users] How to install Postgresql + Postgis 2.0 on Ubuntu 12-04 LTS
Jose, Be sure to install geos and postgis in the usr directory on your Ubuntu box, and make sure that libxml2 is there too. I spent all day yesterday trying to do exactly what you're trying to do. The wiki link procedure sent by the previous poster worked for me. Vince --- On Tue, 10/2/12, José María jmamu...@gmail.com wrote: From: José María jmamu...@gmail.com Subject: Re: [postgis-users] How to install Postgresql + Postgis 2.0 on Ubuntu 12-04 LTS To: PostGIS Users Discussion postgis-users@postgis.refractions.net Date: Tuesday, October 2, 2012, 6:07 AM Thanks Stefano, But when I try to follow the steps I get errors. If you could to install everything without problems Could you help me? Please. Thanks again, José María 2012/10/2 Stefano Iacovella stefano.iacove...@gmail.com Hi José if you are willing to compile source code have a look at this page: http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204src Stefano --- 41.95581N 12.52854E http://www.linkedin.com/in/stefanoiacovella http://twitter.com/#!/Iacovellas 2012/10/2 José María jmamu...@gmail.com Hi guys!! I'm trying to install Postgresql and PostGis 2.0 on my Ubuntu, so I have doubts and I have been looking for information with google but I didn't find clear information. Someone could help me with this? Thanks, José María ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users -Inline Attachment Follows- ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] where is postgis.sql?
Thanks Mike, but your method produces the following message: ERROR: could not open extension control file /usr/share/postgresql/9.1/extension/postgis.control: No such file or directory. My OS is Ubuntu server 12.04, which includes with postgresql 9.1, which installs simply with apt-get install postgresql. I don't know if this install includes the server headers that postGIS requires, and I don't know how to find out if it does. Other respondents to my initial query have left the impression that postgis is NOT included in the ubuntu distro, that there is no simple apt-get for it, and that I must download and build it from source separately. To do this I evidently must also apt-get gcc and make, and download and build several other packages (gdal, Geos, Proj, libxml2, and json-c). I have done this but, in the postgis-2.0.1 directory, the command ./configure --with-raster --with-topology --with-xml2config=/home/vince/geos/libxml2-2.7.8/xml2-config fails with the follwing message: configure: error: could not find headers include related to libxml2 What am I missing here? --- On Sat, 9/29/12, Mike Toews mwto...@gmail.com wrote: From: Mike Toews mwto...@gmail.com Subject: Re: [postgis-users] where is postgis.sql? To: PostGIS Users Discussion postgis-users@postgis.refractions.net Date: Saturday, September 29, 2012, 2:32 PM Hi Vince, What operation system? What method did you install? If you have pg_config installed (part of the development package of postgres), you can find the share and contrib directory: $ ls `pg_config --sharedir`/contrib But, since you are using 9.1, you should use the extension method of attaching postgis. From psql/pgAdmin in your target database, use the DDL command: CREATE EXTENSION postgis; -Mike On 30 September 2012 06:28, Vince Miller vincentpmil...@yahoo.com wrote: Newby question: I want to attach postgis to my new db. Postgresql 9.1 seemed to install fine, but I can't find postgis.sql. Where is it? It's not in /usr/share/.../contrib as I'm given to expect. I don't want to compile from source to get it, if I don't have to. What's its relationship to postgis.sql.in.c? Thanks for your help. ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
[postgis-users] where is postgis.sql?
Newby question: I want to attach postgis to my new db. Postgresql 9.1 seemed to install fine, but I can't find postgis.sql. Where is it? It's not in /usr/share/.../contrib as I'm given to expect. I don't want to compile from source to get it, if I don't have to. What's its relationship to postgis.sql.in.c? Thanks for your help. ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] Where is postGIS?
For some reason, line feeds were missing in previous post: Newby question: I want to attach postgis to my new db. Postgresql 9.1 seemed to install fine, but I can't find postgis.sql. Where is it? It's not in /usr/share/.../contrib as I'm given to expect. I don't want to compile from source to get it, if I don't have to. What's its relationship to postgis.sql.in.c? BTW, I installed PG 9.1 as included in Ubuntu 9.1. Thanks for your help. ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
[postgis-users] where is postGIS.sql?
Sorry, I meant Ubuntu 12.04. ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] where is postGIS.sql?
Yes, thanks Jeff. I got this. This seems to be the build it yourself from source option. Is this the only way? --- On Sat, 9/29/12, Jeff Lake j...@michiganwxsystem.com wrote: From: Jeff Lake j...@michiganwxsystem.com Subject: Re: [postgis-users] where is postGIS.sql? To: PostGIS Users Discussion postgis-users@postgis.refractions.net Date: Saturday, September 29, 2012, 11:19 AM http://postgis.refractions.net/download/ Jeff Lake MichiganWxSystem AllisonHouse GRLevelXStuff On 9/29/2012 14:15, Vince Miller wrote: By it you mean? Ubuntu 12.04: yes, postgresql 9.1 yes, postgis: is there something I need to to to install it? like, compile it from source? Vince --- On Sat, 9/29/12, Jeff Lake j...@michiganwxsystem.com wrote: From: Jeff Lake j...@michiganwxsystem.com Subject: Re: [postgis-users] where is postGIS.sql? To: PostGIS Users Discussion postgis-users@postgis.refractions.net Date: Saturday, September 29, 2012, 10:56 AM Just because I gotta know .. you didn't mention it but I assume you installed it ?? Jeff Lake MichiganWxSystem AllisonHouse GRLevelXStuff On 9/29/2012 13:48, Vince Miller wrote: Sorry, I meant Ubuntu 12.04. ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users -Inline Attachment Follows- ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users -Inline Attachment Follows- ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users