apache / incubator-pegasus

Apache Pegasus - A horizontally scalable, strongly consistent and high-performance key-value store
https://pegasus.apache.org/
Apache License 2.0
1.99k stars 312 forks source link

How can I obtain the pre-built version packages instead of building from the source code myself? #2130

Open lsasta opened 1 month ago

lsasta commented 1 month ago

General Question

Could you please tell me, is there a pre-built tar package for each version? It's quite troublesome to package and build based on the image, and accessing the external network often times out with slow downloads. Or where can I obtain the pre-built packages?

lsasta commented 1 month ago

download timeout

image
lsasta commented 1 month ago

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 33:03 min [INFO] Finished at: 2024-10-01T22:03:30+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.apache.maven.plugins:maven-javadoc-plugin:3.1.1 or one of its dependencies could not be resolved: Could not transfer artifact org.apache.maven.plugins:maven-javadoc-plugin:jar:3.1.1 from/to central (https://repo.maven.apache.org/maven2): GET request of: org/apache/maven/plugins/maven-javadoc-plugin/3.1.1/maven-javadoc-plugin-3.1.1.jar from central failed: Read timed out -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException make[2]: *** [CMakeFiles/zookeeper.dir/build.make:117: Stamp/zookeeper/zookeeper-patch] Error 1 make[1]: *** [CMakeFiles/Makefile2:390: CMakeFiles/zookeeper.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....

ruojieranyishen commented 1 week ago

You can follow dockerfile to build. https://github.com/apache/incubator-pegasus/blob/master/docker/pegasus-build-env/ubuntu2004/Dockerfile

Try update maven settings to build.

sudo cp /usr/share/maven/conf/settings.xml /usr/share/maven/conf/settings.xmlold
sudo vim /usr/share/maven/conf/settings.xml
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">

    <mirrors>
<mirror>
<id>nexus-tencentyun</id>
<mirrorOf>*</mirrorOf>
<name>Nexus tencent下·yun</name>
<url>http://mirrors.cloud.tencent.com/nexus/repository/maven-public/</url>
</mirror>
    </mirrors>
</settings>