No subject


Tue May 3 15:05:30 PDT 2016


to get LDAP_VENDOR_VERSION, but instead gets back the bogus value.  =
I=E2=80=99m guessing this means LDAP won=E2=80=99t work for me?

=20

=20

Blessings,

Rob Archibald, M.M.

CTO, EndFirst LLC

Founder and Music Director, Ensign Symphony & Chorus

 <mailto:rob at robarchibald.com> rob at robarchibald.com

=20

_______________________________________________
calendarserver-users mailing list
calendarserver-users at lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/calendarserver-users

=20


------=_NextPart_000_043D_01D28947.700C3FE0
Content-Type: text/html;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta =
name=3DGenerator content=3D"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;}
@font-face
	{font-family:Geneva;
	panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","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.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.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;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Agreed. Fix could either be in the c_macro function or in find_header =
which calls it. And, a graceful exit could solve a lot of documentation =
and configuration confusion as well.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
dre at apple.com [mailto:dre at apple.com] <br><b>Sent:</b> Friday, February =
17, 2017 4:54 PM<br><b>To:</b> Rob Archibald<br><b>Cc:</b> =
calendarserver-users at lists.macosforge.org<br><b>Subject:</b> Re: =
[CalendarServer-users] Error on =
bin/develop<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Hi,<o:p></o:p></p><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>Yes, installing that ldap package is the right thing =
to do, however this probably also indicates a bug (or at least, =
'opportunity for enhancement') in the bin/develop flow... If you don't =
actually use LDAP (instead using local xml files for directory service =
data), then it probably won't affect you either =
way.<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>-dre<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><blockquote =
style=3D'margin-top:5.0pt;margin-bottom:5.0pt'><div><p =
class=3DMsoNormal>On Feb 17, 2017, at 4:50 PM, Rob Archibald &lt;<a =
href=3D"mailto:rob at robarchibald.com">rob at robarchibald.com</a>&gt; =
wrote:<o:p></o:p></p></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Nevermind. After tracking it down deep enough to be able to ask the =
question, the answer wasn=E2=80=99t far away. Turns out that after a bit =
more digging, I found that my system didn=E2=80=99t have ldap.h =
available. After a simple<span =
class=3Dapple-converted-space>&nbsp;</span><span =
style=3D'background:silver'>apt-get install libldap2-dev</span>, it =
finished with no errors.</span><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p>=
</span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p>=
</span></p></div><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><div><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span class=3Dapple-converted-space><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;</span=
></span><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Rob =
Archibald [<a =
href=3D"mailto:rob at robarchibald.com">mailto:rob at robarchibald.com</a>]<spa=
n class=3Dapple-converted-space>&nbsp;</span><br><b>Sent:</b><span =
class=3Dapple-converted-space>&nbsp;</span>Friday, February 17, 2017 =
4:38 PM<br><b>To:</b><span =
class=3Dapple-converted-space>&nbsp;</span>'<a =
href=3D"mailto:calendarserver-users at lists.macosforge.org">calendarserver-=
users at lists.macosforge.org</a>'<br><b>Subject:</b><span =
class=3Dapple-converted-space>&nbsp;</span>Error on =
bin/develop</span><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p>=
</span></p></div></div></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>&nbsp;<o:p>=
</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>I=E2=80=99m=
 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=E2=80=99t quite right. When I run =
bin/develop, I receive the following error:<span =
class=3Dapple-converted-space>&nbsp;</span><o:p></o:p></span></p></div><d=
iv><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>&nbsp;<o:p>=
</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";background:s=
ilver'>.../ccs-calendarserver-CalendarServer-9.0/bin/_py.sh: line 104: =
[: # 1 &quot;&lt;stdin&gt;&quot;: integer expression =
expected</span><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p>=
</span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";background:s=
ilver'>.../ccs-calendarserver-CalendarServer-9.0/bin/_py.sh: line 109: =
[: # 1 &quot;&lt;stdin&gt;&quot;: integer expression =
expected</span><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p>=
</span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>&nbsp;<o:p>=
</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>It works =
even though I receive this error, so I=E2=80=99m 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></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>&nbsp;<o:p>=
</o:p></span></p></div><div style=3D'margin-left:.5in'><p =
class=3DMsoNormal style=3D'text-indent:-.25in'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>1.</span><s=
pan style=3D'font-size:7.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3Dapple-converted-space>&nbsp;</span></span><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>20428 =
=E2=80=93 seems OK<o:p></o:p></span></p></div><div =
style=3D'margin-left:.5in'><p class=3DMsoNormal =
style=3D'text-indent:-.25in'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>2.</span><s=
pan style=3D'font-size:7.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3Dapple-converted-space>&nbsp;</span></span><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'># 1 =
&quot;&lt;stdin&gt;&quot; =E2=80=93 looks bad to =
me<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>&nbsp;<o:p>=
</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>It looks =
like the c_macro function is the source of the bad 2<sup>nd</sup><span =
class=3Dapple-converted-space>&nbsp;</span>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. =
&nbsp;I=E2=80=99m guessing this means LDAP won=E2=80=99t work for =
me?<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>&nbsp;<o:p>=
</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>&nbsp;<o:p>=
</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>Blessings,<=
o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>Rob =
Archibald, M.M.<o:p></o:p></span></p></div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>CTO, =
EndFirst LLC<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>Founder =
and Music Director, Ensign Symphony &amp; =
Chorus<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'><a =
href=3D"mailto:rob at robarchibald.com"><span =
style=3D'color:purple'>rob at robarchibald.com</span></a><o:p></o:p></span><=
/p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>&nbsp;<o:p>=
</o:p></span></p></div><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Geneva","serif"'>_________________=
______________________________<br>calendarserver-users mailing =
list<br><a =
href=3D"mailto:calendarserver-users at lists.macosforge.org">calendarserver-=
users at lists.macosforge.org</a><br><a =
href=3D"https://lists.macosforge.org/mailman/listinfo/calendarserver-user=
s">https://lists.macosforge.org/mailman/listinfo/calendarserver-users</a>=
</span><o:p></o:p></p></div></blockquote></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></body></html>
------=_NextPart_000_043D_01D28947.700C3FE0--



More information about the calendarserver-users mailing list