Skip to content

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

@gaowayne

Description

@gaowayne

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$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions