[ https://issues.apache.org/jira/browse/MADLIB-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16723740#comment-16723740 ]
Nikhil commented on MADLIB-1289: -------------------------------- [~Jiangs] Thanks for reporting the issue. MADlib uses cmake's *file* function to download third party dependencies. It is possible that either your curl or your cmake wasn't compiled with openssl. From [https://cmake.org/cmake/help/v3.0/command/file.html] {code} For https URLs CMake must be built with OpenSSL {code} Also see this https://stackoverflow.com/questions/29816529/unsupported-protocol-while-download-tar-gz-package If you still can't get past this error, you can manually download the three dependencies and then pass along the file paths to cmake Step 1. Download all the dependencies 1. wget http://sourceforge.net/projects/boost/files/boost_1_61_0.tar.gz 2. wget https://github.com/madlib/eigen/archive/branches/3.2.tar.gz 3. wget http://sourceforge.net/projects/pyxb/files/PyXB-1.2.6.tar.gz Step 2: Run cmake {code} cmake -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBOOST_TAR_SOURCE=/path/to/boost_1_61_0.tar.gz -DEIGEN_TAR_SOURCE=/path/to/3.2.tar.gz -DPYXB_TAR_SOURCE=/path/to/PyXB-1.2.6.tar.gz .. {code} > error: downloading(Unsupported protocol) in Compiling From Source > ----------------------------------------------------------------- > > Key: MADLIB-1289 > URL: https://issues.apache.org/jira/browse/MADLIB-1289 > Project: Apache MADlib > Issue Type: Bug > Reporter: jiangshuai > Priority: Major > > [root@master build]# make > Scanning dependencies of target EP_eigen > [ 0%] Creating directories for 'EP_eigen' > [ 0%] Performing download step (download, verify and extract) for 'EP_eigen' > -- downloading... > src='https://github.com/madlib/eigen/archive/branches/3.2.tar.gz' > dst='/root/madlib-rel-v1.15.1/build/third_party/downloads/3.2.tar.gz' > timeout='none' > CMake Error at EP_eigen-stamp/download-EP_eigen.cmake:21 (message): > error: downloading > 'https://github.com/madlib/eigen/archive/branches/3.2.tar.gz' failed > status_code: 1 > status_string: "Unsupported protocol" > log: Protocol "https" not supported or disabled in libcurl > Closing connection -1 > > [root@master build]# curl --version > curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.36 zlib/1.2.7 > libidn/1.28 libssh2/1.4.3 > Protocols: dict file ftp ftps gopher http{color:#d04437} +*https*+{color} > imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp > Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz > unix-sockets > > I‘m not sure if it is a bug,maybe it is my env problem. > I didn't find anything in google,so I hope can get more support. > > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)