CMake scripts in master branch should install the .sql files into /usr/share/pgrouting.<div>But &quot;official&quot; versions install the files in /usr/share/postlbs. The latter was decided in the early days of pgRouting, but &quot;pgrouting&quot; as directory name made more sense. </div>

<div><br></div><div>Daniel</div><div><br><br><div class="gmail_quote">On Fri, May 25, 2012 at 12:36 PM, Stephen Woodbridge <span dir="ltr">&lt;<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can search for files on your systems with the command locate like:<br>
<br>
locate routing_core.sql<br>
<br>
If you compiled and installed pgrouting then it might have been install under /usr/local/share/postlbs/ check and see if it is there.<br>
<br>
-Steve<div class="im"><br>
<br>
On 5/24/2012 11:13 PM, Jinfu Leng wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hey,<br>
<br>
I got a new problem now,<br>
<br>
When I was trying to create the database template with the .sh, I got<br>
the error message:<br>
&quot;/usr/share/postlbs/routing_<u></u>core.sql: No such file or directory&quot;<br>
<br>
I found that &quot;postlbs&quot; folder did not exist in my disk. According to<br>
some archived emails, this is because &quot;pgrouting&quot; was not installed<br>
successfully. But I think I have correctly compiled and installed it.<br>
<br>
In addition, I found the &quot;.sql&quot; files located in my<br>
&quot;usr/share/pgrouting&quot; folder. So for creating the database template, I<br>
can change the path in the &quot;.sh&quot; file and use these &quot;.sql&quot;, but I am not<br>
sure if this will ruin the later steps.<br>
<br>
Thanks,<br>
Jinfu<br>
<br>
<br>
On Thu, May 24, 2012 at 10:24 PM, Stephen Woodbridge<br></div><div class="im">
&lt;<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a> &lt;mailto:<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.<u></u>com</a>&gt;&gt; wrote:<br>
<br>
    On 5/24/2012 10:11 AM, Jinfu Leng wrote:<br>
<br>
        Hey all,<br>
<br>
        I am trying to use postgresql to build the network database, but<br>
        got a<br>
        problem when I ran &quot;createdb -U postgres -T template_routing<br>
        routing&quot;.<br>
        Error message:<br>
        &quot;createdb: could not connect to database postgres: FATAL:  password<br>
        authentication failed for user &quot;postgres&quot;&quot;<br>
<br>
        I already used &quot;passwd&quot; to change the password of &quot;postgres&quot; and<br>
        used<br>
        &quot;trust&quot; to replace &quot;md5&quot; in pg_hba file.<br>
<br>
<br>
    1. you have to restart postgresql after changing the pg_hba file.<br>
    2. you might try adding -h localhost to you command.<br>
<br>
    -Steve<br>
    ______________________________ _________________<br>
    pgrouting-dev mailing list<br></div>
    <a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a> &lt;mailto:<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.<u></u>osgeo.org</a>&gt;<br>


    <a href="http://lists.osgeo.org/" target="_blank">http://lists.osgeo.org/</a> mailman/listinfo/pgrouting-dev<br>
    &lt;<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-dev</a><u></u>&gt;<div class="im"><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
pgrouting-dev mailing list<br>
<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-dev</a><br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
______________________________<u></u>_________________<br>
pgrouting-dev mailing list<br>
<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG &amp; 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><br>
</div>