apache / doris

Apache Doris is an easy-to-use, high performance and unified analytics database.
https://doris.apache.org
Apache License 2.0
12.39k stars 3.22k forks source link

build.sh fails due to sourceware.org #4916

Open LutzWeischerFujitsu opened 3 years ago

LutzWeischerFujitsu commented 3 years ago

... Downloading bzip2-1.0.8.tar.gz from ftp://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz to /data/jw/apache/doris/thirdparty/src --2020-11-17 14:30:45-- ftp://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz => ‘/data/jw/apache/doris/thirdparty/src/bzip2-1.0.8.tar.gz’ Resolving sourceware.org (sourceware.org)... failed: Name or service not known. wget: unable to resolve host address ‘sourceware.org’ Failed to download bzip2-1.0.8.tar.gz. attemp: 1 /data/jw/apache/doris/thirdparty/src/bzip2-1.0.8.tar.gz md5sum check failed! except-md5 67e051268d0c475ea773822f7500d0e5 actual-md5 d41d8cd98f00b204e9800998ecf8427e /data/jw/apache/doris/thirdparty/src/bzip2-1.0.8.tar.gz Archive bzip2-1.0.8.tar.gz will be removed and download again. Failed to download bzip2-1.0.8.tar.gz Failed to download bzip2-1.0.8.tar.gz

morningman commented 3 years ago

You can try execute:

export REPOSITORY_URL=https://doris-thirdparty-repo.bj.bcebos.com/thirdparty

And then sh build-thirdparty.sh

But we highly recommended to use docker dev image to build Doris, instead compling thirdparty yourself.

LutzWeischerFujitsu commented 3 years ago

Installed zlib-devel, but ./thirdparty/build-thirdparty.sh fails with ... checking zlib version... ok (1.2.0.4 or later) checking for library containing zlibVersion... no configure: error: in /data/jw/apache/doris/thirdparty/src/protobuf-3.5.1': configure: error: --with-zlib was given, but no working zlib library was found Seeconfig.log' for more details