JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for MOONSHOT-COMMUNITY Archives


MOONSHOT-COMMUNITY Archives

MOONSHOT-COMMUNITY Archives


MOONSHOT-COMMUNITY@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

MOONSHOT-COMMUNITY Home

MOONSHOT-COMMUNITY Home

MOONSHOT-COMMUNITY  May 2017

MOONSHOT-COMMUNITY May 2017

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Failure to build mech_eap on Mac?

From:

Ivan Aleksovski <[log in to unmask]>

Reply-To:

Ivan Aleksovski <[log in to unmask]>

Date:

Wed, 17 May 2017 08:27:52 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (35 lines)

Here is my detailed journal from building Latest heimdal version with xCode at MacOS 12.4 with the same version of SDK.

1. Download the latest heimdal source Heimdal-498.50.8.tar.gz from https://opensource.apple.com/tarballs/Heimdal/ 
2. Run in xcode.
3. Autogenerate all missing targets.
4. Build Heimdal target -> Error. Issues with wind library headers. 
5. Remove the wind library because it is windows only.
6. Build Heimdal target -> Error. heimdal-asn1_compile and heimdal-compile_et not in path. 
7. Build heimdal-asn1_compile and heimdal-compile_et manually and add them to $PATH.
8. Build Heimdal target -> Error. 'CoreFoundation/CFRuntime.h' file not found
9. Download CFRuntime.h from https://opensource.apple.com/source/CF/CF-855.17/CFRuntime.h
10. Include it on various needed places.
11. Build Heimdal target -> Error. CommonRandomSPI.h missing
12. Inlcude CommonRandomSPI.h from https://opensource.apple.com/source/CommonCrypto/CommonCrypto-60092.50.5/include/
13. Build Heimdal target -> Error. corecrypto/ccrng_system.h missing.
14. Include ccrng_system.h from https://opensource.apple.com/source/xnu/xnu-3248.60.10/EXTERNAL_HEADERS/corecrypto/ccrng_system.h.auto.html.
15. Build Heimdal target -> Error xpc/private.h missing.
16. Inlcude xpc/private.h from https://raw.githubusercontent.com/samdmarshall/OSXPrivateSDK/master/PrivateSDK10.10.sparse.sdk/usr/include/xpc/private.h
17. Build Heimdal target -> Error #include <corecrypto/ccrng.h> is missing.
18.  Inlude ccrng.h from https://opensource.apple.com/source/xnu/xnu-3248.60.10/EXTERNAL_HEADERS/corecrypto/ccrng.h.auto.html
19.  Build Heimdal target -> Error <dispatch/private.h> is missing.
20. Inlude <dispatch/private.h> from https://opensource.apple.com/source/libdispatch/libdispatch-84.5/src/private.h.auto.html
21.  Inlude various dispatch headers from https://opensource.apple.com/source/libdispatch/libdispatch-84.5
22. Build Heimdal target -> bootstrap_priv.h is missing.
23. Include from bootstrap_priv.h https://opensource.apple.com/source/launchd/launchd-328/launchd/src/bootstrap_priv.h
24. Build Heimdal target -> #include <CommonCrypto/CommonDigestSPI.h> is missing.
25. Include CommonDigestSPI.h from https://opensource.apple.com/source/CommonCrypto/CommonCrypto-55010/Source/CommonCryptoSPI/CommonDigestSPI.h
26. Build Heimdal target -> SecKeyPriv.h is missing. 
27. Include SecKeyPriv.h from https://opensource.apple.com/source/libsecurity_keychain/libsecurity_keychain-55035/lib/SecKeyPriv.h
28. Build Heimdal target -> There are various errors and incompatibilities between types and expected method declarations. 



Here i stopped because even if i find way around to fool the compiler with fiddled header file, the binary will be incompatible with the method calls and expectations in the code that uses SecKeyPriv.h. So, any suggestions are welcome.



Meanwhile, i tried different approach, with downloading the installer package from http://www.h5l.org/dist/src/ that inside have the framework headers and binaries. I extracted them and linked meach_eap against these and tried to build but without luck. But i am not sure if the issues were directly related to heimdal framework or because i did something else wrong. I will go once again down the road with this approach, document every step and post it here, so you guys can give me your opinion.

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

March 2022
December 2021
October 2021
September 2021
August 2021
June 2021
April 2021
February 2021
January 2021
December 2020
November 2020
October 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
January 2020
November 2019
October 2019
September 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
June 2018
April 2018
November 2017
October 2017
September 2017
August 2017
July 2017
May 2017
April 2017
March 2017
February 2017
November 2016
October 2016
August 2016
July 2016
June 2016
May 2016
March 2016
February 2016
January 2016
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager