Git Product home page Git Product logo

Comments (4)

swedishmike avatar swedishmike commented on August 28, 2024

@torsolaso - awesome, worked like a charm when I added those two lines. Will you submit a PR?

from x_old_misp_docker.

equ1n0x93 avatar equ1n0x93 commented on August 28, 2024

If I'm having the same issue, it is related to lxml python setup for cybox:

Searching for lxml>=2.2.3
Reading https://pypi.python.org/simple/lxml/
Best match: lxml 4.4.1
Downloading https://files.pythonhosted.org/packages/c4/43/3f1e7d742e2a7925be180b6af5e0f67d38de2f37560365ac1a0b9a04c015/lxml-4.4.1.tar.gz#sha256=c81cb40bff373ab7a7446d6bbca0190bccc5be3448b47b51d729e37799bb5692
Processing lxml-4.4.1.tar.gz
Writing /tmp/easy_install-9a7Zl7/lxml-4.4.1/setup.cfg
Running lxml-4.4.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-9a7Zl7/lxml-4.4.1/egg-dist-tmp-jazmDM
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
In file included from src/lxml/etree.c:692:0:
src/lxml/includes/etree_defs.h:14:31: fatal error: libxml/xmlversion.h: No such file or directory
compilation terminated.
/tmp/easy_install-9a7Zl7/lxml-4.4.1/temp/xmlXPathInitgop7jj.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
main (int argc, char **argv) {
^
Building lxml version 4.4.1.
Building without Cython.
Using build configuration of libxslt 1.1.28
ERROR: /usr/bin/xslt-config: 1: /usr/bin/xslt-config: xml2-config: not found

** make sure the development packages of libxml2 and libxslt are installed **

Compile failed: command 'x86_64-linux-gnu-gcc' failed with exit status 1
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
ERROR: Service 'web' failed to build: The command '/bin/sh -c python setup.py install' returned a non-zero code: 1

Resolved it by adding:
python-lxml python3-lxml to the apt-get setups, will open a PR.

from x_old_misp_docker.

Tukali avatar Tukali commented on August 28, 2024

Wow,I think this is very important. Will it be added to Dockerfile

from x_old_misp_docker.

challs avatar challs commented on August 28, 2024

I think this is already fixed and the issue can be closed.

from x_old_misp_docker.

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.