Menu

Updated build instructions

2018-08-23
2018-08-28
  • Vasantha Crabb

    Vasantha Crabb - 2018-08-23

    I decided to have a go at building the latest for Snow Leopard (just for personal use), but the instructions here are apparently outdated - it says at the top that modified GCC 6 is required, but provides no hints on how to use it. I have MacPorts GCC 6 and clang 5 installed. Is it possible to use one of these compilers to build WebKit?

    Also, assuming I can follow the instructions and build WebKit and Security projects (the instructions look kinda scary), how do I go about using them? I don't see a simple set of steps for what to do with the build products.

    (Sorry if the questions are dumb.)

     
  • Anonymous

    Anonymous - 2018-08-23

    Trying to follow the instructions for building the Security framework, I can't seem to get the projects to find their headers.

    The first problem I run into is failure to install headers for libsecurity_comcryption and libsecurity_cryptkit (note that these are the two subprojects where the instructions specify to checkout trunk rather than a tag). I get this kind of error for beoth of them:

    xcodebuild: Warning: configuration Deployment is not in the project.  Building default configuration.
    
    === INSTALL HEADERS FOR NATIVE TARGET libsecurity_comcryption OF PROJECT libsecurity_comcryption WITH THE DEFAULT CONFIGURATION (Release) ===
    Check dependencies
    The file lib.xcconfig couldnt be opened because there is no such file. (.../leopard-webkit/Security/config/lib.xcconfig)
    [WARN]The file lib.xcconfig couldnt be opened because there is no such file. (.../leopard-webkit/Security/config/lib.xcconfig)
    The file release.xcconfig couldnt be opened because there is no such file. (.../leopard-webkit/Security/config/release.xcconfig)
    [WARN]The file release.xcconfig couldnt be opened because there is no such file. (.../leopard-webkit/Security/config/release.xcconfig)
    Build setting PRODUCT_NAME undefined
    Build setting PRODUCT_NAME undefined
    ** BUILD FAILED **
    

    I can build libsecurity_utilities, but any dependnt project fails to build. I think the failure to build libsecurity_comcryption and friends might be the root cause of it, but I'm not sure what to do about it. Should I be checking out a tag rather than trunk?

     
    • Tobias Netzel

      Tobias Netzel - 2018-08-28

      Those missing files should be created by applying the patch. Maybe you forgot to use '--strip 3' instead of '--strip 2'?

       

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB