Comments (16)
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
from pycares.
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
from pycares.
What error do you get then?
from pycares.
What error do you get then?
It says ares.h is missing
from pycares.
I see -Ideps/c-ares/include
in the compiler line, the file is there so this is weird.
from pycares.
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
from pycares.
Or make sure the submodule is downloaded.
from pycares.
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
from pycares.
Did you try with the submodule? That would use the bundled one.
from pycares.
Did you try with the submodule? That would use the bundled one.
I dont understand what your talking about sorry im not a programmer
from pycares.
No worries. How did you download the pycares source code
from pycares.
No worries. How did you download the pycares source code
from here not pip
from pycares.
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
from pycares.
No worries. How did you download the pycares source code
from here not pip
What exact command did you use?
from pycares.
No worries. How did you download the pycares source code
from here not pip
What exact command did you use?
python setup.py install
from pycares.
I meant download it.
from pycares.
Related Issues (20)
- 4.0.0 Q: how to build pycares against system installed c-ares ? HOT 2
- deps/c-ares/src/lib/ares__close_sockets.c: No such file or directory HOT 3
- gethostbyname() does not appear to work with lookups="f"
- python3 setup.py build failed in [email protected] on centos8_aarch64 HOT 2
- CNAME answers to A request HOT 6
- pytest failed in [email protected] on centos8_aarch64 HOT 1
- Error FileNotFound when installing pycares==4.1.1 HOT 8
- 4.1.2: pytest is failing HOT 5
- `pycares.reverse_address` Import Error HOT 2
- Security vulnerability HOT 2
- 4.2.0: sphinx warnings `reference target not found` HOT 2
- 3.11 wheels HOT 2
- Can't build from sources on EL8 HOT 3
- 4.2.2: pytest is failing in two units HOT 8
- Fail to install on centos docker HOT 4
- 4.3.0: pytest is failing in `tests/test_all.py::DNSTest::test_custom_resolvconf` unit HOT 5
- test_query_class_chaos started failing
- TLSA record HOT 2
- Update c-ares to 1.24 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycares.