-
Notifications
You must be signed in to change notification settings - Fork 240
Closed
Description
sudo -u www-data -H /var/www/MISP/venv/bin/pip install misp-modules[all]
pdftotext seems to make issues:
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: pdftotext
Building wheel for pdftotext (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pdftotext (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
<string>:54: SyntaxWarning: invalid escape sequence '\i'
<string>:55: SyntaxWarning: invalid escape sequence '\l'
running bdist_wheel
running build
running build_ext
building 'pdftotext' extension
creating build/temp.linux-x86_64-cpython-312
x86_64-linux-gnu-g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -DPOPPLER_CPP_AT_LEAST_0_58_0=0 -DPOPPLER_CPP_AT_LEAST_0_88_0=0 -I/var/www/MISP/venv/include -I/usr/include/python3.12 -c pdftotext.cpp -o build/temp.linux-x86_64-cpython-312/pdftotext.o -Wall
pdftotext.cpp:3:10: fatal error: poppler/cpp/poppler-document.h: No such file or directory
3 | #include <poppler/cpp/poppler-document.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pdftotext
Failed to build pdftotext
ERROR: Could not build wheels for pdftotext, which is required to install pyproject.toml-based projects
Metadata
Metadata
Assignees
Labels
No labels