Re: building rpm off tla

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

 



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 -

[root@cnadm01 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 <mrz@xxxxxxxxxxx <mailto:mrz@xxxxxxxxxxx>>:

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


    _______________________________________________
    Gluster-devel mailing list
    Gluster-devel@xxxxxxxxxx <mailto:Gluster-devel@xxxxxxxxxx>
    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.








[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux