1. 14:17 28th Oct 2011

    notes: 8

    tags: tip

    Fixing Erlang checksum problem

    There is an installation problem on Erlang (R14B04) with Macport. When it tests its checksum, it produces ‘checksum error’ for opt_doc_html_R14B04.tar.gz. I googled on this and found some others reports. Weirdly, the file’s checksum was not updated in the Portfile of the package.

    It can be resolved with updating the checksum of the following into the Portfile:

    bash-3.2# openssl rmd160 < ./otp_doc_html_R14B04.tar.gz
    (stdin)= 0e44a933ae35fe95d1ecd9958c9e86ce398e259f
    bash-3.2# openssl sha1 < ./otp_doc_html_R14B04.tar.gz
    (stdin)= 86f76adee9bf953e5578d7998fda9e7dfc0d43f5

    And, then

    $ sudo port install elrang

    Plus: When a compilation fails, please add the following snippet into the ‘darwin 11’ section of the Profile.

    if {${configure.compiler} == “clang”}
    {   
       configure.compiler llvm-gcc-4.2 
    }
    configure.cflags-delete “-std=c99”

     
    1. oikonote10 posted this