Blink build with Xcode failed

5,213

Solution 1

The reason this did not work is that you have a space between libgpg-error- and 1.10.tar.bz2:

curl -O ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error- 1.10.tar.bz2

If you run this it works:

curl -O ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.bz2

Solution 2

I managed to get it build on OS X Mavericks. I couldn't find an easy way to build those dependencies myself, so I copied them from one of their branded-Blink clients which is available for free.

I have created a gist with instructions: https://gist.github.com/lucaspiller/8194862

Share:
5,213

Related videos on Youtube

Merci
Author by

Merci

Updated on September 18, 2022

Comments

  • Merci
    Merci almost 2 years

    I found a GPL-ed SIP client for Mac, Blink. I'd like to build it from source since the binaries are only available as paid download.

    Just FYI i'm studying programming at university but have no experience in building complex application from source.

    After downloading the content of the repository i opened the Xcode project and tried to build on OS X 10.7, Xcode 4.2.1. Unfortunately the build fail with 1 error and many warnings Most of the warnings are like this:

    Attribute Unavailable: Custom Identifiers in Interface Builder versions prior to 3.2
    

    The error message is:

    Apple Mach-O Linker (ld) Error
    Command /Developer/usr/bin/clang failed with exit code 1
    

    preceded by the warning

    Apple Mach-O Linker (ld) Warning
    directory not found for option '-L/Users/Sergio/Downloads/Blink/devel.ag-projects.com/repositories/public/blink-cocoa/Distribution/Frameworks'
    

    I notice that in the list of required files i have this files missing:

    Dependencies/Frameworks
    libgcrypt.11.6.0.dylib
    libgcrypt.11.dylib
    libgnutls-extra.26.dylib
    libgnutls.26.dylib
    libgpg-error.0.dylib
    libintl.8.dylib
    liblzo.1.dylib
    libtasn1.3.dylib
    
    Dependencies/Resources
    lib
    
    Frameworks/Linked Frameworks
    Sparkle.framework
    
    Products
    Blink.app
    

    It should be possible to download these files somewhere. Unfortunately googling did not help. There's no documentation on the project site.

    As Kifosis said, people at the developer website are suggesting to follow this guide , unfortunately it's long, unclear (at least for me) and it seems i'll have to install a heck of dependencies, each one of them has a separate download website, separate instructions on how to build them and possibly separate dependencies as well.

    All of this seems to me to be very confusing, do i really have to install a bunch of softwares just since they did not include some files in the project directory? I know the GPL v3 may permit this, but it's only encouraging to rely on third party servers (possibly unavailable in the future) and support documentation, let alone when the provided link is too generic, letting people without a really suitable way to get things done.

    I'm no expert with installing this required dependencies, i followed the guide i mentioned but when i typed

    curl -O ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error- 1.10.tar.bz2
    

    the result was this one:

    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    curl: (78) RETR response: 550
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>302 Found</title>
    </head><body>
    <h1>Found</h1>
    <p>The document has moved <a href="http://ar.libero.it/nxd_an.html">here</a>.</p>
    </body></html>
    
    • bwDraco
      bwDraco almost 12 years
      @Noughsaid, register your account so that a moderator can merge your old account into your new account.