<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Mean to add this before - it's an image of the Extensions folder in pgAdmin III: http://s1064.photobucket.com/albums/u361/jeffmegwhat/?action=view&current=postgisextensions.png<br></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Jeff Meyer <jeff@gwhat.org><br> <b><span style="font-weight: bold;">To:</span></b> PostGIS Users Discussion <postgis-users@postgis.refractions.net> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, May 23, 2012 12:42
 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [postgis-users] Ubuntu and Postgresql9.1.3-2<br> </font> </div> <br>
<div id="yiv1875451709"><div><div style="color:#000;background-color:#fff;font-family:arial, helvetica, sans-serif;font-size:10pt;"><div><span>Hi Smaran - <br></span></div><div><span>I can't speak to what went wrong during your install, but have you double-checked your ability to add extensions through pgAdmin III?</span></div><div><span>You should be able to open your db, navigate to extensions, right click on the extensions label, and then click "New Extension." If PostGIS isn't listed as a possible extension, then something went wrong in the PostGIS install. <br></span></div><div><span>You may want to then do an 'apt-get remove postgis' and then follow the instructions at: </span>http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204.</div><div>Thanks, Jeff<br></div><div><br><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;margin-top:5px;padding-left:5px;">  <div style="font-family:arial, helvetica, sans-serif;
font-size:10pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Smaran Harihar <smaran.harihar@gmail.com><br> <b><span style="font-weight:bold;">To:</span></b> PostGIS Users Discussion <postgis-users@postgis.refractions.net> <br> <b><span style="font-weight:bold;">Sent:</span></b> Wednesday, May 23, 2012 10:09 AM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [postgis-users] Ubuntu and Postgresql9.1.3-2<br> </font> </div> <br>
<div id="yiv1875451709">Hi,<div><br></div><div>I have already installed PostGIS 2.0 and Postgres 9.3.1 using synaptic package manager.</div><div><br></div><div>Now when I run your commands in psql console,</div><div><br></div><div><pre class="yiv1875451709wiki" style="background-color:rgb(247,247,247);border:1px solid rgb(215,215,215);margin-right:1.75em;margin-left:1.75em;padding:0.25em;overflow:auto;font-size:13px;">shpRepo=# CREATE EXTENSION postgis;</pre><div>I am receiving an error,</div><div><br></div><div><font color="#ff0000">ERROR: could not open extension control file "/usr/share/postgres/9.1/extension/postgis.control": No such file or directory</font></div>

<div><font color="#ff0000"><br></font></div><div>Where did I go wrong?</div><div><br></div><div><br></div><br><div class="yiv1875451709gmail_quote">On Wed, May 23, 2012 at 9:58 AM, Brian H Wilson <span dir="ltr"><<a rel="nofollow" ymailto="mailto:brian@wildsong.biz" target="_blank" href="mailto:brian@wildsong.biz">brian@wildsong.biz</a>></span> wrote:<br>

<blockquote class="yiv1875451709gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv1875451709im">On 5/23/2012 8:08 AM, José María Amuedo wrote:<br>
<blockquote class="yiv1875451709gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Someone know how can linstall postgresql-9.1.3-2-linux.run in Ubuntu 12.04?<br>
<br>
I installed it but I can not to launch stackbuilder to configure new<br>
tools like postgis.<br>
</blockquote>
<br></div>
As Jeff said, installing on Ubuntu 12.04 using apt-get is easy, and I've only used stackbuilder once. You don't really need it.<br>
<br>
I like to experiment with the latest so currently I do install PostGIS from sources. The version in the official Ubuntu repository is still at 1.5.3<br>
<br>
There are instructions here for PostGIS 2 packages that look pretty promising:<br>
<br>
http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204<br>
<br>
My own grueling details are here: http://wildsong.biz/index.php/PostGIS<br>
Feedback welcome.<br>
<br>
Hope this helps,<br>
<br>
Brian<div class="yiv1875451709HOEnZb"><div class="yiv1875451709h5"><br>
______________________________<u></u>_________________<br>
postgis-users mailing list<br>
<a rel="nofollow" ymailto="mailto:postgis-users@postgis.refractions.net" target="_blank" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.<u></u>refractions.net</a><br>
http://postgis.refractions.net/mailman/listinfo/postgis-users<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks & Regards<div>Smaran Harihar</div><br>
</div>
</div><br>_______________________________________________<br>postgis-users mailing list<br><a rel="nofollow" ymailto="mailto:postgis-users@postgis.refractions.net" target="_blank" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br><a rel="nofollow" target="_blank" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br><br><br> </div> </div> </blockquote></div>   </div></div></div><br>_______________________________________________<br>postgis-users mailing list<br><a ymailto="mailto:postgis-users@postgis.refractions.net" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br><br><br> </div> </div> </blockquote></div>  
 </div></body></html>