<br><br><div class="gmail_quote">On Tue, Mar 19, 2013 at 12:04 AM, Stephen Woodbridge <span dir="ltr"><<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On 3/18/2013 10:48 AM, Frédéric Bonifas wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I have built PgRouting from the sew-devel-2_0 branch. I am using<br>
Postgis 2.0 and PostgreSql 9.1.8<br>
<br>
I have created a database "routing" and created the postgis and<br>
pgrouting extensions on it :<br>
createdb routing<br>
createlang plpgsql routing<br>
</blockquote>
<br></div>
You can use "CREATE EXTENSION plpgsql" but I'm not sure it is even needed.<div class="im"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">psql -d routing -c "CREATE EXTENSION postgis;"<br>


psql -d routing -c "CREATE EXTENSION pgrouting;"<br>
<br>
I did not run the following lines because I assume that "CREATE<br>
EXTENSION pgrouting;" does that but I may be wrong. Anyway, the<br>
/usr/share/postlbs/ directory is empty.<br>
psql -d routing -f /usr/share/postlbs/routing_<u></u>core.sql<br>
psql -d routing -f /usr/share/postlbs/routing_<u></u>core_wrappers.sql<br>
psql -d routing -f /usr/share/postlbs/routing_<u></u>topology.sql<br>
</blockquote>
<br></div>
Right when you install an extension it loads all the files as part of the extension. And I do not install files in /usr/share/postlbs The extension installs share/postgresql/extension/<u></u>pgrouting--1.0.7.sql which contains all the SQL concatenated into one file.<br>


<br>
One problem with the current setup is that tsp and dd are optional and as a result probably need to be broken out into separate extensions, but that should not be a problem for now.<div class="im"><br></div></blockquote>

<div><br></div><div>If we still need an own directory in /usr/share I would at least rename it to something like /usr/share/pgrouting ;-)</div><div>Otherwise follow the way PostGIS does might be better and use the PostgreSQL shared directory</div>

<div><br></div><div>Personally I would not separate DD and TSP anymore and make it optional.</div><div>The CGAL dependency was painful some years ago, but doesn'T PostGIS require CGAL now as well? I might be wrong.</div>

<div>And Gaul dependency for TSP could be probably replaced you said.</div><div><br></div><div>If they are not optional anymore, then add ing one pgrouting extension should be enough.</div><div><br></div><div>Daniel</div>

<div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div></div><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG & Georepublic Japan<br>

eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66,99,171)" target="_blank">daniel.kastl@georepublic.de</a><br>Web: <a href="http://georepublic.de/" style="color:rgb(66,99,171)" target="_blank">http://georepublic.de</a></span>