Code Monkey home page Code Monkey logo

Comments (16)

romanovj avatar romanovj commented on July 4, 2024 1

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.

023948799e213e21b53eb83785356208 avatar 023948799e213e21b53eb83785356208 commented on July 4, 2024

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.

saghul avatar saghul commented on July 4, 2024

What error do you get then?

from pycares.

023948799e213e21b53eb83785356208 avatar 023948799e213e21b53eb83785356208 commented on July 4, 2024

What error do you get then?

It says ares.h is missing

from pycares.

saghul avatar saghul commented on July 4, 2024

I see -Ideps/c-ares/include in the compiler line, the file is there so this is weird.

from pycares.

romanovj avatar romanovj commented on July 4, 2024

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.

saghul avatar saghul commented on July 4, 2024

Or make sure the submodule is downloaded.

from pycares.

023948799e213e21b53eb83785356208 avatar 023948799e213e21b53eb83785356208 commented on July 4, 2024

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.

saghul avatar saghul commented on July 4, 2024

Did you try with the submodule? That would use the bundled one.

from pycares.

023948799e213e21b53eb83785356208 avatar 023948799e213e21b53eb83785356208 commented on July 4, 2024

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.

saghul avatar saghul commented on July 4, 2024

No worries. How did you download the pycares source code

from pycares.

023948799e213e21b53eb83785356208 avatar 023948799e213e21b53eb83785356208 commented on July 4, 2024

No worries. How did you download the pycares source code

from here not pip

from pycares.

romanovj avatar romanovj commented on July 4, 2024
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.

saghul avatar saghul commented on July 4, 2024

No worries. How did you download the pycares source code

from here not pip

What exact command did you use?

from pycares.

023948799e213e21b53eb83785356208 avatar 023948799e213e21b53eb83785356208 commented on July 4, 2024

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.

saghul avatar saghul commented on July 4, 2024

I meant download it.

from pycares.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.