Skip to content

Major problems installing MiCall-Lite on CentOS 7 #10

@ArtPoon

Description

@ArtPoon
  • installing Python3 requires configuring yum to use additional repository
  • Python3 is installed to /opt/rh/rh-python36/root/bin, so user has to reconfigure $PATH
  • setup.py script fails to find Python3 include file, which is located at /opt/rh/rh-python36/root/usr/include/python3.6m:
  micall/alignment/src/_gotoh2.c:1:20: fatal error: Python.h: No such file or directory
 #include <Python.h>
  • it also fails to find many other include files at this same path
  • GCC compiler in CentOS 7 complains about local variable declaration in for loops:
micall/alignment/src/_gotoh2.c: In function ‘map_ascii_to_alphabet’:
micall/alignment/src/_gotoh2.c:73:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
     for (int i = 0; i < 256; i++) {
     ^
micall/alignment/src/_gotoh2.c:73:5: note: use option -std=c99 or -std=gnu99 to compile your code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions