Bug 1043548

Summary: Cannot compile glusterfs on OpenSuse 13.1
Product: [Community] GlusterFS Reporter: G K <gojkok>
Component: buildAssignee: Niels de Vos <ndevos>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.4.1CC: gluster-bugs, ndevos
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-29 09:41:07 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:

Description G K 2013-12-16 15:24:17 UTC
Description of problem: Compile GlusterFS on OpenSuse 13.1


Version-Release number of selected component (if applicable):
3.4.1

How reproducible:
./configure
make

Steps to Reproduce:
1.configure
2.make
3.

Actual results:
On make I get:
bd_map.c:26:21: fatal error: lvm2app.h: No such file or directory
 #include <lvm2app.h>
                     ^
compilation terminated.


Expected results:


Additional info:
I tried to find lvm2 dev for OpenSuse 13.1, but they are not available.

Comment 3 Niels de Vos 2014-08-29 09:41:07 UTC
http://review.gluster.org/6474 fixes it for 3.5.
http://review.gluster.org/6473 fixed this in the master branch.

You should be able to use any current 3.5 version, or newer. Please re-open this bug report if this is not sufficient for you.

Alternatively, you can run rpmbuild like this:

  $ rpmbuild -ta glusterfs-3.4.1.tar.gz --without bd