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

[BUG] Compilation terminated #4

Open
sathe06 opened this issue Jan 5, 2021 · 0 comments
Open

[BUG] Compilation terminated #4

sathe06 opened this issue Jan 5, 2021 · 0 comments

Comments

@sathe06
Copy link

sathe06 commented Jan 5, 2021

Describe the bug
While installing the detect-secrets, ibm_db.c:27:20: failed with fatal error

ibm_db.c:27:20: fatal error: Python.h: No such file or directory
     #include <Python.h>
                        ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    
    ----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-0n1c4q6z/ibm-db/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-r27jjlb4-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-0n1c4q6z/ibm-db/

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Last line of the attached log file'
  2. Click on 'Last line of the attached log file'
  3. Scroll down to 'Last line of the attached log file'
  4. Log file
    detect-secrets.log

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Impact

Additional context:

  • Operating environment - Red Hat Enterprise Linux Server release 7.6 (Maipo)
  • Host or local - Host
  • Operating System - Linux
  • Languages scanned etc;
  • Repo & build context links.
  • Log output
    detect-secrets.log
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

1 participant