cbrunet / python-poppler

Python binding to Poppler-cpp pdf library
GNU General Public License v2.0
97 stars 15 forks source link

Installation issue with pybind11.wrap #81

Open bakunin75 opened 11 months ago

bakunin75 commented 11 months ago

Hey, I'm struggling with the following problem. I have to build poppler behind a proxy, i.e. I have no direct internet access. Yet the install requires one to download pybind11 from github. Is there a way to change the pybind11 dependency somehow, use a custom source_url in the wrap file or something like this?

      The Meson build system
      Version: 1.2.3
      Source dir: /tmp/pip-install-7b10_g5_/python-poppler_76bcf6dbd94d427f98b8759336351404
      Build dir: /tmp/pip-install-7b10_g5_/python-poppler_76bcf6dbd94d427f98b8759336351404/.mesonpy-xuv01fdp
      Build type: native build
      Project name: python-poppler
      Project version: 0.4.1
      C++ compiler for the host machine: c++ (gcc 8.5.0 "c++ (GCC) 8.5.0 20210514 (Red Hat 8.5.0-18)")
      C++ linker for the host machine: c++ ld.bfd 2.30-119
      Host machine cpu family: x86_64
      Host machine cpu: x86_64
      Found pkg-config: /usr/bin/pkg-config (1.4.2)
      Run-time dependency poppler-cpp found: YES 20.11.0
      Program python3 found: YES (/usr/bin/python3.11)
      Downloading pybind11 source from https://github.com/pybind/pybind11/archive/refs/tags/v2.10.3.tar.gz
      <urlopen error [Errno -2] Name or service not known>
      WARNING: failed to download with error: could not get https://github.com/pybind/pybind11/archive/refs/tags/v2.10.3.tar.gz is the internet available?. Trying after a delay...
      <urlopen error [Errno -2] Name or service not known>