<div dir="ltr"><div>Thanks. I will try these options.<br><br><br>Regards,<br></div>Gaurav Jain<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 22, 2015 at 10:31 AM, Andre LaBranche <span dir="ltr">&lt;<a href="mailto:dre@apple.com" target="_blank">dre@apple.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
It looks like 5.2.2’s support/build.sh refers to <a href="http://ftp5.us.postgresql.org" target="_blank">ftp5.us.postgresql.org</a>, which indeed does not resolve in DNS.<br>
<br>
You have a couple options:<br>
<br>
1) Take the archive of postgres from your mac and copy it to the other machine, stored along side the other dependencies downloaded by the run script.<br>
2) Edit support/build.sh (line 697) to update the url used to download Postgres.<br>
<br>
<br>
In 5.2.2, we have:<br>
<br>
c_dependency -m &quot;52df0a9e288f02d7e6e0af89ed4dcfc6&quot; \<br>
      &quot;PostgreSQL&quot; &quot;${pg}&quot; \<br>
      &quot;<a href="ftp://ftp5.us.postgresql.org/pub/PostgreSQL/source/v${pgv}/${pg}.tar.gz" target="_blank">ftp://ftp5.us.postgresql.org/pub/PostgreSQL/source/v${pgv}/${pg}.tar.gz</a>&quot; \<br>
      --with-python ${enable_dtrace};<br>
<br>
In trunk, we have:<br>
<br>
    c_dependency -m &quot;c003d871f712d4d3895956b028a96e74&quot; \<br>
      &quot;PostgreSQL&quot; &quot;${p}&quot; \<br>
      &quot;<a href="http://ftp.postgresql.org/pub/source/v${v}/${p}.tar.bz2" target="_blank">http://ftp.postgresql.org/pub/source/v${v}/${p}.tar.bz2</a>&quot; \<br>
      --with-python ${enable_dtrace};<br>
<br>
(note: do not replace the entire call to the c_dependency function with the one in trunk, just edit the URL)<br>
<br>
-dre<br>
<div><div class="h5"><br>
&gt; On Jan 21, 2015, at 5:14 PM, Gaurav Jain &lt;<a href="mailto:monkeyfdude@gmail.com">monkeyfdude@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; * I have a 64-bit Ubuntu-14.x instance.<br>
&gt;<br>
&gt; * I use CalendarServer-5.2.2.<br>
&gt;<br>
&gt; Once I checkout and I run:<br>
&gt;<br>
&gt; ./run -s<br>
&gt;<br>
&gt;<br>
&gt; But I keep getting:<br>
&gt;<br>
&gt; PostgreSQL is not available from <a href="http://calendarserver.org" target="_blank">calendarserver.org</a>; trying upstream source.<br>
&gt;   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current<br>
&gt;                                  Dload  Upload   Total   Spent    Left  Speed<br>
&gt;   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: <a href="http://ftp5.us.postgresql.org" target="_blank">ftp5.us.postgresql.org</a><br>
&gt;<br>
&gt;<br>
&gt; I dont get the same issue on Mac OS (development laptop)<br>
&gt;<br>
&gt; Please provide assistance.<br>
&gt;<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; calendarserver-users mailing list<br>
&gt; <a href="mailto:calendarserver-users@lists.macosforge.org">calendarserver-users@lists.macosforge.org</a><br>
&gt; <a href="https://lists.macosforge.org/mailman/listinfo/calendarserver-users" target="_blank">https://lists.macosforge.org/mailman/listinfo/calendarserver-users</a><br>
<br>
</blockquote></div><br></div>