Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MISP module requirement installation failed #6

Open
bhuvan2099 opened this issue May 2, 2019 · 3 comments
Open

MISP module requirement installation failed #6

bhuvan2099 opened this issue May 2, 2019 · 3 comments

Comments

@bhuvan2099
Copy link

Hello Team,

Im running the automated script on ubuntu 18.4 VM. Everyhting runs file but in the ned it gives me an error " MISP module requirement installation failed. Please check /var/log/misp_inst" failing the entire install.

Please check and suggest. Attaching the misp install logs and screenshot.

Regards
misp_install.log
Capture

@Uri-CyberWrite
Copy link

Uri-CyberWrite commented May 7, 2019

Same for me. This is the error from "/var/log/misp_install.log":

    pdftotext.cpp:3:10: fatal error: poppler/cpp/poppler-document.h: No such file or directory
     #include <poppler/cpp/poppler-document.h>
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

    ----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-wp2gt_j8/pdftotext/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close($

@Uri-CyberWrite
Copy link

Uri-CyberWrite commented May 7, 2019

Solved:

Please install the following prerequisites for the pdftotext module:

sudo apt-get install build-essential libpoppler-cpp-dev pkg-config python-dev

This solution is based on this thread:
https://stackoverflow.com/questions/45912641/unable-to-install-pdftotext-on-python-3-6-missing-poppler

@pcclones
Copy link

pcclones commented Feb 7, 2020

Same problem for me as well. Please help to fix it
misp_install.log

Running setup.py bdist_wheel for pydeep: started
Running setup.py bdist_wheel for pydeep: finished with status 'error'
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-oedmry_v/pydeep/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmp08_k4hivpip-wheel- --python-tag cp36:
running bdist_wheel
running build
running build_ext
building 'pydeep' extension
creating build
creating build/temp.linux-x86_64-3.6
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/include/ -I/usr/include/python3.6m -c pydeep.c -o build/temp.linux-x86_64-3.6/pydeep.o
pydeep.c:2:10: fatal error: fuzzy.h: No such file or directory
#include <fuzzy.h>
^~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants