Closed TapuA closed 3 years ago
end with
configure: exit 1
step1. upgrade the ndk-pkg to the latest version
ndk-pkg upgrade-self οΌfor older version
ndk-pkg upgrade οΌ self #for newer version
step2. update the formula-repository to the latest version
ndk-pkg update
step3. install packages what you want
ndk-pkg install gnutls
when facing problems, try above steps first.
gnutls
is built successfully on ubuntu-20.04
in my Github Actions CI
if you still facing problems after trying above steps, please attach full install logs here, the install logs location is ~/.ndk-pkg/cache.d/log.d/$PACKAGE
upgrade-self failed. Can access to github.com, but can not access to upgrade url
root@ub:/home/liuhao# ndk-pkg upgrade-self ==> mktemp -d ==> cd /tmp/tmp.tkUzhhe775 ==> curl --fail --retry 20 --retry-delay 30 --location -o /tmp/tmp.tkUzhhe775/self 'https://raw.githubusercontent.com/leleliu008/ndk-pkg/master/bin/ndk-pkg' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to raw.githubusercontent.com:443
Do you in China at the moment? If yes, please try running ndk-pkg upgrade-self --china
, --china
argument will force ndk-pkg using GitHub's Chinese mirror.
Yes. It works with -china, thank you very much.
upgrade-self works. install nettle gnutls still fail. I email log to you because of attach log here also fail.
attach files successfully when open v2ray...
configure: error: Cannot find 'makeinfo', required for documentation.
You must install makeinfo
command on your build machine.
makeinfo
command is ususally part of the texinfo
package in your distribution.
try following instruction to install :
sudo apt -y install texinfo
thank you !!!
I follow this guide to install gnutls, but fail when install nettle. I can't solve
http://blog.fpliu.com/project/ndk-pkg/package?name=gnutls
Ubuntu 20.04
NDK android-ndk-r21e
errors:
=>> STEP 9 : build for native π₯ no build0 function defined in formula, skipped.
=>> STEP 12 : calculate dependencies π₯ graphviz is not installed. we do not generate png format dependency image. ββββββββββ β nettle β ββββββββββ β β βΌ ββββββββββ β gmp β ββββββββββ
[β] install nettle/armeabi-v7a failed! you can go to /tmp/tmp.w4KPQ6KaXM to see see.