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

github里编译遇到错误,htop-3.0.2无法下载,原网站链接失效,有处理办法么? #532

Open
zxwmail opened this issue May 7, 2021 · 5 comments

Comments

@zxwmail
Copy link

zxwmail commented May 7, 2021

( if [ ! -f htop-3.0.2.tar.gz ]; then
wget -t5 --timeout=20 --no-check-certificate -O htop-3.0.2.tar.gz https://bintray.com/htop/source/download_file?file_path=htop-3.0.2.tar.gz;
fi )
--2021-05-05 01:33:30-- https://bintray.com/htop/source/download_file?file_path=htop-3.0.2.tar.gz
Resolving bintray.com (bintray.com)... 75.126.208.206
Connecting to bintray.com (bintray.com)|75.126.208.206|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-05-05 01:33:30 ERROR 404: Not Found.

make[2]: *** [download_test] Error 8
Makefile:9: recipe for target 'download_test' failed
make[2]: Leaving directory '/opt/rt-n56u/trunk/user/htop'
make[1]: *** [all] Error 2
Makefile:235: recipe for target 'all' failed
make[1]: Leaving directory '/opt/rt-n56u/trunk/user'
make: *** [user_only] Error 2
Makefile:202: recipe for target 'user_only' failed
Error: Process completed with exit code 2.

@DravenTJU
Copy link

在 trunk/user/htop Makefile 文件里,将 SRC_URL 更新为 https://github.com/hanwckf/rt-n56u/blob/master/trunk/user/htop/htop-3.0.2.tar.gz 就可以了。

@wingslu
Copy link

wingslu commented May 13, 2021

改完SRC_URL还得把下面extract_test里面的xzf改成-xzf

@xiaiohuan
Copy link

我以解决

@coolerhk
Copy link

coolerhk commented Jun 3, 2021

在 trunk/user/htop Makefile 文件里,将 SRC_URL 更新为 https://github.com/hanwckf/rt-n56u/blob/master/trunk/user/htop/htop-3.0.2.tar.gz 就可以了。

应该换成以下链接:
https://github.com/hanwckf/rt-n56u/raw/master/trunk/user/htop/htop-3.0.2.tar.gz

@xiaole51
Copy link

代码不维护了, 这错误还存在.

zxz054321 added a commit to zxz054321/rt-n56u that referenced this issue Sep 15, 2021
修复编译错误“htop-3.0.2无法下载,原网站链接失效”,原issue:chongshengB#532
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

6 participants