[build2] Unable to install build2 0.10.0 on Mac OS 10.14.4 (was: [odb-users] ODB 2.5.0)

Kingle Zhuang kingle.zhuang at ringcentral.com
Fri May 31 00:00:31 UTC 2019


Last login: Fri May 31 07:56:24 on console
(base) LMXMN212:~ kingle.zhuang$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.14.5
BuildVersion:	18F132
(base) LMXMN212:~ kingle.zhuang$ sysctl -n hw.ncpu
8
(base) LMXMN212:~ kingle.zhuang$ sysctl -n hw.memsize
17179869184
(base) LMXMN212:~ kingle.zhuang$ /usr/bin/open
open       opendiff   opensnoop  openssl    
(base) LMXMN212:~ kingle.zhuang$ /usr/bin/open
open       opendiff   opensnoop  openssl    
(base) LMXMN212:~ kingle.zhuang$ /usr/bin/open
open       opendiff   opensnoop  openssl    
(base) LMXMN212:~ kingle.zhuang$ /usr/bin/openssl --version
openssl:Error: '--version' is an invalid command.

Standard commands
asn1parse         ca                certhash          ciphers           
crl               crl2pkcs7         dgst              dh                
dhparam           dsa               dsaparam          ec                
ecparam           enc               errstr            gendh             
gendsa            genpkey           genrsa            nseq              
ocsp              passwd            pkcs12            pkcs7             
pkcs8             pkey              pkeyparam         pkeyutl           
prime             rand              req               rsa               
rsautl            s_client          s_server          s_time            
sess_id           smime             speed             spkac             
ts                verify            version           x509              

Message Digest commands (see the `dgst' command for more details)
gost-mac          md4               md5               md_gost94         
ripemd160         sha1              sha224            sha256            
sha384            sha512            streebog256       streebog512       
whirlpool         

Cipher commands (see the `enc' command for more details)
aes-128-cbc       aes-128-ecb       aes-192-cbc       aes-192-ecb       
aes-256-cbc       aes-256-ecb       base64            bf                
bf-cbc            bf-cfb            bf-ecb            bf-ofb            
camellia-128-cbc  camellia-128-ecb  camellia-192-cbc  camellia-192-ecb  
camellia-256-cbc  camellia-256-ecb  cast              cast-cbc          
cast5-cbc         cast5-cfb         cast5-ecb         cast5-ofb         
chacha            des               des-cbc           des-cfb           
des-ecb           des-ede           des-ede-cbc       des-ede-cfb       
des-ede-ofb       des-ede3          des-ede3-cbc      des-ede3-cfb      
des-ede3-ofb      des-ofb           des3              desx              
rc2               rc2-40-cbc        rc2-64-cbc        rc2-cbc           
rc2-cfb           rc2-ecb           rc2-ofb           rc4               
rc4-40            

(base) LMXMN212:~ kingle.zhuang$ /usr/bin/openssl version
LibreSSL 2.6.5



On 5/30/19, 6:46 PM, "Boris Kolpackov" <boris at codesynthesis.com> wrote:

    [Changing the mailing list to users at build2.org]
    
    Kingle Zhuang <kingle.zhuang at ringcentral.com> writes:
    
    > By the way, I installed build2 according to the documentation
    > [https://urldefense.proofpoint.com/v2/url?u=https-3A__build2.org_install.xhtml&d=DwIBAg&c=fxtm8VyUXgCVDKhi9yIVsVsjq1ocZ-LZVehzdzjopw0&r=-h5cCTUebAX5iBiy5e8p2yBktDE1lF2eG68a_tt_aQw&m=I2YSBAwhbX1z4Bg-zRVe0U58UlxD-n18_DmAYhfNG4k&s=aIr8apOhF4fqsBWfZ9pJ1N052hgezs3BZgf1-Oaw4ig&e= ]. I tried two mac[10.14.4] machines that
    > were not installed successfully, so I can't use the build2 tool. I tried
    > 0.10 and 0.9.
    >
    > Now I know how to fix build2 installation issues.
    >
    > 1. First can not use mac build-in openssl, should install openssl 1.1 or 1.0
    >    through third party tools like homebrew
    >
    > 2. copy openssl to /usr/local/bin, copy include files to /usr/local/include,
    >    copy lib files to /usr/local/lib
    >
    > 3. sh build2-install-0.10.0.sh -j 1, else failure on some machines due to
    >    display 'can not execute clang++: too many open files'
    
    Interesting, thanks for the report and workarounds. Could you run the
    following commands and send the output:
    
    $ sw_vers
    $ sysctl -n hw.ncpu
    $ sysctl -n hw.memsize
    $ /usr/bin/openssl --version
    



More information about the users mailing list