<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"><<a href="mailto:dre@apple.com" target="_blank">dre@apple.com</a>></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 "52df0a9e288f02d7e6e0af89ed4dcfc6" \<br>
"PostgreSQL" "${pg}" \<br>
"<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>" \<br>
--with-python ${enable_dtrace};<br>
<br>
In trunk, we have:<br>
<br>
c_dependency -m "c003d871f712d4d3895956b028a96e74" \<br>
"PostgreSQL" "${p}" \<br>
"<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>" \<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>
> On Jan 21, 2015, at 5:14 PM, Gaurav Jain <<a href="mailto:monkeyfdude@gmail.com">monkeyfdude@gmail.com</a>> wrote:<br>
><br>
> * I have a 64-bit Ubuntu-14.x instance.<br>
><br>
> * I use CalendarServer-5.2.2.<br>
><br>
> Once I checkout and I run:<br>
><br>
> ./run -s<br>
><br>
><br>
> But I keep getting:<br>
><br>
> PostgreSQL is not available from <a href="http://calendarserver.org" target="_blank">calendarserver.org</a>; trying upstream source.<br>
> % Total % Received % Xferd Average Speed Time Time Time Current<br>
> Dload Upload Total Spent Left Speed<br>
> 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>
><br>
><br>
> I dont get the same issue on Mac OS (development laptop)<br>
><br>
> Please provide assistance.<br>
><br>
><br>
> Regards,<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> calendarserver-users mailing list<br>
> <a href="mailto:calendarserver-users@lists.macosforge.org">calendarserver-users@lists.macosforge.org</a><br>
> <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>