gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] building rpm off tla


From: Matt Paine
Subject: Re: [Gluster-devel] building rpm off tla
Date: Tue, 22 Jan 2008 14:13:06 +1000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)

Hi Matthew

A few things about the RPM build.....


rpmbuild takes a spec file, that controls the entire build process.

when you get a tla tree, run ./configure --disable-python, it does not change the spec file (IMHO that would ruin the portability of the spec file, plus i wouldn't really know how to modify the glusterfs.spec.in to reflect configure switches).

What I can do in this case is create a new switch to the rpmbuild command to dissable python. It means you would need to run the rpmbuild command similar to this....

rpmbuild -ta glusterfs.xxxx.tar.gz --without python


Would this be acceptable?



Matt






So I get this during the rpmbuild:

checking for python2.4/Python.h... no
configure: error: python >= 2.4 not found on the system. Please install python 2.4 and its development packages. You can disable the python bindings by passing --disable-python to configure.
error: Bad exit status from /var/tmp/rpm-tmp.39073 (%build)


which I did -

address@hidden build]# history | grep configure
988   ../configure  --disable-ibverbs  --disable-python

Anand Avati wrote:

Matthew,

http://www.gluster.org/docs/index.php/GlusterFS_Building_RPMs#Building_RPMs_from_TLA

Suggest you try with glusterfs--mainline--2.5--patch-628.

thanks,
avati

2008/1/22, matthew zeier <address@hidden <mailto:address@hidden>>:

    can someone shoot me pointers on building rpms off of whatever I
    grab from tla?


    _______________________________________________
    Gluster-devel mailing list
    address@hidden <mailto:address@hidden>
    http://lists.nongnu.org/mailman/listinfo/gluster-devel




--
If I traveled to the end of the rainbow
As Dame Fortune did intend,
Murphy would be there to tell me
The pot's at the other end.








reply via email to

[Prev in Thread] Current Thread [Next in Thread]