da667 / AutoMISP

automate your MISP installs
66 stars 46 forks source link

MISP module requirement installation failed #6

Open bhuvan2099 opened 5 years ago

bhuvan2099 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 4 years ago

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

        ^~~~~~~~~

compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1