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

failed to make the code after following the readme guide in ubuntu #7

Open
gaowayne opened this issue Mar 16, 2023 · 0 comments
Open

Comments

@gaowayne
Copy link

Hello guys, maybe the mirror of alibaba is broken on this file. I failed to do a make following the starter guide as below

https://mirrors.aliyun.com/apache/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.tar.gz



olarx@wayne-VirtualBox:~/wayne/PolarDB-X$ make
if [ ! -d /opt/apache-maven-3.8.6 ]; then \
	sudo wget https://mirrors.aliyun.com/apache/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.tar.gz -P /tmp && \
	sudo tar xf /tmp/apache-maven-3.8.6-bin.tar.gz -C /opt && \
	sudo rm -f /tmp/apache-maven-3.8.6-bin.tar.gz && \
	sudo ln -fs /opt/apache-maven-3.8.6 /opt/maven && \
	echo 'export M2_HOME=/opt/maven' | sudo tee /etc/profile.d/maven.sh && \
	echo 'export PATH=${M2_HOME}/bin:${PATH}' | sudo tee -a /etc/profile.d/maven.sh && \
	sudo chmod +x /etc/profile.d/maven.sh && \
	echo '<mirror>' | sudo tee /opt/maven/conf/settings.xml && \
	echo '<id>aliyunmaven</id>' | sudo tee -a /opt/maven/conf/settings.xml && \
	echo '<mirrorOf>*</mirrorOf>' | sudo tee -a /opt/maven/conf/settings.xml && \
	echo '<name>aliyun public</name>' | sudo tee -a /opt/maven/conf/settings.xml && \
	echo '<url>https://maven.aliyun.com/repository/public</url>' | sudo tee -a /opt/maven/conf/settings.xml && \
	echo '</mirror>' | sudo tee -a /opt/maven/conf/settings.xml; \
fi
--2023-03-16 11:55:31--  https://mirrors.aliyun.com/apache/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.tar.gz
Resolving mirrors.aliyun.com (mirrors.aliyun.com)... 240e:e9:a807:0:203::3a5, 240e:e9:a807:0:203::3a6, 222.186.149.100, ...
Connecting to mirrors.aliyun.com (mirrors.aliyun.com)|240e:e9:a807:0:203::3a5|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-03-16 11:55:31 ERROR 404: Not Found.

make: *** [Makefile:210: deps] Error 8
polarx@wayne-VirtualBox:~/wayne/PolarDB-X$ 
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

1 participant