Bug 1599203
| Summary: | Compilation failure due to python-devel dependency than configure time failure | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Sachidananda Urs <surs> |
| Component: | build | Assignee: | bugs <bugs> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | mainline | CC: | atumball, bugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-6.x | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-20 05:22:08 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
glupy is now removed from the codebase. |
Description of problem: While building glusterfs from source the following error is seen: Making all in glupy Making all in src Making all in glupy make[6]: Nothing to be done for `all'. CC glupy.lo glupy.c:14:20: fatal error: Python.h: No such file or directory #include <Python.h> ^ compilation terminated. Configure output: ========== configure: WARNING: --------------------------------------------------------------------------------- cannot build glupy. python 2.x and python-devel/python-dev package are required. --------------------------------------------------------------------------------- glusterFS configure summary =========================== FUSE client : yes Infiniband verbs : no epoll IO multiplex : yes argp-standalone : no fusermount : yes readline : no georeplication : yes Linux-AIO : no Enable Debug : no Block Device xlator : no glupy : no glupy is configured as `no'. Still the compilation of glupy is tried. Version-Release number of selected component (if applicable): github master - 09/Jul/2018 How reproducible: Always Steps to Reproduce: 1. git clone glusterfs and install basic dependencies 2. ./configure 3. make Actual results: Compilation failure Expected results: ./configure should fail saying `python-devel' is needed and suggest to disable glupy by setting --glupy=no. Or glupy should be disabled by default and compilation must succeed. -sac