If you try to compile postgis 2 in a debian system, "apt-get build-dep postgis" helps a lot<br><br><div class="gmail_quote">On Fri, Nov 11, 2011 at 7:33 AM, Mathieu Basille <span dir="ltr"><<a href="mailto:basille@ase-research.org">basille@ase-research.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Dear Steve,<br>
<br>
As a complement to what Paolo said: I don't know about other distros, and I'll talk only about Debian which I use on a daily basis. A fresh Debian install (stable or testing or even sid) is not up-to-date in terms of GIS packages. Examples:<br>

<br>
- QGIS: last release is 1.7; Debian only provides 1.4 in all flavours of Debian;<br>
- GDAL: last release is 1.8.1; Debian provides 1.6 for stable, 1.7 for testing, and 1.8 for experimental, which is hardly installable due to dependency troubles (but they are working on it).<br>
<br>
I don't mean that Debian is a bad choice... Especially since I'm using it as my primary platform! It is indeed very good for many reasons. But if you want cutting-edge GIS tools, you'll need to tweak Debian a bit. For example, you can find how to install most recent QGIS versions here: <a href="http://www.qgis.org/wiki/DownloadFr#Debian" target="_blank">http://www.qgis.org/wiki/<u></u>DownloadFr#Debian</a><br>

<br>
Back to PostGIS now. If you want the latest stable release, which is 1.5.3, a simple<br>
<br>
[sudo] aptitude install postgis<br>
<br>
under testing should do the trick. If you want to run stable (which is a good choice), you can use some apt-pinning to be able to install packages from testing, or you can use PostGIS 1.5.2 with the previous command line.<br>

<br>
If you're interested in the development version, i.e. PostGIS 2.0 with raster support, it'll be slightly more complicated to have a complete GIS platform (but not impossible I guess). For instance, you'll need to compile everything by hand from GDAL 1.8 to PostGIS 2.0 through QGIS... But in this case, there is no GIS-related reason to use Debian: compilation should be the same under any Linux distro, so just pick up the one you like (or the one for which you have people to help you around).<br>

<br>
Hope this helps,<br>
Mathieu.<br>
<br>
<br>
Le 11/11/2011 04:19, Paolo Cavallini a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Il 10/11/2011 17:41, <a href="mailto:Steve.Toutant@inspq.qc.ca" target="_blank">Steve.Toutant@inspq.qc.ca</a> ha scritto:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
Sorry for cross-posting on several lists, but we are in the process of<br>
taking some important decisions, on the OS to use...<br>
For several years we have mapserver, gdal and Postgis, etc... running<br>
on a Windows server.<br>
We plan to migrate our GIS tools from the Windows server to SUSE Linux<br>
Enterprise Server 11.<br>
I heard bad comments on using SLES with mapserver, postgres/postgis,<br>
gdal, etc...Taht the installation of these tools was a pain compare to<br>
OpenSUSE or UBUNTU.<br>
Comments on using and maintaining GIS infrastructure with SLES 11<br>
would be very appreciated.<br>
<br>
</blockquote>
Hi all.<br>
I think having GIS packages ready and updated is the most important<br>
thing in choosing a Linux distro. Debian should be the best, as it is<br>
updated and wdely used and tested.<br>
All the best.<br>
<br>
--<br>
Paolo Cavallini<br>
See:<a href="http://www.faunalia.it/pc" target="_blank">http://www.faunalia.it/pc</a><br>
<br>
<br>
<br></div></div>
This body part will be downloaded on demand.<br>
</blockquote>
<br>
-- <br>
<br>
~$ whoami<br>
Mathieu Basille, Post-Doc<br>
<br>
~$ locate<br>
Laboratoire d'Écologie Comportementale et de Conservation de la Faune<br>
+ Centre d'Étude de la Forêt<br>
Département de Biologie<br>
Université Laval, Québec<br>
<br>
~$ info<br>
<a href="http://ase-research.org/basille" target="_blank">http://ase-research.org/<u></u>basille</a><br>
<br>
~$ fortune<br>
``If you can't win by reason, go for volume.''<br>
Calvin, by Bill Watterson.<br>
______________________________<u></u>_________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.<u></u>refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.<u></u>net/mailman/listinfo/postgis-<u></u>users</a><br>
</blockquote></div><br>