Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lsasta opened this issue Oct 1, 2024 · 3 comments

Comments

@lsasta
Copy link

lsasta commented Oct 1, 2024

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
Copy link
Author

lsasta commented Oct 1, 2024

download timeout
image

@lsasta
Copy link
Author

lsasta commented Oct 1, 2024

[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
Copy link
Collaborator

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants