<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Thanks Rob!</p>
    <p>I had put CalendarServer on Ubuntu on my back burner for seeing
      the same errors you reported.</p>
    <p>Definitely appreciate the insight!</p>
    <p><br>
    </p>
    <p>Jeff</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 2/17/17 4:50 PM, Rob Archibald
      wrote:<br>
    </div>
    <blockquote
      cite="mid:040401d28981$0d93c420$28bb4c60$@robarchibald.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1353189754;
        mso-list-type:hybrid;
        mso-list-template-ids:-1475811230 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D">Nevermind.
            After tracking it down deep enough to be able to ask the
            question, the answer wasn’t far away. Turns out that after a
            bit more digging, I found that my system didn’t have ldap.h
            available. After a simple <span
              style="background:silver;mso-highlight:silver">apt-get
              install libldap2-dev</span>, it finished with no errors.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
                Rob Archibald [<a class="moz-txt-link-freetext" href="mailto:rob@robarchibald.com">mailto:rob@robarchibald.com</a>] <br>
                <b>Sent:</b> Friday, February 17, 2017 4:38 PM<br>
                <b>To:</b> '<a class="moz-txt-link-abbreviated" href="mailto:calendarserver-users@lists.macosforge.org">calendarserver-users@lists.macosforge.org</a>'<br>
                <b>Subject:</b> Error on bin/develop<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I’m running Calendar Server 9.0 on Ubuntu
          16.04.1. It seems to be working fine, but I have this nagging
          error in the back of my mind that makes me worry that
          something still isn’t quite right. When I run bin/develop, I
          receive the following error: <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span
            style="background:silver;mso-highlight:silver">.../ccs-calendarserver-CalendarServer-9.0/bin/_py.sh:
            line 104: [: # 1 "&lt;stdin&gt;": integer expression
            expected<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="background:silver;mso-highlight:silver">.../ccs-calendarserver-CalendarServer-9.0/bin/_py.sh:
            line 109: [: # 1 "&lt;stdin&gt;": integer expression
            expected</span><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">It works even though I receive this error,
          so I’m trying to understand it to see if it matters. This is
          in the middle of a function called cmp_version which is
          expecting numeric arguments. It receives these 2 values:<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><span
            style="mso-list:Ignore">1.<span style="font:7.0pt
              &quot;Times New Roman&quot;">       </span></span><!--[endif]-->20428
          – seems OK<o:p></o:p></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><span
            style="mso-list:Ignore">2.<span style="font:7.0pt
              &quot;Times New Roman&quot;">       </span></span><!--[endif]-->#
          1 "&lt;stdin&gt;" – looks bad to me<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">It looks like the c_macro function is the
          source of the bad 2<sup>nd</sup> value. From what I can tell,
          the function is being called on ldap.h and trying to get
          LDAP_VENDOR_VERSION, but instead gets back the bogus value.
           I’m guessing this means LDAP won’t work for me?<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Blessings,<o:p></o:p></p>
        <p class="MsoNormal">Rob Archibald, M.M.<o:p></o:p></p>
        <p class="MsoNormal">CTO, EndFirst LLC<o:p></o:p></p>
        <p class="MsoNormal">Founder and Music Director, Ensign Symphony
          &amp; Chorus<o:p></o:p></p>
        <p class="MsoNormal"><a moz-do-not-send="true"
            href="mailto:rob@robarchibald.com">rob@robarchibald.com</a><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
calendarserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:calendarserver-users@lists.macosforge.org">calendarserver-users@lists.macosforge.org</a>
<a class="moz-txt-link-freetext" href="https://lists.macosforge.org/mailman/listinfo/calendarserver-users">https://lists.macosforge.org/mailman/listinfo/calendarserver-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>