Open 023948799e213e21b53eb83785356208 opened 8 months ago
pkg install c-ares
wget https://files.pythonhosted.org/packages/1b/8f/daf60bbc06f4a3cd1cfb0ab807057151287df6f5c78f2e0d298acc9193ac/pycares-4.4.0.tar.gz
tar -xf pycares-4.4.0.tar.gz
sed -i s/'#define HAVE_GETSERVBYPORT_R 1'//g ./pycares-4.4.0/deps/build-config/config_android/ares_config.h
pip install ./pycares-4.4.0
pkg install c-ares
wget https://files.pythonhosted.org/packages/1b/8f/daf60bbc06f4a3cd1cfb0ab807057151287df6f5c78f2e0d298acc9193ac/pycares-4.4.0.tar.gz tar -xf pycares-4.4.0.tar.gz sed -i s/'#define HAVE_GETSERVBYPORT_R 1'//g ./pycares-4.4.0/deps/build-config/config_android/ares_config.h pip install ./pycares-4.4.0
No the pycares for arm8/arm7 is missing
What error do you get then?
What error do you get then?
It says ares.h is missing
I see -Ideps/c-ares/include
in the compiler line, the file is there so this is weird.
pkg install c-ares
wget https://files.pythonhosted.org/packages/1b/8f/daf60bbc06f4a3cd1cfb0ab807057151287df6f5c78f2e0d298acc9193ac/pycares-4.4.0.tar.gz tar -xf pycares-4.4.0.tar.gz sed -i s/'#define HAVE_GETSERVBYPORT_R 1'//g ./pycares-4.4.0/deps/build-config/config_android/ares_config.h pip install ./pycares-4.4.0
No the pycares for arm8/arm7 is missing
did you install c-ares package?
~ $ apt-file search /ares.h
c-ares: /data/data/com.termux/files/usr/include/ares.h
Or make sure the submodule is downloaded.
pkg install c-ares
wget https://files.pythonhosted.org/packages/1b/8f/daf60bbc06f4a3cd1cfb0ab807057151287df6f5c78f2e0d298acc9193ac/pycares-4.4.0.tar.gz tar -xf pycares-4.4.0.tar.gz sed -i s/'#define HAVE_GETSERVBYPORT_R 1'//g ./pycares-4.4.0/deps/build-config/config_android/ares_config.h pip install ./pycares-4.4.0
No the pycares for arm8/arm7 is missing
did you install c-ares package?
~ $ apt-file search /ares.h c-ares: /data/data/com.termux/files/usr/include/ares.h
Yes i did all of that
Did you try with the submodule? That would use the bundled one.
Did you try with the submodule? That would use the bundled one.
I dont understand what your talking about sorry im not a programmer
No worries. How did you download the pycares source code
No worries. How did you download the pycares source code
from here not pip
git clone --recurse-submodules https://github.com/saghul/pycares
sed -i s/'#define HAVE_GETSERVBYPORT_R 1'//g ./pycares/deps/build-config/config_android/ares_config.h
pip install ./pycares
No worries. How did you download the pycares source code
from here not pip
What exact command did you use?
No worries. How did you download the pycares source code
from here not pip
What exact command did you use?
python setup.py install
I meant download it.
im using termux but when i do python setup.py install this error appears:
gcc is also installed