[Gluster-devel] building rpm off tla

Matt Paine matt at mattsoftware.com
Tue Jan 22 04:13:06 UTC 2008


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 at 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 at mozilla.com <mailto:mrz at mozilla.com>>:
>>
>>     can someone shoot me pointers on building rpms off of whatever I
>>     grab from tla?
>>
>>
>>     _______________________________________________
>>     Gluster-devel mailing list
>>     Gluster-devel at nongnu.org <mailto:Gluster-devel at nongnu.org>
>>     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.
> 
> 







More information about the Gluster-devel mailing list