[Bugs] [Bug 1599203] New: Compilation failure due to python-devel dependency than configure time failure

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 9 08:12:25 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1599203

            Bug ID: 1599203
           Summary: Compilation failure due to python-devel dependency
                    than configure time failure
           Product: GlusterFS
           Version: mainline
         Component: build
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: surs at redhat.com
                CC: bugs at gluster.org



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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list